| [ Web Proxy ] |
| Viewing: https://matplotlib.org/devdocs/api/_as_gen/matplotlib.axes.Axes.get_cursor_data.html | [Back] [Original] |
Section Navigation
matplotlib.axesReturn the cursor data for a given event.
Note
This method is intended to be overridden by artist subclasses. As an end-user of Matplotlib you will most likely not call this method yourself.
Cursor data can be used by Artists to provide additional context information for a given event. The default implementation just returns None.
Subclasses can override the method and return arbitrary data. However,
when doing so, they must ensure that format_cursor_data can convert
the data to a string representation.
The only current use case is displaying the z-value of an AxesImage
in the status bar of a plot window, while moving the mouse.
MouseEventSee also
Copyright 20022012 John Hunter, Darren Dale, Eric Firing, Michael Droettboom and the Matplotlib development team; 20122026 The Matplotlib development team.
Created using Sphinx 9.1.0.
Built from v3.11.2-731-g2fb04d1a6.
Built with the PyData Sphinx Theme 0.18.0.
| Web Proxy Viewer | New URL | Original Page |