.. _pyplots-pyplot_formatstr: 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 :ref:`how-to-search-examples`)