set_rotation#

ScaleBar.set_rotation(ang=0)#

Set the absolute rotation angle of the first segment of the scalebar.

Note

This method sets the “absolute rotation angle” in display units, not the “azimuth angle” which can be set with ScaleBar.set_position().

Parameters:

ang (float) – The rotation angle.