set_position

Compass.set_position(pos, coords='data')

Set the position of the compass.

Parameters:
  • pos (tuple) – The (x, y) coordinates.

  • coords (str, optional) –

    Indicator how the coordinates are provided

    • ”data” : pos represents coordinates in the plot-crs

    • ”axis” : pos represents relative [0-1] coordinates with respect to the axis (e.g. (0, 0) = lower left corner, (1, 1) = upper right corner).

    The default is β€œdata”.