matplotlib.pyplot.show#

matplotlib.pyplot.show(*, block=None)[source]#

Display all open figures.

Parameters:
blockbool, optional

Whether to wait for all figures to be closed before returning.

If True block and run the GUI main loop until all figure windows are closed.

If False ensure that all figure windows are displayed and return immediately. In this case, you are responsible for ensuring that the event loop is running to have responsive figures.

Defaults to True in non-interactive mode and to False in interactive mode (see pyplot.isinteractive).

See also

ion

Enable interactive mode, which shows / updates the figure after every plotting command, so that calling show() is not necessary.

ioff

Disable interactive mode.

savefig

Save the figure to an image file instead of showing it on screen.

Notes

Saving figures to file and showing a window at the same time

If you want an image file as well as a user interface window, use pyplot.savefig before pyplot.show. At the end of (a blocking) show() the figure is closed and thus unregistered from pyplot. Calling pyplot.savefig afterwards would save a new and thus empty figure. This limitation of command order does not apply if the show is non-blocking or if you keep a reference to the figure and use Figure.savefig.

Auto-show in jupyter notebooks

The jupyter backends (activated via %matplotlib inline, %matplotlib notebook, or %matplotlib widget), call show() at the end of every cell by default. Thus, you usually don't have to call it explicitly there.

Examples using matplotlib.pyplot.show#

Image

Decay

Decay
Image

Animated histogram

Animated histogram
Image

The Bayes update

The Bayes update
Image

The double pendulum problem

The double pendulum problem
Image

Animated image using a precomputed list of images

Animated image using a precomputed list of images
Image

Multiple Axes animation

Multiple Axes animation
Image

Pause and resume an animation

Pause and resume an animation
Image

Rain simulation

Rain simulation
Image

Animated 3D random walk

Animated 3D random walk
Image

Animated line plot

Animated line plot
Image

Animated scatter saved as GIF

Animated scatter saved as GIF
Image

Oscilloscope

Oscilloscope
Image

Matplotlib unchained

Matplotlib unchained
Image

Anchored Direction Arrow

Anchored Direction Arrow
Image

Axes divider

Axes divider
Image

Demo Axes Grid

Demo Axes Grid
Image

Axes Grid2

Axes Grid2
Image

HBoxDivider and VBoxDivider demo

HBoxDivider and VBoxDivider demo
Image

Show RGB channels using RGBAxes

Show RGB channels using RGBAxes
Image

Colorbar with AxesDivider

Colorbar with AxesDivider
Image

Control the position and size of a colorbar with Inset Axes

Control the position and size of a colorbar with Inset Axes
Image

Per-row or per-column colorbars

Per-row or per-column colorbars
Image

Axes with a fixed physical size

Axes with a fixed physical size
Image

ImageGrid cells with a fixed aspect ratio

ImageGrid cells with a fixed aspect ratio
Image

Inset locator demo

Inset locator demo
Image

Inset locator demo 2

Inset locator demo 2
Image

Make room for ylabel using axes_grid

Make room for ylabel using axes_grid
Image

Parasite Simple

Parasite Simple
Image

Parasite Simple2

Parasite Simple2
Image

Align histogram to scatter plot using locatable Axes

Align histogram to scatter plot using locatable Axes
Image

Simple Anchored Artists

Simple Anchored Artists
Image

Simple Axes Divider 1

Simple Axes Divider 1
Image

Simple axes divider 3

Simple axes divider 3
Image

Simple ImageGrid

Simple ImageGrid
Image

Simple ImageGrid 2

Simple ImageGrid 2
Image

Simple Axisline4

Simple Axisline4
Image

Axis Direction

Axis Direction
Image

axis_direction demo

axis_direction demo
Image

Axis line styles

Axis line styles
Image

Curvilinear grid demo

Curvilinear grid demo
Image

Demo CurveLinear Grid2

Demo CurveLinear Grid2
Image

floating_axes features

floating_axes features
Image

floating_axis demo

floating_axis demo
Image

Parasite Axes demo

