arviz_plots.PlotCollection.get_aes_kwargs#
- PlotCollection.get_aes_kwargs(aes, var_name, selection)[source]#
Get the aesthetic mappings for the given variable and selection as a dictionary.
- Parameters:
- aes
list
List of aesthetic keywords whose values should be retrieved. Values are taken from the
aes
attribute: var_name group, variables as the elements inaes
argument and selection coordinate/dimension subset.PlotCollection
considers “overlay” a special aesthetic keyword to indicate visual elements with potentially identical properties should be overlaid. Thus, if “overlay” is an element of theaes
argument, it is skipped, no value is attempted to be retrieved and it isn’t present as key in the returned output either.- var_name
str
- selection
dict
- aes
- Returns:
dict
Mapping of aesthetic keywords to the values corresponding to the provided var_name and selection.