[ Web Proxy ]
URL:
Viewing: https://matplotlib.org/stable/api/_as_gen/../_as_gen/matplotlib.pyplot.subplots_adjust.html [Back]  [Original]

matplotlib.pyplot.subplots_adjust — Matplotlib 3.11.2 documentation
Back to top
Search the docs ...:

matplotlib.pyplot.subplots_adjust#

matplotlib.pyplot.subplots_adjust(left=None, bottom=None, right=None, top=None, wspace=None, hspace=None)[source]#

Adjust the subplot layout parameters.

Unset parameters are left unmodified; initial values are given by rcParams["figure.subplot.[name]"].

(Source code, 2x.png, png)

[]
Parameters:
leftfloat, optional

The position of the left edge of the subplots, as a fraction of the figure width.

rightfloat, optional

The position of the right edge of the subplots, as a fraction of the figure width.

bottomfloat, optional

The position of the bottom edge of the subplots, as a fraction of the figure height.

topfloat, optional

The position of the top edge of the subplots, as a fraction of the figure height.

wspacefloat, optional

The width of the padding between subplots, as a fraction of the average Axes width.

hspacefloat, optional

The height of the padding between subplots, as a fraction of the average Axes height.

Notes

Note

This is the pyplot wrapper for Figure.subplots_adjust.

Examples using matplotlib.pyplot.subplots_adjust#

[]

Contour plot of irregularly spaced data

Contour plot of irregularly spaced data
[]

Violin plot customization

Violin plot customization
[]

Subplots spacings and margins

Subplots spacings and margins
[]

Controlling style of text and labels using a dictionary

Controlling style of text and labels using a dictionary
[]

Parasite axis demo

Parasite axis demo
[]

Table Demo

Table Demo
[]

Pyplot tutorial

Pyplot tutorial

Web Proxy Viewer  |  New URL  |  Original Page