Parasite Axes demo
Image

Parasite axis demo

Parasite axis demo
Image

Ticklabel alignment

Ticklabel alignment
Image

Ticklabel direction

Ticklabel direction
Image

Simple axis direction

Simple axis direction
Image

Simple axis tick label and tick directions

Simple axis tick label and tick directions
Image

Simple axis pad

Simple axis pad
Image

Custom spines with axisartist

Custom spines with axisartist
Image

Simple Axisline

Simple Axisline
Image

Simple Axisline3

Simple Axisline3
Image

Color by y-value

Color by y-value
Image

Colors in the default property cycle

Colors in the default property cycle
Image

Color Demo

Color Demo
Image

Named color sequences

Named color sequences
Image

Colorbar

Colorbar
Image

Create a colormap from a list of colors

Create a colormap from a list of colors
Image

Selecting individual colors from a colormap

Selecting individual colors from a colormap
Image

List of named colors

List of named colors
Image

Ways to set a color's alpha value

Ways to set a color's alpha value
Image

Close event

Close event
Image

Mouse move and click events

Mouse move and click events
Image

Cross-hair cursor

Cross-hair cursor
Image

Data browser

Data browser
Image

Figure/Axes enter and leave events

Figure/Axes enter and leave events
Image

Interactive functions

Interactive functions
Image

Scroll event

Scroll event
Image

Keypress event

Keypress event
Image

Lasso Demo

Lasso Demo
Image

Legend picking

Legend picking
Image

Looking glass

Looking glass
Image

Path editor

Path editor
Image

Pick event demo

Pick event demo
Image

Pick event demo 2

Pick event demo 2
Image

Polygon editor

Polygon editor
Image

Pong

Pong
Image

Resampling Data

Resampling Data
Image

Timers

Timers
Image

Trifinder Event Demo

Trifinder Event Demo
Image

Viewlims

Viewlims
Image

Zoom modifies other Axes

Zoom modifies other Axes
Image

Affine transform of an image

Affine transform of an image
Image

Wind barbs

Wind barbs
Image

Barcode

Barcode
Image

Interactive adjustment of colormap range

Interactive adjustment of colormap range
Image

Colormap normalizations

Colormap normalizations
Image

Colormap normalizations SymLogNorm

Colormap normalizations SymLogNorm
Image

Contour corner mask

Contour corner mask
Image

Contour Demo

Contour Demo
Image

Contour image

Contour image
Image

Contour Label Demo

Contour Label Demo
Image

Contourf demo

Contourf demo
Image

Contourf hatching

Contourf hatching
Image

Contourf and log color scale

Contourf and log color scale
Image

Contouring the solution space of optimizations

Contouring the solution space of optimizations
Image

BboxImage Demo

BboxImage Demo
Image

Figimage Demo

Figimage Demo
Image

Annotated heatmap

Annotated heatmap
Image

Image resampling

Image resampling
Image

Clipping images with patches

Clipping images with patches
Image

Many ways to plot images

Many ways to plot images
Image

Image with masked values

Image with masked values
Image

Image nonuniform

Image nonuniform
Image

Blend transparency with color in 2D images

Blend transparency with color in 2D images
Image

Modifying the coordinate formatter

Modifying the coordinate formatter
Image

Interpolations for imshow

Interpolations for imshow
Image

Contour plot of irregularly spaced data

Contour plot of irregularly spaced data
Image

Layer images with alpha blending

Layer images with alpha blending
Image

Visualize matrices with matshow

Visualize matrices with matshow
Image

Multiple images with one colorbar

Multiple images with one colorbar
Image

pcolor images

pcolor images
Image

pcolormesh grids and shading

pcolormesh grids and shading
Image

pcolormesh

pcolormesh
Image

Streamplot

Streamplot
Image

QuadMesh Demo

QuadMesh Demo
Image

Advanced quiver and quiverkey functions

Advanced quiver and quiverkey functions
Image

Quiver Simple Demo

Quiver Simple Demo
Image

Shading example

Shading example
Image

