Var.plot()#
- Var.plot(show=True, save_path=None, width=14, height=10, prog='dot', verbose=False, legend=True)[source]#
Plots the variables of the Liesel sub-model that terminates in this variable.
Wraps
plot_vars(). Alias forVar.plot_vars().- Parameters:
verbose (
bool, default:False) – IfTrue, logs a message if unnamed variables or nodes are temporarily named for plotting.show (
bool, default:True) – Whether to show the plot in a new window.save_path (
str|None|IO, default:None) – Path to save the plot. If not provided, the plot will not be saved.width (
int, default:14) – Width of the plot in inches.height (
int, default:10) – Height of the plot in inches.prog (
Literal['dot','circo','fdp','neato','osage','patchwork','sfdp','twopi'], default:'dot') – Layout parameter. Available layouts: circo, dot (the default), fdp, neato, osage, patchwork, sfdp, twopi.verbose – If
True, the message that will be logged if unnamed nodes are automatically named for plotting contains a list of the automatically assigned names.legend (
bool, default:True) – Whether to draw the legend.
See also
Var.plot_varsPlots the variables of the Liesel sub-model that terminates in this variable.
Var.plot_nodesPlots the nodes of the Liesel sub-model that terminates in this variable.
Model.plot_varsPlots the variables of a Liesel model.
Model.plot_nodesPlots the nodes of a Liesel model.
viz.plot_varsPlots the variables of a Liesel model.
viz.plot_nodesPlots the nodes of a Liesel model.
- Return type: