flamingpy.utils.viz.draw_EGraph_matplotlib¶
- flamingpy.utils.viz.draw_EGraph_matplotlib(egraph, color_nodes=False, color_edges=False, label=None, title=None, legend=False, show_axes=True, **kwargs)[source]¶
Draw the graph state represented by the EGraph.
- Parameters
arguments (See draw_EGraph for general keyword) – matplotlib-specific arguments.
for (see keyword arguments below) – matplotlib-specific arguments.
- Keyword Arguments
dimensions (tuple) –
Dimensions of the region that should be plotted. Should be of the form:
([xmin, xmax], [ymin, ymax], [zmin, zmax])
If None, sets the dimensions to the smallest rectangular space containing all the nodes.
- Returns
Matplotib Figure and Axes.
- Return type
tuple
source/api/flamingpy.utils.viz.draw_EGraph_matplotlib
Download Python script
Download Notebook
View on GitHub