Managers for facetting 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 facetting and aesthetic mapping in our chart to prevent duplication and ensure coherence between the different functions.
Object creation#
|
Low level base class for plotting with xarray Datasets. |
|
Instatiate a PlotCollection and generate a plot grid iterating over rows and columns. |
|
Instatiate a PlotCollection and generate a plot grid iterating over subsets and wrapping. |
Plotting#
|
Add a legend for the given artist/aesthetic to the plot. |
|
Apply the given plotting function to all plots with the corresponding aesthetics. |
|
Build a generator to loop over all plots in the PlotCollection. |
Call the backend function to show this chart. |
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 always loop over when using this PlotCollection. |
|
Dataset to be used as data for plotting. |
Facetting 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 an artist in the |
|
Get the |
|
Get the target that corresponds to the given variable and selection. |