matplotlib.axes.Axes.set_axis_bgcolor

Axes.set_axis_bgcolor(color)

Deprecated since version 2.0: The set_axis_bgcolor function was deprecated in version 2.0. Use set_facecolor instead.

set the axes background color

ACCEPTS: any matplotlib color - see colors()

© 2012–2017 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
http://matplotlib.org/2.0.2/api/_as_gen/matplotlib.axes.Axes.set_axis_bgcolor.html