Spectrogram

Spectrogram
Image

Spy Demos

Spy Demos
Image

Tricontour Demo

Tricontour Demo
Image

Tricontour Smooth Delaunay

Tricontour Smooth Delaunay
Image

Tricontour Smooth User

Tricontour Smooth User
Image

Trigradient Demo

Trigradient Demo
Image

Triinterp Demo

Triinterp Demo
Image

Tripcolor Demo

Tripcolor Demo
Image

Triplot Demo

Triplot Demo
Image

Watermark image

Watermark image
Image

Infinite lines

Infinite lines
Image

Bar chart with individual bar colors

Bar chart with individual bar colors
Image

Bar chart with labels

Bar chart with labels
Image

Stacked bar chart

Stacked bar chart
Image

Grouped bar chart with labels

Grouped bar chart with labels
Image

Horizontal bar chart

Horizontal bar chart
Image

Broken horizontal bars

Broken horizontal bars
Image

CapStyle

CapStyle
Image

Plotting categorical variables

Plotting categorical variables
Image

Plotting the coherence of two signals

Plotting the coherence of two signals
Image

Cross spectral density (CSD)

Cross spectral density (CSD)
Image

Curve with error band

Curve with error band
Image

Errorbar limit selection

Errorbar limit selection
Image

Errorbar subsampling

Errorbar subsampling
Image

EventCollection Demo

EventCollection Demo
Image

Eventplot demo

Eventplot demo
Image

Filled polygon

Filled polygon
Image

fill_between with transparency

fill_between with transparency
Image

Fill the area between two vertical lines

Fill the area between two vertical lines
Image

Bar chart with gradients

Bar chart with gradients
Image

Hat graph

Hat graph
Image

Discrete distribution as horizontal bar chart

Discrete distribution as horizontal bar chart
Image

JoinStyle

JoinStyle
Image

Dashed line style configuration

Dashed line style configuration
Image

Lines with a ticked patheffect

Lines with a ticked patheffect
Image

Linestyles

Linestyles
Image

Marker reference

Marker reference
Image

Markevery Demo

Markevery Demo
Image

Plotting masked and NaN values

Plotting masked and NaN values
Image

Multicolored lines

Multicolored lines
Image

Mapping marker properties to multivariate data

Mapping marker properties to multivariate data
Image

Power spectral density (PSD)

Power spectral density (PSD)
Image

Scatter Demo2

Scatter Demo2
Image

Scatter plot with histograms

Scatter plot with histograms
Image

Scatter plot with masked values

Scatter plot with masked values
Image

Marker examples

Marker examples
Image

Scatter plot with a legend

Scatter plot with a legend
Image

Line plot

Line plot
Image

Shade regions defined by a logical mask using fill_between

Shade regions defined by a logical mask using fill_between
Image

Spectrum representations

Spectrum representations
Image

Stackplots and streamgraphs

Stackplots and streamgraphs
Image

Stairs Demo

Stairs Demo
Image

Stem plot

Stem plot
Image

Step Demo

Step Demo
Image

Timeline with lines, dates, and text

Timeline with lines, dates, and text
Image

hlines and vlines

hlines and vlines
Image

Cross- and auto-correlation

Cross- and auto-correlation
Image

Anchored Artists

Anchored Artists
Image

Identify whether artists intersect

Identify whether artists intersect
Image

Manual Contour

Manual Contour
Image

Coords Report

Coords Report
Image

Custom projection

Custom projection
Image

Customize Rc

Customize Rc
Image

AGG filter

AGG filter
Image

Ribbon box

Ribbon box
Image

Add lines directly to a figure

Add lines directly to a figure
Image

Fill spiral

Fill spiral
Image

Findobj Demo

Findobj Demo
Image

Building histograms using Rectangles and PolyCollections

Building histograms using Rectangles and PolyCollections
Image

Plotting with keywords

Plotting with keywords
Image

Matplotlib logo

Matplotlib logo
Image

Multiprocessing

Multiprocessing
Image

Packed-bubble chart

