You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug summary
In the documentation [1] it says that "figure_enter_event" generates a LocationEvent. However in the source code it just generates the base class Event.
Further investigation showed that some backends do not pass their coordinates when entering the figure. The tkagg backend (default) does not have figure_enter_event nor figure_leave_event.
Uh oh!
There was an error while loading. Please reload this page.
Bug report
Bug summary
In the documentation [1] it says that "figure_enter_event" generates a LocationEvent. However in the source code it just generates the base class Event.
Further investigation showed that some backends do not pass their coordinates when entering the figure. The tkagg backend (default) does not have figure_enter_event nor figure_leave_event.
[1] : https://matplotlib.org/users/event_handling.html
Code for reproduction
Actual outcome
Missing LocationEvent attributes.
Expected outcome
Expect LocationEvent attributes and the documentation to be consistent
Matplotlib version
print(matplotlib.get_backend())
):The text was updated successfully, but these errors were encountered: