set_scale_props#
- ScaleBar.set_scale_props(width=None, colors=None, **kwargs)#
Set the style properties of the scale.
- Parameters:
width (float, optional) – The width of the scalebar (in ordinary matplotlib linewidth units). The default is 5.
colors (tuple, optional) – A sequence of colors that will be repeated to color the individual line-fragments of the scalebar. (you can provide more than 2 colors!) The default is (“k”, “w”).
See also
ScaleBar.set_scale
Set a fixed length of the scalebar segments.
ScaleBar.set_n
Set the number of segments to use.
ScaleBar.set_patch_props
Set style properties of the scalebar frame.
ScaleBar.set_label_props
Set style properties of the labels.
ScaleBar.set_line_props
Set style of the lines between scalebar and labels.