visualization.draw_graph_markers

visualization.draw_graph_markers(
    psi2tree=None,
    graph=None,
    geometry=None,
    *,
    edge_color='y-',
    node_color='y*',
    lw=1,
)

Put markers of the Reeb graph of given data into the geometry domain. It is useful to call this together with other drawing functions.

Parameters

Name Type Description Default
psi2tree psiclone.psi2tree.Psi2tree A computed Psi2tree object. None
graph psiclone.data.LeveledGraph A LeveledGraph object (intended to be a Reeb graph). Only used when psi2tree is not an instance of Psi2tree. None
geometry psiclone.data.AbstractGraph A geometry object that is compatible with psiclone.data.Geometry. Only used when psi2tree is not an instance of Psi2tree. None
edge_color str, optional (default: 'y-') An edge color passed to matplotlib.pyplot.plot. 'y-'
node_color str, optional (default: 'y*') A node color passed to matplotlib.pyplot.plot. 'y*'
lw float, optional (default: 1) An edge line width passed to matplotlib.pyplot.plot. 1