arviz_plots.backend.none.legend

Contents

arviz_plots.backend.none.legend#

arviz_plots.backend.none.legend(target, kwarg_list, label_list, title=None, artist_type='line', artist_kwargs=None, **kwargs)[source]#

Generate a legend on a figure given lists of labels and property kwargs.

Parameters:
targetplot object
kwarg_listsequence of mapping
label_listsequence of str
titlestr, optional
artist_type{“line”, “scatter”, “rectangle”}, default “line”
artist_kwargsmapping, optional

Passed to all visuals when generating legend miniatures.

**kwargs

Passed to backend legend generating function.