matplotlib.axes
matplotlib.axes.Axes.set_xlabel
Axes.
set_xlabel
Set the label for the x-axis.
The label text.
Spacing in points from the axes bounding box including ticks and tick labels.
Text
Text properties control the appearance of the label.
See also
text
Horizontal bar chart
Broken Barh
CSD Demo
Filling the area between lines
Fill Betweenx Demo
Hatch-filled histograms
Psd Demo
Scatter Demo2
hlines and vlines
Contourf Demo
Tricontour Demo
Tripcolor Demo
Triplot Demo
Aligning Labels
Axes Demo
Resizing axes with constrained layout
Resizing axes with tight layout
Invert Axes
Secondary Axis
Plots with different scales
Box plots with custom fill colors
Boxplots
Box plot vs. violin plot comparison
Violin plot customization
Using histograms to plot a cumulative distribution
Demo of the histogram (hist) function with a few features
Producing multiple histograms side by side
Using accented text in matplotlib
Labeling ticks using engineering notation
Using a ttf font file in Matplotlib
Legend Demo
Mathtext Demo
Rendering math equation using TeX
Simple axes labels
Text Commands
Color Demo
Line, Poly and RegularPoly Collection with autoscaling
Ellipse Collection
Dark background style sheet
Anatomy of a figure
XKCD
Keypress Demo
Pythonic Matplotlib
Fill Between and Alpha
Log Bar
MRI With EEG
Centering labels between ticks
Multiple Yaxis With Spines
DivergingNorm colormap normalization
Artist tutorial
Constrained Layout Guide
Choosing Colormaps in Matplotlib
Text in Matplotlib Plots