Packed-bubble chart
Image

Patheffect Demo

Patheffect Demo
Image

Set and get properties

Set and get properties
Image

Table Demo

Table Demo
Image

TickedStroke patheffect

TickedStroke patheffect
Image

transforms.offset_copy

transforms.offset_copy
Image

Zorder Demo

Zorder Demo
Image

Plot 2D data on 3D plot

Plot 2D data on 3D plot
Image

Demo of 3D bar charts

Demo of 3D bar charts
Image

Clip the data to the axes view limits

Clip the data to the axes view limits
Image

Create 2D bar graphs in different planes

Create 2D bar graphs in different planes
Image

3D box surface plot

3D box surface plot
Image

Plot contour (level) curves in 3D

Plot contour (level) curves in 3D
Image

Plot contour (level) curves in 3D using the extend3d option

Plot contour (level) curves in 3D using the extend3d option
Image

Project contour profiles onto a graph

Project contour profiles onto a graph
Image

Filled contours

Filled contours
Image

Project filled contour onto a graph

Project filled contour onto a graph
Image

Custom hillshading in a 3D surface plot

Custom hillshading in a 3D surface plot
Image

3D errorbars

3D errorbars
Image

Fill between 3D lines

Fill between 3D lines
Image

Fill under 3D line graphs

Fill under 3D line graphs
Image

Create 3D histogram of 2D data

Create 3D histogram of 2D data
Image

2D images in 3D

2D images in 3D
Image

Intersecting planes

Intersecting planes
Image

Parametric curve

Parametric curve
Image

Lorenz attractor

Lorenz attractor
Image

2D and 3D Axes in same figure

2D and 3D Axes in same figure
Image

Automatic text offsetting

Automatic text offsetting
Image

Draw flat objects in 3D plot

Draw flat objects in 3D plot
Image

Generate 3D polygons

Generate 3D polygons
Image

3D plot projection types

3D plot projection types
Image

3D quiver plot

3D quiver plot
Image

3D scatterplot

3D scatterplot
Image

3D stem

3D stem
Image

3D plots as subplots

3D plots as subplots
Image

3D surface (colormap)

3D surface (colormap)
Image

3D surface (solid color)

3D surface (solid color)
Image

3D surface (checkerboard)

3D surface (checkerboard)
Image

3D surface with polar coordinates

3D surface with polar coordinates
Image

Text annotations in 3D

Text annotations in 3D
Image

Triangular 3D contour plot

Triangular 3D contour plot
Image

Triangular 3D filled contour plot

Triangular 3D filled contour plot
Image

Triangular 3D surfaces

Triangular 3D surfaces
Image

More triangular 3D surfaces

More triangular 3D surfaces
Image

Primary 3D view planes

Primary 3D view planes
Image

3D voxel / volumetric plot

3D voxel / volumetric plot
Image

3D voxel plot of the NumPy logo

3D voxel plot of the NumPy logo
Image

3D voxel / volumetric plot with RGB colors

3D voxel / volumetric plot with RGB colors
Image

3D voxel / volumetric plot with cylindrical coordinates

3D voxel / volumetric plot with cylindrical coordinates
Image

3D wireframe plot

3D wireframe plot
Image

3D wireframe plots in one direction

3D wireframe plots in one direction
Image

Bar of pie

Bar of pie
Image

Nested pie charts

Nested pie charts
Image

A pie and a donut with labels

A pie and a donut with labels
Image

Pie charts

Pie charts
Image

Bar chart on polar axis

Bar chart on polar axis
Image

Polar plot

Polar plot
Image

Error bar rendering on polar axis

Error bar rendering on polar axis
Image

Polar legend

Polar legend
Image

Scatter plot on polar axis

Scatter plot on polar axis
Image

Simple plot

Simple plot
Image

Text and mathtext using pyplot

Text and mathtext using pyplot
Image

Multiple lines using pyplot

Multiple lines using pyplot
Image

Two subplots using pyplot

Two subplots using pyplot
Image

Asinh scale

