Skip to main content
Ctrl+K
Matplotlib 3.10.3 documentation - Home
  • Plot types
  • User guide
  • Tutorials
  • Examples
  • Reference
  • Contribute
  • Releases
  • Gitter
  • Discourse
  • GitHub
  • Twitter
  • Plot types
  • User guide
  • Tutorials
  • Examples
  • Reference
  • Contribute
  • Releases
  • Gitter
  • Discourse
  • GitHub
  • Twitter

Section Navigation

  • Pyplot tutorial
  • Image tutorial
  • The Lifecycle of a Plot
  • Artist tutorial
  • Tutorials

Tutorials#

This page contains a few tutorials for using Matplotlib. For the old tutorials, see below.

For shorter examples, see our examples page. You can also find external resources and a FAQ in our user guide.

Pyplot tutorial

Pyplot tutorial

Pyplot tutorial
Image tutorial

Image tutorial

Image tutorial
The Lifecycle of a Plot

The Lifecycle of a Plot

The Lifecycle of a Plot
Artist tutorial

Artist tutorial

Artist tutorial

Download all examples in Python source code: tutorials_python.zip

Download all examples in Jupyter notebooks: tutorials_jupyter.zip

User guide tutorials#

Many of our tutorials were moved from this section to Using Matplotlib:

Introductory#

  • Quick start guide

  • Customizing Matplotlib with style sheets and rcParams

  • Animations using Matplotlib

Intermediate#

  • Legend guide

  • Styling with cycler

  • Constrained layout guide

  • Tight layout guide

  • Arranging multiple Axes in a Figure

  • Autoscaling Axis

  • origin and extent in imshow

Advanced#

  • Faster rendering by using blitting

  • Path Tutorial

  • Path effects guide

  • Transformations Tutorial

Colors#

See Colors.

Text#

See Text.

Toolkits#

See User Toolkits.

On this page
  • User guide tutorials
    • Introductory
    • Intermediate
    • Advanced
    • Colors
    • Text
    • Toolkits

© Copyright 2002–2012 John Hunter, Darren Dale, Eric Firing, Michael Droettboom and the Matplotlib development team; 2012–2025 The Matplotlib development team.

Created using Sphinx 8.2.3.

Built from v3.10.3-2-g3b85ba4365.

Built with the PyData Sphinx Theme 0.15.4.

  翻译: