

.. _sphx_glr_gallery_pyplots:

.. _pyplots_examples:

Module - pyplot
===============



.. raw:: html

    <div class="sphx-glr-thumbnails">

.. thumbnail-parent-div-open

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="~.axes.Axes.axvline and ~.axes.Axes.axhline draw infinite vertical / horizontal lines, at given...">

.. only:: html

  .. image:: /gallery/pyplots/images/thumb/sphx_glr_axline_thumb.png
    :alt:

  :ref:`sphx_glr_gallery_pyplots_axline.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Infinite lines</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="A simple plot where a list of numbers are plotted against their index, resulting in a straight ...">

.. only:: html

  .. image:: /gallery/pyplots/images/thumb/sphx_glr_pyplot_simple_thumb.png
    :alt:

  :ref:`sphx_glr_gallery_pyplots_pyplot_simple.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Simple plot</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Set the special text objects ~.pyplot.title, ~.pyplot.xlabel, and ~.pyplot.ylabel through the d...">

.. only:: html

  .. image:: /gallery/pyplots/images/thumb/sphx_glr_pyplot_text_thumb.png
    :alt:

  :ref:`sphx_glr_gallery_pyplots_pyplot_text.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Text and mathtext using pyplot</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Plot three datasets with a single call to ~matplotlib.pyplot.plot.">

.. only:: html

  .. image:: /gallery/pyplots/images/thumb/sphx_glr_pyplot_three_thumb.png
    :alt:

  :ref:`sphx_glr_gallery_pyplots_pyplot_three.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Multiple lines using pyplot</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Create a figure with two subplots using .pyplot.subplot.">

.. only:: html

  .. image:: /gallery/pyplots/images/thumb/sphx_glr_pyplot_two_subplots_thumb.png
    :alt:

  :ref:`sphx_glr_gallery_pyplots_pyplot_two_subplots.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Two subplots using pyplot</div>
    </div>


.. thumbnail-parent-div-close

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /gallery/pyplots/axline
   /gallery/pyplots/pyplot_simple
   /gallery/pyplots/pyplot_text
   /gallery/pyplots/pyplot_three
   /gallery/pyplots/pyplot_two_subplots

