You are reading an old version of the documentation (v2.1.2). For the latest version see https://matplotlib.org/stable/
Version 2.1.2
matplotlib
Fork me on GitHub


Travis-CI:

This Page

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()