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
aesattribute: groups as the elements inaesargument, variable var_name argument if present, otherwise “mapping” or “neutral_element” and selection coordinate/dimension subset.PlotCollectionconsiders aesthetics starting with “overlay” a special aesthetic keyword to indicate visual elements with potentially identical properties should be overlaid. Thus, if “overlay” or “overlay_xyz” are an element of theaesargument, 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:
dictMapping of aesthetic keywords to the values corresponding to the provided var_name and selection.
See also