.. _pyplots-pyplot_simple:

pyplots example code: pyplot_simple.py
======================================

[`source code <pyplot_simple.py>`_]

::

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

Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)