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

Travis-CI:

This Page

pyplots example code: pyplot_formatstr.pyΒΆ

[source code]

import matplotlib.pyplot as plt
plt.plot([1,2,3,4], [1,4,9,16], 'ro')
plt.axis([0, 6, 0, 20])
plt.show()

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