arviz_plots.PlotCollection.get_aes_kwargs

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:
aeslist

List of aesthetic keywords whose values should be retrieved. Values are taken from the aes attribute: var_name group, variables as the elements in aes 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 the aes argument, it is skipped, no value is attempted to be retrieved and it isn’t present as key in the returned output either.

var_namestr
selectiondict
Returns:
dict

Mapping of aesthetic keywords to the values corresponding to the provided var_name and selection.