set_scale#
- ScaleBar.set_scale(scale=None)#
Set the length of a segment of the scalebar in meters.
- Parameters:
scale (float, optional) – The length (in meters) of the individual line-segments. If None, the scale will be determined automatically based on the currently visible plot-extent. The default is None.
See also
ScaleBar.set_n
Set the number of segments to use.