Asinh scale
Image

Loglog aspect

Loglog aspect
Image

Custom scale

Custom scale
Image

Log scale

Log scale
Image

Logit scale

Logit scale
Image

Exploring normalizations

Exploring normalizations
Image

Scales overview

Scales overview
Image

Symlog scale

Symlog scale
Image

Arrow guide

Arrow guide
Image

Reference for Matplotlib artists

Reference for Matplotlib artists
Image

Line, Poly and RegularPoly Collection with autoscaling

Line, Poly and RegularPoly Collection with autoscaling
Image

Compound path

Compound path
Image

Dolphins

Dolphins
Image

Mmh Donuts!!!

Mmh Donuts!!!
Image

Ellipse with orientation arrow demo

Ellipse with orientation arrow demo
Image

Ellipse Collection

Ellipse Collection
Image

Ellipse Demo

Ellipse Demo
Image

Drawing fancy boxes

Drawing fancy boxes
Image

Hatch demo

Hatch demo
Image

Plot multiple lines using a LineCollection

Plot multiple lines using a LineCollection
Image

Circles, Wedges and Polygons

Circles, Wedges and Polygons
Image

PathPatch object

PathPatch object
Image

Bezier curve

Bezier curve
Image

Scatter plot

Scatter plot
Image

Anatomy of a figure

Anatomy of a figure
Image

Firefox

Firefox
Image

Integral as the area under a curve

Integral as the area under a curve
Image

Shaded & power normalized rendering

Shaded & power normalized rendering
Image

Stock prices over 32 years

Stock prices over 32 years
Image

XKCD

XKCD
Image

Hillshading

Hillshading
Image

Anscombe's quartet

Anscombe's quartet
Image

Hinton diagrams

Hinton diagrams
Image

Ishikawa Diagram

Ishikawa Diagram
Image

Left ventricle bullseye

Left ventricle bullseye
Image

MRI with EEG

MRI with EEG
Image

Radar chart (aka spider or star chart)

Radar chart (aka spider or star chart)
Image

The Sankey class

The Sankey class
Image

Long chain of connections using Sankey

Long chain of connections using Sankey
Image

Rankine power cycle

Rankine power cycle
Image

SkewT-logP diagram: using transforms and custom projections

SkewT-logP diagram: using transforms and custom projections
Image

Topographic hillshading

Topographic hillshading
Image

Centered spines with arrows

Centered spines with arrows
Image

Multiple y-axis with Spines

Multiple y-axis with Spines
Image

Spine placement

Spine placement
Image

Spines

Spines
Image

Dropped spines

Dropped spines
Image

Artist customization in box plots

Artist customization in box plots
Image

Box plots with custom fill colors

Box plots with custom fill colors
Image

Boxplots

Boxplots
Image

Box plot vs. violin plot comparison

Box plot vs. violin plot comparison
Image

Separate calculation and plotting of boxplots

Separate calculation and plotting of boxplots
Image

Plot a confidence ellipse of a two-dimensional dataset

Plot a confidence ellipse of a two-dimensional dataset
Image

Violin plot customization

Violin plot customization
Image

Errorbar function

Errorbar function
Image

Different ways of specifying error bars

Different ways of specifying error bars
Image

Including upper and lower limits in error bars

Including upper and lower limits in error bars
Image

Create boxes from error bars using PatchCollection

Create boxes from error bars using PatchCollection
Image

Hexagonal binned plot

Hexagonal binned plot
Image

Histograms

Histograms
Image

Bihistogram

Bihistogram
Image

Cumulative distributions

Cumulative distributions
Image

Demo of the histogram function's different histtype settings

Demo of the histogram function's different histtype settings
Image

The histogram (hist) function with multiple data sets

The histogram (hist) function with multiple data sets
Image

Histogram bins, density, and weight

Histogram bins, density, and weight
Image

Multiple histograms side by side

Multiple histograms side by side
Image

Time Series Histogram

Time Series Histogram
Image

Violin plot basics

Violin plot basics
Image

