Subplots, axes and figures#

Aligning Labels

Aligning Labels

Programmatically controlling subplot adjustment

Programmatically controlling subplot adjustment

Axes box aspect

Axes box aspect

Axes Demo

Axes Demo

Controlling view limits using margins and sticky_edges

Controlling view limits using margins and sticky_edges

Axes Props

Axes Props

Axes Zoom Effect

Axes Zoom Effect

axhspan Demo

axhspan Demo

Equal axis aspect ratio

Equal axis aspect ratio

Axis Label Position

Axis Label Position

Broken Axis

Broken Axis

Custom Figure subclasses

Custom Figure subclasses

Resizing axes with constrained layout

Resizing axes with constrained layout

Resizing axes with tight layout

Resizing axes with tight layout

Different scales on the same axes

Different scales on the same axes

Figure size in different units

Figure size in different units

Figure labels: suptitle, supxlabel, supylabel

Figure labels: suptitle, supxlabel, supylabel

Creating adjacent subplots

Creating adjacent subplots

Geographic Projections

Geographic Projections

Combining two subplots using subplots and GridSpec

Combining two subplots using subplots and GridSpec

Using Gridspec to make multi-column/row subplot layouts

Using Gridspec to make multi-column/row subplot layouts

Nested Gridspecs

Nested Gridspecs

Invert Axes

Invert Axes

Managing multiple figures in pyplot

Managing multiple figures in pyplot

Secondary Axis

Secondary Axis

Sharing axis limits and views

Sharing axis limits and views

Shared axis

Shared axis

Figure subfigures

Figure subfigures

Multiple subplots

Multiple subplots

Subplots spacings and margins

Subplots spacings and margins

Creating multiple subplots using plt.subplots

Creating multiple subplots using plt.subplots

Plots with different scales

Plots with different scales

Zoom region inset axes

Zoom region inset axes