onstove.ScaleBar.get_offset#

ScaleBar.get_offset(bbox, renderer)#

Return the offset as a tuple (x, y).

The extent parameters have to be provided to handle the case where the offset is dynamically determined by a callable (see ~.OffsetBox.set_offset).

Parameters:
bbox.Bbox
renderer.RendererBase subclass