Skip to content

pylot tutorial's codes are missing statements #2337

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

Closed
anshbansal opened this issue Aug 23, 2013 · 4 comments
Closed

pylot tutorial's codes are missing statements #2337

anshbansal opened this issue Aug 23, 2013 · 4 comments

Comments

@anshbansal
Copy link
Contributor

I was following the Pyplot tutorial at http://matplotlib.org/users/pyplot_tutorial.html and noticed that except the first code all other codes are missing the plt.show() command at the end. The same problem exists in the pdf version.

The mistake is easy to spot and rectify for the users but it is a mistake nonetheless and can bump new users.

@WeatherGod
Copy link
Member

Indeed, you are right (although the last one does have a show() statement as well). Don't know how that slipped our radar. Perhaps you would be interested in fixing it? The relevant file is matplotlib/doc/users/pyplot_tutorial.rst. You should actually be able to edit that right in github since it is a ReST file.

@anshbansal
Copy link
Contributor Author

I think you are kinda wrong about that. The source code is not in that file it is in different file. The .py files in matplotlib/doc/pyplots. I'll see if I can fix them.

@anshbansal
Copy link
Contributor Author

Can you tell me one thing? I haven't done editing on github. Do I need to add commits for each file edit?
http://stackoverflow.com/questions/17815895/can-i-edit-two-files-then-make-one-commit-using-github-web-based-editor

@mdboom
Copy link
Member

mdboom commented Aug 26, 2013

Closing this, as it is superceded by #2344.

@mdboom mdboom closed this as completed Aug 26, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants