W3cubDocs

/Matplotlib

matplotlib.figure.Figure.set_facecolor

Figure.set_facecolor(color)[source]

Set the face color of the Figure rectangle.

Parameters:
colorcolor

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