Skip to content

Commit 5875eb9

Browse files
committed
Change docstrings for color and align
1 parent 5a22ee1 commit 5875eb9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/formats/style.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -983,15 +983,15 @@ def bar(self, subset=None, align='left', axis=0,
983983
subset: IndexSlice, default None
984984
a valid slice for ``data`` to limit the style application to
985985
axis: int
986-
color: str (for align='left') or 2-tuple/list (for align='zero', 'mid')
986+
color: str or 2-tuple/list
987987
If a str is passed, the color is the same for both
988988
negative and positive numbers. If 2-tuple/list is used, the
989989
first element is the color_negative and the second is the
990990
color_positive (eg: ['#d65f5f', '#5fba7d'])
991991
width: float
992992
A number between 0 or 100. The largest value will cover ``width``
993993
percent of the cell's width
994-
align : str, default 'left'
994+
align : {'left', 'zero',' mid'}
995995
996996
.. versionadded:: 0.20.0
997997

0 commit comments

Comments
 (0)