eelbrain.plot._brain_object.Brain.plot_legend

Brain.plot_legend(self, *args, **kwargs)

Plot legend for parcellation

Parameters:
labels : dict (optional)

Alternative (text) label for (brain) labels.

h : ‘auto’ | scalar

Height of the figure in inches. If ‘auto’ (default), the height is automatically increased to fit all labels.

Returns:
legend : ColorList

Figure with legend for the parcellation.

See also

plot.brain.annot_legend
plot a legend without plotting the brain