:orphan:



.. _sphx_glr_auto_examples:

Gallery of Examples
===================

Test examples.



.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Trivial module to provide a value for plot_numpy_matplotlib.py">

.. only:: html

 .. figure:: /auto_examples/images/thumb/sphx_glr_local_module_thumb.png
     :alt: Trivial module to provide a value for plot_numpy_matplotlib.py

     :ref:`sphx_glr_auto_examples_local_module.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/local_module

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="The error is actually introduced by the resetter in conf.py. It mocks a &quot;zero-size reduction&quot; e...">

.. only:: html

 .. figure:: /auto_examples/images/thumb/sphx_glr_plot_scraper_broken_thumb.png
     :alt: Error during scraping

     :ref:`sphx_glr_auto_examples_plot_scraper_broken.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/plot_scraper_broken

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Make sure we can embed SVG graphics. Use title that has punctuation marks.">

.. only:: html

 .. figure:: /auto_examples/images/thumb/sphx_glr_plot_svg_thumb.svg
     :alt: "SVG":-`graphics_`

     :ref:`sphx_glr_auto_examples_plot_svg.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/plot_svg

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Use command line arguments to control example script.">

.. only:: html

 .. figure:: /auto_examples/images/thumb/sphx_glr_plot_command_line_args_thumb.png
     :alt: Command line arguments support

     :ref:`sphx_glr_auto_examples_plot_command_line_args.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/plot_command_line_args

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Logging test">

.. only:: html

 .. figure:: /auto_examples/images/thumb/sphx_glr_plot_log_thumb.png
     :alt: Logging test

     :ref:`sphx_glr_auto_examples_plot_log.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/plot_log

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This example pickles a function.">

.. only:: html

 .. figure:: /auto_examples/images/thumb/sphx_glr_plot_pickle_thumb.png
     :alt: Pickling

     :ref:`sphx_glr_auto_examples_plot_pickle.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/plot_pickle

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This example runs after plot_future_statements.py (alphabetical ordering within subsection) and...">

.. only:: html

 .. figure:: /auto_examples/images/thumb/sphx_glr_plot_second_future_imports_thumb.png
     :alt: Testing future statements across examples

     :ref:`sphx_glr_auto_examples_plot_second_future_imports.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/plot_second_future_imports

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This example tests that the alt text is generated correctly for matplotlib figures.">

.. only:: html

 .. figure:: /auto_examples/images/thumb/sphx_glr_plot_matplotlib_alt_thumb.png
     :alt: Matplotlib alt text

     :ref:`sphx_glr_auto_examples_plot_matplotlib_alt.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/plot_matplotlib_alt

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Show an animation, which should end up nicely embedded below.">

.. only:: html

 .. figure:: /auto_examples/images/thumb/sphx_glr_plot_animation_thumb.gif
     :alt: Animation support

     :ref:`sphx_glr_auto_examples_plot_animation.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/plot_animation

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Use sphinx_gallery to link to other packages, like numpy, matplotlib.colors, and matplotlib.pyp...">

.. only:: html

 .. figure:: /auto_examples/images/thumb/sphx_glr_plot_numpy_matplotlib_thumb.png
     :alt: Link to other packages

     :ref:`sphx_glr_auto_examples_plot_numpy_matplotlib.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/plot_numpy_matplotlib
.. raw:: html

    <div class="sphx-glr-clear"></div>



.. _sphx_glr_auto_examples_future:

:orphan:

Future examples
===============

Examples that use ``__future__``.



.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Test that __future__ imports inside sphinx_gallery modules does not affect the parsing of this ...">

.. only:: html

 .. figure:: /auto_examples/future/images/thumb/sphx_glr_plot_future_imports_broken_thumb.png
     :alt: Test without __future__ imports

     :ref:`sphx_glr_auto_examples_future_plot_future_imports_broken.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/future/plot_future_imports_broken

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This example tests that __future__ imports works across cells.">

.. only:: html

 .. figure:: /auto_examples/future/images/thumb/sphx_glr_plot_future_imports_thumb.png
     :alt: Test __future__ imports across cells

     :ref:`sphx_glr_auto_examples_future_plot_future_imports.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/future/plot_future_imports
.. raw:: html

    <div class="sphx-glr-clear"></div>



.. only :: html

 .. container:: sphx-glr-footer
    :class: sphx-glr-footer-gallery


  .. container:: sphx-glr-download sphx-glr-download-python

    :download:`Download all examples in Python source code: auto_examples_python.zip </auto_examples/auto_examples_python.zip>`



  .. container:: sphx-glr-download sphx-glr-download-jupyter

    :download:`Download all examples in Jupyter notebooks: auto_examples_jupyter.zip </auto_examples/auto_examples_jupyter.zip>`


.. only:: html

 .. rst-class:: sphx-glr-signature

    `Gallery generated by Sphinx-Gallery <https://sphinx-gallery.github.io>`_
