| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Keeping around lastevent can delay garbage collection of a torn-down axes, and can also keep around an actual GUI event object (guiEvent) associated with a long-torn down widget, which can be problematic for some GUI toolkits. Instead, only keep track of the last inaxes attribute. Unfortunately there are no tests for axes_enter_event/axes_leave_event, but this can be manually tested by running the event_handling/figure_axes_enter_leave.py example.
| Back | FazBrowse Home | New Git URL |
Keeping around lastevent can delay garbage collection of a torn-down axes, and can also keep around an actual GUI event object (guiEvent) associated with a long-torn down widget, which can be problematic for some GUI toolkits.
Instead, only keep track of the last inaxes attribute.
Unfortunately there are no tests for axes_enter_event/axes_leave_event, but this can be manually tested by running the
event_handling/figure_axes_enter_leave.py example.
See #24820, #22211 (comment).
PR Summary
PR Checklist
Documentation and Tests
Release Notes