set_pickable#
- ScaleBar.set_pickable(q)#
Set if the scalebar is interactive (True) or not (False).
If True, the following interactions can be performed:
LEFT-CLICK on the scalebar to make the scalebar interactive
drag the scalebar with the <LEFT MOUSE BUTTON>
use the SCROLL WHEEL to adjust the (auto-)scale of the scalebar
use < control > + SCROLL WHEEL to adjust the size of the labels
Keyboard-shortcuts (only active if a scalebar is selected):
use < + > and < - > to rotate the scalebar
use the < arrow-keys > to increase the frame size
use < alt > + < arrow-keys > to decrease the frame size
use < control > + < left > and < right > keys to adjust the label-offset
use < control > + < up > and < down > keys to rotate the labels
use < delete > to remove the scalebar from the plot
use the < escape > to exit editing the scalebar
- Parameters:
q (bool) – Indicator if the scalebar is interactive (True) or not (False).