arviz_plots.backend.legend

Contents

arviz_plots.backend.legend#

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

Interface to manually generated legends.

Parameters:
targetchart type
kwarg_listlist of dict

List of dictionaries that contain properties and their values for the miniatures in each entry of the legend.

label_listlist of str

List of labels of the entries in the legend.

titlestr, optional

Title of the legend.

artist_typestr, optional

Type of the artist that will be used for the legend miniature.

artist_kwargsmapping, optional

Keyword arguments passed to the miniatures artist.

**kwargsmapping, optional

Keyword arguments passed to the backend legend generating function