eelbrain.plot.Topomap.plot_colorbar
- Topomap.plot_colorbar(label=True, label_position=None, label_rotation=None, **kwargs)
Plot a colorbar corresponding to the displayed data
- Parameters:
label (bool | str) – Label for the x-axis (default is based on the data).
label_position (Literal['left', 'right', 'top', 'bottom']) – Position of the axis label. Valid values depend on orientation.
label_rotation (float) – Angle of the label in degrees (For horizontal colorbars, the default is 0; for vertical colorbars, the default is 0 for labels of 3 characters and shorter, and 90 for longer labels).
... – More parameters for
plot.ColorBar
.
- Returns:
colorbar – ColorBar plot object.
- Return type: