set_hist_size

ColorBar.set_hist_size(size=None)

Set the size of the histogram (relative to the total colorbar size)

Parameters:

size (float) –

The fraction of the colorbar occupied by the histogram.

  • 0 = no histogram

  • 0.5 = 50% colorbar, 50% histogram

  • 1 = no colorbar, only histogram).

The default is None.