flamingpy.utils.viz.draw_EGraph_plotly¶
- flamingpy.utils.viz.draw_EGraph_plotly(egraph, color_nodes=False, color_edges=False, label='all', title=None, legend=False, show_axes=True, **kwargs)[source]¶
Draw the graph state represented by the EGraph with plotly.
NOTE: Plotly gives you a wide range of options for how and where to display your figures. Refer to the Plotly documentation for more information.
- Parameters
arguments (See draw_EGraph for general keyword) – matplotlib-specific arguments.
for (see keyword arguments below) – matplotlib-specific arguments.
- Keyword Arguments
showbackground (bool) – if True, shows the background of the graph. Default is False.
showspikes (bool) – if True, shows coordinate-lines when hovering over a node. Default is False.
showgrid (bool) – if True, shows the grid of the graph. Default is True.
width (int) – width of the graph. Default is 750.
height (int) – height of the graph. Default is 750.
- Returns
Plotly Express figure.
- Return type
figure