apply_preset#
- ScaleBar.apply_preset(preset)#
Apply a style-preset to the Scalebar.
Currently available presets are:
“bw” : a black and white scalebar with no background color
“bw_2” : a black and white scalebar with white background
“kr” : a black and red scalebar with semi-transparent white background
- Parameters:
preset (str) – The name of the preset.