Compass

class eomaps.compass.Compass(m)

Base class for EOmaps compass (or North-arrow) objects.

Note

To add a new compass (or north-arrow) to a map, see Maps.add_compass.

Methods

get_position([coords])

Return the current position of the compass.

get_scale()

Return the current size scale-factor of the compass.

remove()

Remove the compass from the map.

set_ignore_invalid_angles(val)

Set how to deal with invalid rotation-angles.

set_patch([facecolor, edgecolor, linewidth])

Set the style of the background patch.

set_pickable(b)

Set if the compass can be picked with the mouse or not.

set_position(pos[, coords])

Set the position of the compass.

set_scale(scale)

Set the size scale-factor of the compass.