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
mep12 on print_stdout.py #4845
mep12 on print_stdout.py #4845
Conversation
@@ -1,13 +1,9 @@ | |||
#!/usr/bin/env python | |||
# -*- noplot -*- | |||
# print png to standard out |
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.
Can you leave in the last to lines. They explain what the example is supposed to do
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 2nd line tell us? Btw, I'm adding them back anyways, but just curious.
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.
The second line there is a Sphinx directive (Note: I might have my
terminology wrong) that tells the documentation builder to not bother
running this script to generate an output image, because it won't work. We
also use this directive for the interactive examples like the pong clone.
On Sat, Aug 1, 2015 at 11:08 PM, Eric Ma notifications@github.com wrote:
In examples/pylab_examples/print_stdout.py
#4845 (comment):@@ -1,13 +1,9 @@
-#!/usr/bin/env python
-# -- noplot --
-# print png to standard outWhat does the 2nd line tell us? Btw, I'm adding them back anyways, but
just curious.—
Reply to this email directly or view it on GitHub
https://github.com/matplotlib/matplotlib/pull/4845/files#r36039118.
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.
Sorry I actually meant the last two lines but the plot directive should stay too
Is the failure a usual "travis random failure"? It looks like so, but I'd like to double-check to be sure. |
Yes that is just a random failure. Thou not one of the usual ones. It failed because the network connection between the box and PyPi failed when pip installing dependencies |
Got it, thank @jenshnielsen! |
Anything else needed here too? |
Could you add back the line |
Ok, all done :) |
No description provided.