-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Fix the docs build. #12322
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
Fix the docs build. #12322
Conversation
On Linux, $DISPLAY is unset, then we can't run a GUI toolkit anyways, so don't warn about that in `show()`. Delete the Note in the docstring which was redundant with the Parameters entry.
Otherwise, wx.GetApp() returns a truthy value and the backend switching machinery believes that a wx event loop is running, leading to warnings about show() not doing anything with agg.
Is it possible to make |
We already got rid of qt and gtk docs for the same reason. I'd rather write a proper unified interactive backends doc at some point... |
Issue (which I dont' completely understand) noted in #12324: Merging to unbreak the build. |
@meeseeksdev backport to v3.0.x |
…322-on-v3.0.0-doc Backport PR #12322 on branch v3.0.0-doc (Fix the docs build.)
…322-on-v3.0.x Backport PR #12322 on branch v3.0.x (Fix the docs build.)
PR Summary
Don't mock wx in docs build.
Otherwise, wx.GetApp() returns a truthy value and the backend switching
machinery believes that a wx event loop is running, leading to warnings
about show() not doing anything with agg.
Builds on top of #12267. Will self-merge if passes.
PR Checklist