diff --git a/pandas/formats/style.py b/pandas/formats/style.py index 4d5e72a38bb98..b3e0f0f6c7462 100644 --- a/pandas/formats/style.py +++ b/pandas/formats/style.py @@ -781,7 +781,7 @@ def background_gradient(self, cmap='PuBu', low=0, high=0, axis=0, low, high: float compress the range by these values. axis: int or str - 1 or 'columns' for colunwise, 0 or 'index' for rowwise + 1 or 'columns' for columnwise, 0 or 'index' for rowwise subset: IndexSlice a valid slice for ``data`` to limit the style application to