VinecopBase.plot
- VinecopBase.plot(tree=None, add_edge_labels=True, layout='graphviz', vars_names=None)
Plot the vine tree structure with networkx.
Draws one panel per requested tree from
structure, mirroringpyvinecopulib.core.Vinecop.plot().- Parameters:
- treelist of int, or None, optional
Tree indices to plot; all trees when
None.- add_edge_labelsbool, default=True
Annotate edges with their conditioned / conditioning sets.
- layoutstr, default=”graphviz”
"graphviz"(needs pydot + graphviz) or"spring_layout".- vars_nameslist of str, or None, optional
Variable names; the integer indices are used when
None.
- Returns:
- None
The figure is drawn with matplotlib.