arviz_plots.PlotCollection.viz

arviz_plots.PlotCollection.viz#

property PlotCollection.viz#

Information about the visual elements in the plot as a DataTree.

If relevant, the variable names in the input Dataset are set as groups, otherwise everything is stored in the home group. The viz DataTree always contains the following leaf variables:

  • chart (always on the home group): Scalar object containing the highest level plotting structure. i.e. the matplotlib figure or the bokeh layout

  • plot: Plot objects in this chart. Generally, these are the target where artists are added, although it is possible to have artists targetting the chart itself.

  • row: Integer row indicator

  • col: Integer column indicator

Plus all the artists that have been added to the plot and stored. See arviz_plots.PlotCollection.map for more details.