arviz_plots.PlotCollection.update_aes_from_dataset#
- PlotCollection.update_aes_from_dataset(aes_key, dataset)[source]#
Update the values of aes_key with those in the provided Dataset.
- Parameters:
- aes_key
str
Aesthetic mapping whose values should be updated or added.
aes
will contain aes_key as a leaf for all its groups, with the values provided.- dataset
xarray.Dataset
Dataset containing the aes_key values for each data variable. The data variables of the Dataset must match the groups of
aes
- aes_key