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
DOC : top_level doc-string clean up #3228
Conversation
tacaswell
commented
Jul 12, 2014
- remove import * examples
- remove pylab
- remove import * examples - remove pylab
Tagging this as critical as it is doc that will go to the binary builders, not just sphinx inputs. |
To include numpy functions too, use:: | ||
|
||
from pylab import * | ||
from matplotlib import pyplot as plt |
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 think the convention is import matplotlib.pyplot as plt
(I prefer from matplotlib import pyplot as plt, but for the sake of consistency, we should use the same everywhere).
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.
Ditto to Nelle. I wish the matplotlib.pyplot
convention wasn't adopted, but it was...
This is an example of the PEP8 being flaky. |
I think the failed travis build is a false positive, but I can't seem to confirm this. |
I looked at the line it is complaining about and it is a very short comment line. It passed on 3.4 in the first test without any problems. Pretty sure we can disregarde that failure. |
DOC : top_level doc-string clean up