Skip to main content
Ctrl+K
Logo image Logo image
  • Plot types
  • Examples
  • Tutorials
  • Reference
  • User guide
  • Develop
  • Releases
  • Plot types
  • Examples
  • Tutorials
  • Reference
  • User guide
  • Develop
  • Releases

Section Navigation

  • Introductory
    • Quick start guide
    • Pyplot tutorial
    • Image tutorial
    • The Lifecycle of a Plot
    • Customizing Matplotlib with style sheets and rcParams
    • Animations using Matplotlib
  • Intermediate
    • Artist tutorial
    • Legend guide
    • Styling with cycler
    • Constrained Layout Guide
    • Tight Layout guide
    • Arranging multiple Axes in a Figure
    • Autoscaling
    • origin and extent in imshow
  • Advanced
    • Faster rendering by using blitting
    • Path Tutorial
    • Path effects guide
    • Transformations Tutorial
  • Colors
    • Specifying colors
    • Customized Colorbars Tutorial
    • Creating Colormaps in Matplotlib
    • Colormap Normalization
    • Choosing Colormaps in Matplotlib
  • Text
    • Text in Matplotlib Plots
    • Text properties and layout
    • Annotations
    • Writing mathematical expressions
    • Text rendering with XeLaTeX/LuaLaTeX via the pgf backend
    • Text rendering with LaTeX
  • Toolkits
    • The axes_grid1 toolkit
    • The axisartist toolkit
    • The mplot3d toolkit
  • Provisional

Introductory#

These tutorials cover the basics of creating visualizations with Matplotlib, as well as some best-practices in using the package effectively.

Quick start guide

Quick start guide

Pyplot tutorial

Pyplot tutorial

Image tutorial

Image tutorial

The Lifecycle of a Plot

The Lifecycle of a Plot

Customizing Matplotlib with style sheets and rcParams

Customizing Matplotlib with style sheets and rcParams

Animations using Matplotlib

Animations using Matplotlib

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

Created using Sphinx 7.2.6.

Built from v3.7.5-3-gb58d40e6c8.