plot_vars()#
- liesel.model.plot_vars(model, show=True, save_path=None, width=14, height=10, prog='dot')[source]#
Plots the variables of a Liesel model.
- Parameters:
model – The model to be plotted.
show (
bool) – Whether to show the plot in a new window. (default:True)save_path (
str|None|IO) – Path to save the plot. If not provided, the plot will not be saved. (default:None)width (
int) – Width of the plot in inches. (default:14)height (
int) – Height of the plot in inches. (default:10)prog (
Literal['dot','circo','fdp','neato','osage','patchwork','sfdp','twopi']) – Layout parameter. Available layouts: circo, dot (the default), fdp, neato, osage, patchwork, sfdp, twopi. (default:'dot')
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.