:orphan:

:orphan:

Examples
========

Scripts that run end to end. Each page below is generated from the script it
shows, executed at build time, so the figures are the ones the code actually
produces. Every example can be downloaded as a script or as a notebook from the
foot of its page.


.. raw:: html

  <div id='sg-tag-list' class='sphx-glr-tag-list'></div>


.. raw:: html

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

.. thumbnail-parent-div-open

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="An introductory example: a Matplotlib figure, some narrative between the code blocks, and mathematics rendered with MathJax.">

.. only:: html

  .. image:: /gallery/images/thumb/sphx_glr_basic_thumb.png
    :alt:

  :doc:`/gallery/basic`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Plotting a sine</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="An example that draws more than once has to say which figure represents it in the gallery grid. Setting sphinx_gallery_thumbnail_number as a comment anywhere below the docstring picks a figure by the order it was drawn in; this example picks the second one.">

.. only:: html

  .. image:: /gallery/images/thumb/sphx_glr_thumbnail_thumb.png
    :alt:

  :doc:`/gallery/thumbnail`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Choosing the thumbnail of an example</div>
    </div>


.. thumbnail-parent-div-close

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /gallery/basic
   /gallery/thumbnail

