matplotlib / 3.7 / _as_gen / matplotlib.axes.axes.set_facecolor.html

matplotlib.axes.Axes.set_facecolor

Axes.set_facecolor(color)[source]

Set the facecolor of the Axes.

Parameters:
colorcolor

Examples using matplotlib.axes.Axes.set_facecolor

Color Demo

Color Demo

Color Demo

© 2012–2023 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/stable/api/_as_gen/matplotlib.axes.Axes.set_facecolor.html