Bayesian Methods for Hackers style sheet

Bayesian Methods for Hackers style sheet
Image

Dark background style sheet

Dark background style sheet
Image

FiveThirtyEight style sheet

FiveThirtyEight style sheet
Image

ggplot style sheet

ggplot style sheet
Image

Grayscale style sheet

Grayscale style sheet
Image

Petroff10 style sheet

Petroff10 style sheet
Image

Solarized Light stylesheet

Solarized Light stylesheet
Image

Style sheets reference

Style sheets reference
Image

Align labels and titles

Align labels and titles
Image

Programmatically control subplot adjustment

Programmatically control subplot adjustment
Image

Axes box aspect

Axes box aspect
Image

Axes Demo

Axes Demo
Image

Controlling view limits using margins and sticky_edges

Controlling view limits using margins and sticky_edges
Image

Axes properties

Axes properties
Image

Axes zoom effect

Axes zoom effect
Image

Draw regions that span an Axes

Draw regions that span an Axes
Image

Equal axis aspect ratio

Equal axis aspect ratio
Image

Axis label position

Axis label position
Image

Broken axis

Broken axis
Image

Resize Axes with constrained layout

Resize Axes with constrained layout
Image

Resize Axes with tight layout

Resize Axes with tight layout
Image

Different scales on the same Axes

Different scales on the same Axes
Image

Figure size in different units

Figure size in different units
Image

Figure labels: suptitle, supxlabel, supylabel

Figure labels: suptitle, supxlabel, supylabel
Image

Adjacent subplots

Adjacent subplots
Image

Geographic Projections

Geographic Projections
Image

Combine two subplots using subplots and GridSpec

Combine two subplots using subplots and GridSpec
Image

GridSpec with variable sizes and spacing

GridSpec with variable sizes and spacing
Image

Gridspec for multi-column/row subplot layouts

Gridspec for multi-column/row subplot layouts
Image

Nested Gridspecs

Nested Gridspecs
Image

Inverted axis

Inverted axis
Image

Manage multiple figures in pyplot

Manage multiple figures in pyplot
Image

Secondary Axis

Secondary Axis
Image

Share axis limits and views

Share axis limits and views
Image

Shared axis

Shared axis
Image

Figure subfigures

Figure subfigures
Image

Multiple subplots

Multiple subplots
Image

subplot2grid

subplot2grid
Image

Subplots spacings and margins

Subplots spacings and margins
Image

Create multiple subplots using plt.subplots

Create multiple subplots using plt.subplots
Image

Plots with different scales

Plots with different scales
Image

Zoom region inset Axes

Zoom region inset Axes
Image

Accented text

Accented text
Image

Align y-labels

Align y-labels
Image

Scale invariant angle label

Scale invariant angle label
Image

Angle annotations on bracket arrows

Angle annotations on bracket arrows
Image

Annotate transform

Annotate transform
Image

Annotating a plot

Annotating a plot
Image

Annotate plots

Annotate plots
Image

Annotate polar plots

Annotate polar plots
Image

Arrow Demo

Arrow Demo
Image

Auto-wrap text

Auto-wrap text
Image

Compose custom legends

Compose custom legends
Image

Date tick labels

Date tick labels
Image

AnnotationBbox demo

AnnotationBbox demo
Image

Using a text as a Path

Using a text as a Path
Image

Text rotation mode

Text rotation mode
Image

The difference between \dfrac and \frac

The difference between \dfrac and \frac
Image

Format ticks using engineering notation

Format ticks using engineering notation
Image

Annotation arrow style reference

Annotation arrow style reference
Image

Styling text boxes

Styling text boxes
Image

Figure legend demo

Figure legend demo
Image

Configure the font family

Configure the font family
Image

Using ttf font files

Using ttf font files
Image

Font table

Font table
Image

Fonts demo (object-oriented style)

Fonts demo (object-oriented style)
Image

Fonts demo (keyword arguments)

Fonts demo (keyword arguments)
Image

Labelling subplots

Labelling subplots
Image

