W3cubDocs

/Matplotlib

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

Colors in the default property cycle

Colors in the default property cycle

© 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