-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Cleanup visual_tests and disable browser opening #8018
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
Perhaps this script should be moved next to |
b975717
to
1114840
Compare
Done. |
1114840
to
b5a55a1
Compare
This makes the result a bit more reproducable and comparable.
Travis may or may not have a browser installed, but AppVeyor definitely does, so this saves a tiny bit of processing power per run.
b5a55a1
to
a4dcd54
Compare
Rebased to fix conflicts. |
@@ -11,7 +11,7 @@ | |||
""" | |||
|
|||
import matplotlib | |||
matplotlib.use('agg') | |||
matplotlib.use('agg') # noqa |
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.
What does the comment mean?
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.
Skip flake8/pep8 issues with this line. (This line causes a warning about imports not at the top of the file.)
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.
LGTM 👍
Intermixing HTML and code makes this file very difficult to read (for me, at least), so change it to use some simple template forms.
Also, don't automatically open the browser on CI because AppVeyor has one installed and it's a waste to open it.