Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
FIX: use process_event in dpi changes on macosx backend#23925
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
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Avoids resize_event deprecation notices.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
This works on my machine. Thanks!
Note I didn't test on alternate dpi displays...
I did swap the figure between different DPI monitors and it worked as expected without deprecation warnings. |
Also verified it worked locally. Thank you for the very fast turn around@greglucas ! |
…925-on-v3.6.xBackport PR#23925 on branch v3.6.x (FIX: use process_event in dpi changes on macosx backend)
Emir-ATPC commentedSep 28, 2022
Hello I don't understand how to use this fix to avoid the error |
PR Summary
Avoids
resize_event()
deprecation notices that stem from switching dpis or starting with HiDPI. Likely missed while rebasing PR#16931, I tried looking for other potentially deprecated*_event()
s hidden in the macos code and I didn't find any at a cursory glance.closes#23921
PR Checklist
Tests and Styling
pytest
passes).flake8-docstrings
and runflake8 --docstring-convention=all
).Documentation
doc/users/next_whats_new/
(follow instructions in README.rst there).doc/api/next_api_changes/
(follow instructions in README.rst there).