-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
FIX: callback for subfigure uses parent #22806
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
Does this really help #22804 (other than hiding the AttributeError)? I don't think dpi_changed will be correctly called on the subfigure, right? |
I'm not sure. I thought this just updated the artist if the dpi changes. That can be handled at the parent level I think. However I didn't too carefully trace this through and the original issue wasn't clear on how big the arrow should be etc. Testing on the fly dpi changes is not easy I think. |
Ah, sorry I misread. Yes this looks good (even if we may want to deprecate this later). |
@meeseeksdev backport to v3.5.x |
Could not push to auto-backport-of-pr-22806-on-v3.5.x due to error, aborting. |
@meeseeksdev backport to v3.5.x |
Could not push to auto-backport-of-pr-22806-on-v3.5.x due to error, aborting. |
meeseeksdev backport to v3.5.x |
…806-on-v3.5.x Backport PR #22806 on branch v3.5.x (FIX: callback for subfigure uses parent)
PR Summary
Closes #22804
Not clear that SubFigures shouldn't get their own callback - @anntzer and @greglucas better understand how these work or what the right scope should be.
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).