set_scale

ColorBar.set_scale(log=False)

Set the scale of the colorbar histogram. (e.g. logarithmic or linear)

Parameters:

log (bool, optional) – If True, use a logarithmic scale for the histogram. The default is False.