You are reading an old version of the documentation (v2.1.0). For the latest version see https://matplotlib.org/stable/gallery/pyplots/pyplot_simple.html
matplotlib
Fork me on GitHub


Travis-CI:

Related Topics

This Page

Pyplot SimpleΒΆ

../../_images/sphx_glr_pyplot_simple_001.png
import matplotlib.pyplot as plt
plt.plot([1,2,3,4])
plt.ylabel('some numbers')
plt.show()

Total running time of the script: ( 0 minutes 0.018 seconds)

Gallery generated by Sphinx-Gallery