Legend using pre-defined labels

Legend using pre-defined labels
Image

Legend Demo

Legend Demo
Image

Artist within an artist

Artist within an artist
Image

Convert texts to images

Convert texts to images
Image

Mathtext

Mathtext
Image

Mathematical expressions

Mathematical expressions
Image

Math fontfamily

Math fontfamily
Image

Multiline

Multiline
Image

Placing text boxes

Placing text boxes
Image

Concatenate text objects with different properties

Concatenate text objects with different properties
Image

STIX Fonts

STIX Fonts
Image

Render math equations using TeX

Render math equations using TeX
Image

Text alignment

Text alignment
Image

Text properties

Text properties
Image

Controlling style of text and labels using a dictionary

Controlling style of text and labels using a dictionary
Image

Text rotation angle in data coordinates

Text rotation angle in data coordinates
Image

Title positioning

Title positioning
Image

Unicode minus

Unicode minus
Image

Usetex text baseline

Usetex text baseline
Image

Usetex font effects

Usetex font effects
Image

Text watermark

Text watermark
Image

Automatically setting tick positions

Automatically setting tick positions
Image

Center labels between ticks

Center labels between ticks
Image

Colorbar Tick Labelling

Colorbar Tick Labelling
Image

Custom Ticker

Custom Ticker
Image

Format date ticks using ConciseDateFormatter

Format date ticks using ConciseDateFormatter
Image

Date Demo Convert

Date Demo Convert
Image

Placing date ticks using recurrence rules

Placing date ticks using recurrence rules
Image

Custom tick formatter for time series

Custom tick formatter for time series
Image

Date precision and epochs

Date precision and epochs
Image

Dollar ticks

Dollar ticks
Image

SI prefixed offsets and natural order of magnitudes

SI prefixed offsets and natural order of magnitudes
Image

Fig Axes Customize Simple

Fig Axes Customize Simple
Image

Major and minor ticks

Major and minor ticks
Image

Multilevel (nested) ticks

Multilevel (nested) ticks
Image

The default tick formatter

The default tick formatter
Image

Tick formatters

Tick formatters
Image

Tick locators

Tick locators
Image

Set default y-axis tick labels on the right

Set default y-axis tick labels on the right
Image

Setting tick labels from a list of values

Setting tick labels from a list of values
Image

Move x-axis tick labels to the top

Move x-axis tick labels to the top
Image

Rotated tick labels

Rotated tick labels
Image

Fixing too many ticks

Fixing too many ticks
Image

Annotation with units

Annotation with units
Image

Artist tests

Artist tests
Image

Bar demo with units

Bar demo with units
Image

Group barchart with units

Group barchart with units
Image

Ellipse with units

Ellipse with units
Image

Evans test

Evans test
Image

Radian ticks

Radian ticks
Image

Inches and centimeters

Inches and centimeters
Image

Unit handling

Unit handling
Image

mplcvd -- an example of figure hook

mplcvd -- an example of figure hook
Image

pyplot with GTK3

pyplot with GTK3
Image

pyplot with GTK4

pyplot with GTK4
Image

Tool Manager

Tool Manager
Image

Nested GridSpecs

Nested GridSpecs
Image

Simple Legend01

Simple Legend01
Image

Simple Legend02

Simple Legend02
Image

Annotated cursor

Annotated cursor
Image

Buttons

Buttons
Image

Check buttons

Check buttons
Image

Cursor

Cursor
Image

Lasso Selector

Lasso Selector
Image

Menu

Menu
Image

Mouse Cursor

Mouse Cursor
Image

Multicursor

Multicursor
Image

Select indices from a collection using polygon selector

Select indices from a collection using polygon selector
Image

Radio Buttons

Radio Buttons
Image

Image scaling using a RangeSlider

Image scaling using a RangeSlider
Image

Rectangle and ellipse selectors

Rectangle and ellipse selectors
Image

Slider

Slider
Image

Snap sliders to discrete values

Snap sliders to discrete values
Image

Span Selector

Span Selector
Image

Textbox

