Skip to content

Document the behavior of axis=None with style.background_gradient #25551

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Mar 7, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion pandas/io/formats/style.py
Original file line number Diff line number Diff line change
Expand Up @@ -895,7 +895,8 @@ 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 columnwise, 0 or 'index' for rowwise
0 or 'index' for columnwise, 1 or 'columns' for rowwise, or
``None`` for tablewise
subset : IndexSlice
a valid slice for ``data`` to limit the style application to
text_color_threshold : float or int
Expand Down