eelbrain.plot.UTS.plot_legend
- UTS.plot_legend(loc='fig', labels=None, **kwargs)
Plot the legend (or remove it from the figure).
- Parameters:
- Returns:
legend_figure – If loc==’fig’ the Figure, otherwise None.
- Return type:
None | legend
Notes
legend content can be modified through the figure’s
legend_handlesandlegend_labelsattributes.Possible values for the
locargument:False:Make the current legend invisible
'fig':Plot the legend in a new figure
'draggable':The legend can be dragged to the desired position with the mouse pointer.
- str | int | (float, float):
Matplotlib
legend()position argument.
).