Skip to content

Commit bf2d569

Browse files
committed
Document the behavior of axis=None
1 parent d10bbce commit bf2d569

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/io/formats/style.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -895,7 +895,8 @@ def background_gradient(self, cmap='PuBu', low=0, high=0, axis=0,
895895
low, high : float
896896
compress the range by these values.
897897
axis : int or str
898-
1 or 'columns' for columnwise, 0 or 'index' for rowwise
898+
0 or 'index' for columnwise, 1 or 'columns' for rowwise, or
899+
``None`` for tablewise
899900
subset : IndexSlice
900901
a valid slice for ``data`` to limit the style application to
901902
text_color_threshold : float or int

0 commit comments

Comments
 (0)