File tree 1 file changed +6
-7
lines changed
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):
2986
2986
name = "background" ,
2987
2987
alt = "text" ,
2988
2988
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.""" ,
2990
2993
)
2991
2994
@Substitution (subset = subset )
2992
2995
def background_gradient (
@@ -3025,11 +3028,7 @@ def background_gradient(
3025
3028
(``axis=1`` or ``'columns'``), or to the entire DataFrame at once
3026
3029
with ``axis=None``.
3027
3030
%(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}
3033
3032
vmin : float, optional
3034
3033
Minimum data value that corresponds to colormap minimum value.
3035
3034
If not specified the minimum value of the data (or gmap) will be used.
@@ -3146,7 +3145,7 @@ def background_gradient(
3146
3145
name = "text" ,
3147
3146
alt = "background" ,
3148
3147
image_prefix = "tg" ,
3149
- text_threshold = "This argument is ignored (only used in `background_gradient`). " ,
3148
+ text_threshold = "" ,
3150
3149
)
3151
3150
def text_gradient (
3152
3151
self ,
You can’t perform that action at this time.
0 commit comments