:orphan:
.. _tutorials:
Tutorials
=========
This page contains more in-depth guides for using Matplotlib.
It is broken up into beginner, intermediate, and advanced sections,
as well as sections covering specific topics.
For shorter examples, see our `examples page <../gallery/index.html>`_.
You can also find `external resources <../resources/index.html>`_ and
a `FAQ <../faq/index.html>`_ in our `user guide <../contents.html>`_.
.. raw:: html
.. raw:: html
Introductory
-------------
These tutorials cover the basics of creating visualizations with
Matplotlib, as well as some best-practices in using the package
effectively.
.. raw:: html
.. raw:: html
.. only:: html
.. image:: /tutorials/introductory/images/thumb/sphx_glr_pyplot_thumb.png
:alt: Pyplot tutorial
:ref:`sphx_glr_tutorials_introductory_pyplot.py`
.. raw:: html
Pyplot tutorial
.. raw:: html
.. only:: html
.. image:: /tutorials/introductory/images/thumb/sphx_glr_images_thumb.png
:alt: Image tutorial
:ref:`sphx_glr_tutorials_introductory_images.py`
.. raw:: html
Image tutorial
.. raw:: html
.. only:: html
.. image:: /tutorials/introductory/images/thumb/sphx_glr_lifecycle_thumb.png
:alt: The Lifecycle of a Plot
:ref:`sphx_glr_tutorials_introductory_lifecycle.py`
.. raw:: html
The Lifecycle of a Plot
.. raw:: html
.. only:: html
.. image:: /tutorials/introductory/images/thumb/sphx_glr_customizing_thumb.png
:alt: Customizing Matplotlib with style sheets and rcParams
:ref:`sphx_glr_tutorials_introductory_customizing.py`
.. raw:: html
Customizing Matplotlib with style sheets and rcParams
.. raw:: html
.. only:: html
.. image:: /tutorials/introductory/images/thumb/sphx_glr_quick_start_thumb.png
:alt: Quick start guide
:ref:`sphx_glr_tutorials_introductory_quick_start.py`
.. raw:: html
Quick start guide
.. raw:: html
Intermediate
------------
These tutorials cover some of the more complicated classes and functions
in Matplotlib. They can be useful for particular custom and complex
visualizations.
.. raw:: html
.. raw:: html
.. only:: html
.. image:: /tutorials/intermediate/images/thumb/sphx_glr_artists_thumb.png
:alt: Artist tutorial
:ref:`sphx_glr_tutorials_intermediate_artists.py`
.. raw:: html
Artist tutorial
.. raw:: html
.. only:: html
.. image:: /tutorials/intermediate/images/thumb/sphx_glr_legend_guide_thumb.png
:alt: Legend guide
:ref:`sphx_glr_tutorials_intermediate_legend_guide.py`
.. raw:: html
Legend guide
.. raw:: html
.. only:: html
.. image:: /tutorials/intermediate/images/thumb/sphx_glr_color_cycle_thumb.png
:alt: Styling with cycler
:ref:`sphx_glr_tutorials_intermediate_color_cycle.py`
.. raw:: html
Styling with cycler
.. raw:: html
.. only:: html
.. image:: /tutorials/intermediate/images/thumb/sphx_glr_constrainedlayout_guide_thumb.png
:alt: Constrained Layout Guide
:ref:`sphx_glr_tutorials_intermediate_constrainedlayout_guide.py`
.. raw:: html
Constrained Layout Guide
.. raw:: html
.. only:: html
.. image:: /tutorials/intermediate/images/thumb/sphx_glr_tight_layout_guide_thumb.png
:alt: Tight Layout guide
:ref:`sphx_glr_tutorials_intermediate_tight_layout_guide.py`
.. raw:: html
Tight Layout guide
.. raw:: html
.. only:: html
.. image:: /tutorials/intermediate/images/thumb/sphx_glr_arranging_axes_thumb.png
:alt: Arranging multiple Axes in a Figure
:ref:`sphx_glr_tutorials_intermediate_arranging_axes.py`
.. raw:: html
Arranging multiple Axes in a Figure
.. raw:: html
.. only:: html
.. image:: /tutorials/intermediate/images/thumb/sphx_glr_autoscale_thumb.png
:alt: Autoscaling
:ref:`sphx_glr_tutorials_intermediate_autoscale.py`
.. raw:: html
Autoscaling
.. raw:: html
.. only:: html
.. image:: /tutorials/intermediate/images/thumb/sphx_glr_imshow_extent_thumb.png
:alt: *origin* and *extent* in `~.Axes.imshow`
:ref:`sphx_glr_tutorials_intermediate_imshow_extent.py`
.. raw:: html
*origin* and *extent* in `~.Axes.imshow`
.. raw:: html
Advanced
--------
These tutorials cover advanced topics for experienced Matplotlib
users and developers.
.. raw:: html
.. raw:: html
.. only:: html
.. image:: /tutorials/advanced/images/thumb/sphx_glr_blitting_thumb.png
:alt: Faster rendering by using blitting
:ref:`sphx_glr_tutorials_advanced_blitting.py`
.. raw:: html
Faster rendering by using blitting
.. raw:: html
.. only:: html
.. image:: /tutorials/advanced/images/thumb/sphx_glr_path_tutorial_thumb.png
:alt: Path Tutorial
:ref:`sphx_glr_tutorials_advanced_path_tutorial.py`
.. raw:: html
Path Tutorial
.. raw:: html
.. only:: html
.. image:: /tutorials/advanced/images/thumb/sphx_glr_patheffects_guide_thumb.png
:alt: Path effects guide
:ref:`sphx_glr_tutorials_advanced_patheffects_guide.py`
.. raw:: html
Path effects guide
.. raw:: html
.. only:: html
.. image:: /tutorials/advanced/images/thumb/sphx_glr_transforms_tutorial_thumb.png
:alt: Transformations Tutorial
:ref:`sphx_glr_tutorials_advanced_transforms_tutorial.py`
.. raw:: html
Transformations Tutorial
.. raw:: html
Colors
------
Matplotlib has support for visualizing information with a wide array
of colors and colormaps. These tutorials cover the basics of how
these colormaps look, how you can create your own, and how you can
customize colormaps for your use case.
For even more information see the :ref:`examples page