Managers for faceting and aesthetics mapping#
The classes in this module lay at the core of the library,
and are consequently available at the arviz_plots top level namespace.
They abstract all information regarding faceting and aesthetic mapping in our figure to prevent duplication and ensure coherence between the different functions.
PlotCollection#
Object creation#
  | 
Low level base class for plotting with xarray Datasets.  | 
  | 
Instantiate a PlotCollection and generate a plot grid iterating over rows and columns.  | 
  | 
Instantiate a PlotCollection and generate a grid iterating over subsets and wrapping.  | 
Plotting#
  | 
Add a legend for the given visual/aesthetic to the plot.  | 
  | 
Apply the given plotting function to all plots with the corresponding aesthetics.  | 
Attributes#
Information about aesthetic mapping as a DataTree.  | 
|
Information about the visual elements in the plot as a DataTree.  | 
|
Return all aesthetics with a mapping defined as a set.  | 
|
Dimensions over which one should loop for facetting when using this PlotCollection.  | 
|
Dataset to be used as data for plotting.  | 
Faceting and aesthetics mapping#
  | 
Generate the aesthetic mappings.  | 
  | 
Get the values of the provided aes_key for all variables as a Dataset.  | 
  | 
Get the aesthetic mappings for the given variable and selection as a dictionary.  | 
  | 
Update list of aesthetics after indicating ignores and extra subsets.  | 
Update the values of aes_key with those in the provided Dataset.  | 
Other#
  | 
Allocate a visual in the   | 
  | 
Get element from   | 
  | 
Get the target that corresponds to the given variable and selection.  | 
Call the backend function to show this figure.  | 
|
  | 
Call the backend function to save this figure.  | 
PlotMatrix#
Object creation#
  | 
Low level base class for pairwise matrix arranges of plots.  | 
Plotting#
  | 
Apply the given plotting function along the diagonal with the corresponding aesthetics.  | 
  | 
Apply the given plotting function to all plots with the corresponding aesthetics.  | 
  | 
Call   | 
  | 
Call   | 
  | 
Apply the given plotting function along the row with the corresponding aesthetics.  | 
  | 
Apply the given plotting function along the column with the corresponding aesthetics.  | 
Attributes#
Information about aesthetic mapping as a DataTree.  | 
|
Information about the visual elements in the plot as a DataTree.  | 
|
Return all aesthetics with a mapping defined as a set.  | 
|
Facetting dimensions.  | 
|
Dataset to be used as data for plotting.  |