

.. _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="A simple plot where a list of numbers are plotted against their index, resulting in a straight line. Use a format string (here, &#x27;o-r&#x27;) to set the markers (circles), linestyle (solid line) and color (red).">

.. 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 title, xlabel, and ylabel through the dedicated pyplot functions.  Additional text objects can be placed in the Axes using text.">

.. 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 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/pyplot_simple
   /gallery/pyplots/pyplot_text
   /gallery/pyplots/pyplot_three
   /gallery/pyplots/pyplot_two_subplots

