Model.plot_vars()

Model.plot_vars()#

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

Plots the variables of this model.

Wraps plot_vars().

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