eelbrain.plot.TopoButterfly.plot_colorbar

TopoButterfly.plot_colorbar(label=True, label_position=None, label_rotation=None, clipmin=None, clipmax=None, orientation='horizontal', **kwargs)

Plot a colorbar corresponding to the displayed data

Parameters
  • label (Union[bool, str]) – Label for the x-axis (default is based on the data).

  • label_position (Optional[Literal[‘left’, ‘right’, ‘top’, ‘bottom’]]) – Position of the axis label. Valid values depend on orientation.

  • label_rotation (Optional[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).

  • clipmin (Optional[float]) – Clip the color-bar below this value.

  • clipmax (Optional[float]) – Clip the color-bar above this value.

  • orientation (Literal[‘horizontal’, ‘vertical’]) – Orientation of the bar (default is horizontal).

  • ... – More parameters for plot.ColorBar.

Returns

colorbar – ColorBar plot object.

Return type

plot.ColorBar