-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Fix loading user-defined icons for Qt plot window #22135
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This affects Tk as well, I think. |
Yes, here: matplotlib/lib/matplotlib/backends/_backend_tk.py Lines 647 to 649 in 80d4e23
|
I've copied the changes to the Tk backend in #22147 |
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.
I am also in favor of @QuLogic 's suggestion, but OK to merge either way.
dab05a6
to
1eb73ab
Compare
1eb73ab
to
eaaee4e
Compare
…135-on-v3.5.x Backport PR #22135 on branch v3.5.x (Fix loading user-defined icons for Qt plot window)
PR Summary
Closes #22131.
I'll refrain from writing a test for this because that would be quite cumbersome. One can manually test the correctness be deleting one of the
_large
icons. Then the plot window falls back to the low-res version of that icon.It's also unlike to break again, because the comment should make future authors aware that we have to have the fall back for user icons.