set_line_props

ScaleBar.set_line_props(update=True, **kwargs)

Set the style properties of the lines connecting the scale and the labels.

Parameters:

kwargs –

All kwargs are passed to the matpltlotlib.Collections.LineCollection that is used to draw the frame. The default is {β€œec”: β€œk”, β€œlw”: 1, β€œls”: β€œβ€“β€œ}

Possible values are:

  • ”edgecolor” (or β€œec”), β€œlinewidth” (or β€œlw”), β€œlinestyle” (or β€œls”) …

See also

set_scale_props

Set style properties of the scale.

set_patch_props

Set style properties of the scalebar frame.

set_label_props

Set style properties of the labels.