### Navigation

- index
- modules |
- next |
- previous |
- home|
- examples|
- tutorials|
- pyplot|
- docs »
- The Matplotlib API »
- `Axes` class »

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