You are reading an old version of the documentation (v2.0.0). For the latest version see https://matplotlib.org/stable/
matplotlib

Travis-CI:

This Page

pyplots example code: pyplot_simple.pyΒΆ

[source code]

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

Keywords: python, matplotlib, pylab, example, codex (see Search examples)