-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Restore something like backend_driver #9284
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
Comments
A funny (dunno how silly) way to achieve this would be to hack into sphinx-gallery. You basically need to
Perhaps this can be done in the docs' conf.py when an environment variable is set... |
I have a slight preference for this to run without any of the docs requirements (as just building the docs covers 25% of the use case and likely 90% of the benefit). |
FWIW the following works for non-interactive backends (for interactive backends you have the additional problem of how to send it a signal to close it...):
Run with |
cough I tried to do this a while back ;) #8069 Wouldn't be surprised if it's easier dumping |
closed by #17226 |
It turns out that @cgohlke was using this to smoke test the windows wheels. We should provide an easy way to run all of the examples against the currently installed version of matplotlib and at least cycle through the Agg, svg, pdf, and one GUI backend.
Exact work:
tools
to exercise all of the examples and tutorials (this may have to deal with examples that callshow
, probably by turing onplt.ion()
and defensively callingplt.close('all')
)The text was updated successfully, but these errors were encountered: