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.