Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Timer consistency across backends#29062
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Open
greglucas wants to merge13 commits intomatplotlib:mainChoose a base branch fromgreglucas:timer-consistency
base:main
Could not load branches
Branch not found:{{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline, and old review comments may become outdated.
+177 −64
Open
Changes fromall commits
Commits
Show all changes
13 commits Select commitHold shift + click to select a range
84e7e60
FIX: Add update capability to interval/singleshot timer properties
greglucasc04db6a
MNT/TST: Refactor test-interactive-timers to reduce test time
greglucasb54c829
FIX: Event loop timers should only run for the specified time
greglucas1ef70ca
FIX: Add single shot update capability to TimerWx
greglucas88f8b77
FIX: Only call timer updates when things change on the timer
greglucas018edd9
FIX: Avoid drift in Tk's repeating timer
greglucas459410f
TST: Add test for timer drift in interactive backends
greglucasebe66bc
TST: Add backend bases test
greglucasa5cd96d
FIX/ENH: macos: dispatch timer tasks asynchronously to the main loop
greglucasd1e52b0
TST: Add text to identify failing tests
greglucas577a0cf
FIX: macos should invalidate the previous timer when creating a new one
greglucas52a584d
TST: Add interactive timer tests
greglucas1affa9e
TST: Update some times for interactive timer test on CI
greglucasFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
22 changes: 12 additions & 10 deletionslib/matplotlib/backend_bases.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
30 changes: 28 additions & 2 deletionslib/matplotlib/backends/_backend_tk.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletionslib/matplotlib/backends/backend_wx.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
31 changes: 30 additions & 1 deletionlib/matplotlib/tests/test_backend_bases.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
95 changes: 64 additions & 31 deletionslib/matplotlib/tests/test_backends_interactive.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
59 changes: 39 additions & 20 deletionssrc/_macosx.m
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.