eelbrain.plot._brain_object.Brain.plot_legend

Brain.plot_legend(*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 – Figure with legend for the parcellation.

Return type:

ColorList

See also

plot.brain.annot_legend

plot a legend without plotting the brain