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

Related Topics

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()

Keywords: matplotlib code example, codex, python plot, pyplot Gallery generated by Sphinx-Gallery