-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Test whether it is viable to not close figures on backend switch. #15918
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
283017d
to
48e5959
Compare
Not quite sure what I'm supposed to test, but the following interactive session popped up two figures for me...
|
If I do
in a notebook however, I get:
|
Does running test_backends_interactive pass locally? |
|
... not sure why the qt5cairo test skipped as that is installed. |
Thanks, so now we (I) need to figure out why the same test is failing on travis... |
Since this Pull Request has not been updated in 60 days, it has been marked "inactive." This does not mean that it will be closed, though it may be moved to a "Draft" state. This helps maintainers prioritize their reviewing efforts. You can pick the PR back up anytime - please ping us if you need a review or guidance to move the PR forward! If you do not plan on continuing the work, please let us know so that we can either find someone to take the PR over, or close it. |
48e5959
to
c8ca4fc
Compare
df8f904
to
bb05fb5
Compare
@anntzer you rebased this, but its not clear what state this is in. I've moved to draft but feel free to move back and tell us what you need. |
This still needs some work. |
bb05fb5
to
7c56ecf
Compare
DO NOT MERGE. The desired change would need a deprecation period, but this is just to check on CI that the end state works. Do not `close("all")` figures on (allowable) backend switches, e.g. between qt5agg and qt5cairo, or qt5agg and notebook. The NonGuiException message had to change, as the backend returned by get_backend() may no longer match the actual canvas class.
7c56ecf
to
1048c67
Compare
DO NOT MERGE. The desired change would need a deprecation period, but
this is just to check on CI that the end state works.
Do not
close("all")
figures on (allowable) backend switches, e.g.between qt5agg and qt5cairo, or qt5agg and notebook.
The NonGuiException message had to change, as the backend returned by
get_backend() may no longer match the actual canvas class.
xref #14471, #15913.
edit: looks like this is failing only on OSX + travis (but passing on OSX + azure...). Can anyone with access to a mac give it a look?
PR Summary
PR Checklist