Model.plot_vars()

Model.plot_vars()#

Model.plot_vars(show=True, save_path=None, width=14, height=10, prog='dot', legend=True)[source]#

Plots the variables of this model.

Wraps plot_vars().

Parameters:
  • 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.

  • legend (bool, default: True) – Whether to draw the legend.

See also

Var.plot_vars

Plots the variables of the Liesel sub-model that terminates in this variable.

Var.plot_nodes

Plots the nodes of the Liesel sub-model that terminates in this variable.

Model.plot_vars

Plots the variables of a Liesel model.

Model.plot_nodes

Plots the nodes of a Liesel model.

viz.plot_vars

Plots the variables of a Liesel model.

viz.plot_nodes

Plots the nodes of a Liesel model.