set_n

ScaleBar.set_n(n=None)

Set number of segments to use for the scalebar.

Parameters:

n (int, optional) – The number of segments. The default is None.

See also

ScaleBar.set_scale

Set the length of the scalebar segments.