Textbox
Image

bar3d(x, y, z, dx, dy, dz)

bar3d(x, y, z, dx, dy, dz)
Image

fill_between(x1, y1, z1, x2, y2, z2)

fill_between(x1, y1, z1, x2, y2, z2)
Image

plot(xs, ys, zs)

plot(xs, ys, zs)
Image

quiver(X, Y, Z, U, V, W)

quiver(X, Y, Z, U, V, W)
Image

scatter(xs, ys, zs)

scatter(xs, ys, zs)
Image

stem(x, y, z)

stem(x, y, z)
Image

plot_surface(X, Y, Z)

plot_surface(X, Y, Z)
Image

plot_trisurf(x, y, z)

plot_trisurf(x, y, z)
Image

voxels([x, y, z], filled)

voxels([x, y, z], filled)
Image

plot_wireframe(X, Y, Z)

plot_wireframe(X, Y, Z)
Image

barbs(X, Y, U, V)

barbs(X, Y, U, V)
Image

contour(X, Y, Z)

contour(X, Y, Z)
Image

contourf(X, Y, Z)

contourf(X, Y, Z)
Image

imshow(Z)

imshow(Z)
Image

pcolormesh(X, Y, Z)

pcolormesh(X, Y, Z)
Image

quiver(X, Y, U, V)

quiver(X, Y, U, V)
Image

streamplot(X, Y, U, V)

streamplot(X, Y, U, V)
Image

bar(x, height)

bar(x, height)
Image

fill_between(x, y1, y2)

fill_between(x, y1, y2)
Image

plot(x, y)

plot(x, y)
Image

scatter(x, y)

scatter(x, y)
Image

stackplot(x, y)

stackplot(x, y)
Image

stairs(values)

stairs(values)
Image

stem(x, y)

stem(x, y)
Image

boxplot(X)

boxplot(X)
Image

ecdf(x)

ecdf(x)
Image

errorbar(x, y, yerr, xerr)

errorbar(x, y, yerr, xerr)
Image

eventplot(D)

eventplot(D)
Image

hexbin(x, y, C)

hexbin(x, y, C)
Image

hist2d(x, y)

hist2d(x, y)
Image

hist(x)

hist(x)
Image

pie(x)

pie(x)
Image

violinplot(D)

violinplot(D)
Image

tricontour(x, y, z)

tricontour(x, y, z)
Image

tricontourf(x, y, z)

tricontourf(x, y, z)
Image

tripcolor(x, y, z)

tripcolor(x, y, z)
Image

triplot(x, y)

triplot(x, y)
Image

Artist tutorial

Artist tutorial
Image

The Lifecycle of a Plot

The Lifecycle of a Plot
Image

Pyplot tutorial

Pyplot tutorial
Image

Animations using Matplotlib

Animations using Matplotlib
Image

Faster rendering by using blitting

Faster rendering by using blitting
Image

Styling with cycler

Styling with cycler
Image

origin and extent in imshow

origin and extent in imshow
Image

Path effects guide

Path effects guide
Image

Path Tutorial

Path Tutorial
Image

Transformations Tutorial

Transformations Tutorial
Image

Arranging multiple Axes in a Figure

Arranging multiple Axes in a Figure
Image

Axis ticks

Axis ticks
Image

Constrained layout guide

Constrained layout guide
Image

Legend guide

Legend guide
Image

Tight layout guide

Tight layout guide
Image

Customized Colorbars Tutorial

Customized Colorbars Tutorial
Image

Creating Colormaps in Matplotlib

Creating Colormaps in Matplotlib
Image

Colormap normalization

Colormap normalization
Image

Choosing Colormaps in Matplotlib

Choosing Colormaps in Matplotlib
Image

Specifying colors

Specifying colors
Image

Customizing Matplotlib with style sheets and rcParams

Customizing Matplotlib with style sheets and rcParams
Image

Quick start guide

Quick start guide
Image

Text in Matplotlib

Text in Matplotlib
Image

Text properties and layout

Text properties and layout