onstove.ScaleBar.contains#

ScaleBar.contains(mouseevent)#

Delegate the mouse event contains-check to the children.

As a container, the .OffsetBox does not respond itself to mouseevents.

Parameters:
mouseevent~matplotlib.backend_bases.MouseEvent
Returns:
containsbool

Whether any values are within the radius.

detailsdict

An artist-specific dictionary of details of the event context, such as which points are contained in the pick radius. See the individual Artist subclasses for details.

See also

Artist.contains