File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -2986,7 +2986,10 @@ def _get_numeric_subset_default(self):
29862986 name = "background" ,
29872987 alt = "text" ,
29882988 image_prefix = "bg" ,
2989- text_threshold = "" ,
2989+ text_threshold = """text_color_threshold : float or int\n
2990+ Luminance threshold for determining text color in [0, 1]. Facilitates text\n
2991+ visibility across varying background colors. All text is dark if 0, and\n
2992+ light if 1, defaults to 0.408.""" ,
29902993 )
29912994 @Substitution (subset = subset )
29922995 def background_gradient (
@@ -3025,11 +3028,7 @@ def background_gradient(
30253028 (``axis=1`` or ``'columns'``), or to the entire DataFrame at once
30263029 with ``axis=None``.
30273030 %(subset)s
3028- text_color_threshold : float or int
3029- {text_threshold}
3030- Luminance threshold for determining text color in [0, 1]. Facilitates text
3031- visibility across varying background colors. All text is dark if 0, and
3032- light if 1, defaults to 0.408.
3031+ {text_threshold}
30333032 vmin : float, optional
30343033 Minimum data value that corresponds to colormap minimum value.
30353034 If not specified the minimum value of the data (or gmap) will be used.
@@ -3146,7 +3145,7 @@ def background_gradient(
31463145 name = "text" ,
31473146 alt = "background" ,
31483147 image_prefix = "tg" ,
3149- text_threshold = "This argument is ignored (only used in `background_gradient`). " ,
3148+ text_threshold = "" ,
31503149 )
31513150 def text_gradient (
31523151 self ,
You can’t perform that action at this time.
0 commit comments