plot_vars()

Contents

plot_vars()#

liesel.model.viz.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 – Whether to show the plot in a new window. (default: True)

  • save_path – Path to save the plot. If not provided, the plot will not be saved. (default: None)

  • width – Width of the plot in inches. (default: 14)

  • height – Height of the plot in inches. (default: 10)

  • prog – Layout parameter. Available layouts: circo, dot (the default), fdp, neato, (default: 'dot') osage, patchwork, sfdp, twopi.