Skip to content
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]: API interface overview pylab incorrect import statement: from matplotlib.pyplot import * #27461

Closed
mgjf opened this issue Dec 7, 2023 · 2 comments · Fixed by #27481
Closed
Milestone

Comments

@mgjf
Copy link

mgjf commented Dec 7, 2023

Documentation Link

https://matplotlib.org/stable/users/explain/figure/api_interfaces.html#appendix-pylab-interface

Problem

In the description of the obsolete Pylab interface in the Matplotlib API overview,
https://matplotlib.org/stable/users/explain/figure/api_interfaces.html#appendix-pylab-interface
the Pylab import statement is incorrectly given as from matplotlib.pyplot import *. This should be pylab instead of pyplot.

Suggested improvement

Replace by correct statement from matplotlib.pylab import *

@timhoffm
Copy link
Member

timhoffm commented Dec 7, 2023

Essentially, the description should be like or point to https://matplotlib.org/stable/api/pylab.html.

@shriyakalakata
Copy link
Contributor

I would like to work on this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants