-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Separate plots using #### in xkcd.py #10478
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
Separate plots using full line of '#' characters in xkcd.py for Sphinx-gallery rendering per issue matplotlib#8922
examples/showcase/xkcd.py
Outdated
@@ -9,6 +9,8 @@ | |||
import numpy as np | |||
|
|||
with plt.xkcd(): | |||
|
|||
############################################################################### |
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 wonder if the unindented comment inside the with
block is causing the error on CircleCI.
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.
Not exactly; the ###
splits up the file, so the with
above is empty. This ###
needs to go above the with
context, and the one below would need a new with
context as well.
Now the Travis build is failing because of pep8 issues:
|
Backport PR #10478 on branch v2.2.x
PR Summary
Separate plots using full line of
#
characters in matplotlib/examples/showcase/xkcd.py for Sphinx-gallery rendering per issue #8922PR Checklist