File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -1640,7 +1640,10 @@ def highlight_null(
1640
1640
)
1641
1641
1642
1642
def highlight_max (
1643
- self , subset = None , color : str = "yellow" , axis : Optional [Axis ] = 0
1643
+ self ,
1644
+ subset : Optional [IndexLabel ] = None ,
1645
+ color : str = "yellow" ,
1646
+ axis : Optional [Axis ] = 0 ,
1644
1647
) -> Styler :
1645
1648
"""
1646
1649
Highlight the maximum by shading the background.
@@ -1668,7 +1671,10 @@ def highlight_max(
1668
1671
)
1669
1672
1670
1673
def highlight_min (
1671
- self , subset = None , color : str = "yellow" , axis : Optional [Axis ] = 0
1674
+ self ,
1675
+ subset : Optional [IndexLabel ] = None ,
1676
+ color : str = "yellow" ,
1677
+ axis : Optional [Axis ] = 0 ,
1672
1678
) -> Styler :
1673
1679
"""
1674
1680
Highlight the minimum by shading the background.
@@ -1803,7 +1809,7 @@ def _highlight_func(
1803
1809
data : FrameOrSeries ,
1804
1810
props : str = "background-color: yellow;" ,
1805
1811
highlight : str = "max" ,
1806
- ):
1812
+ ) -> np . ndarray :
1807
1813
"""
1808
1814
Highlight the value in a Series or DataFrame by func with css-properties
1809
1815
"""
You can’t perform that action at this time.
0 commit comments