BUG: Style.set_sticky() doesn’t work with dark mode #46984
Labels
Enhancement
IO HTML
read_html, to_html, Styler.apply, Styler.applymap
Styler
conditional formatting using DataFrame.style
Pandas version checks
Reproducible Example
In Jupyterlab, with dark mode active:
Issue Description
Calling this makes the row/column headers disappear (white text on white background)
Expected Behavior
Background color should adapt to theme or at least foreground color should also be set
Installed Versions
INSTALLED VERSIONS
commit : bb1f651
python : 3.8.12.final.0
python-bits : 64
OS : Linux
OS-release : 5.4.181-99.354.amzn2.x86_64
Version : #1 SMP Wed Mar 2 18:50:46 UTC 2022
machine : x86_64
processor :
byteorder : little
LC_ALL : en_US.UTF-8
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.4.0
numpy : 1.21.5
pytz : 2021.3
dateutil : 2.8.2
pip : 22.0.3
setuptools : 59.8.0
Cython : None
pytest : 7.0.0
hypothesis : None
sphinx : 4.5.0
blosc : None
feather : None
xlsxwriter : 3.0.2
lxml.etree : 4.8.0
html5lib : None
pymysql : None
psycopg2 : 2.9.3
jinja2 : 3.0.3
IPython : 8.0.1
pandas_datareader: None
bs4 : 4.11.1
bottleneck : None
fastparquet : 0.8.1
fsspec : 2022.01.0
gcsfs : None
matplotlib : 3.5.1
numba : 0.55.1
numexpr : 2.7.3
odfpy : None
openpyxl : 3.0.9
pandas_gbq : None
pyarrow : None
pyreadstat : None
pyxlsb : None
s3fs : None
scipy : 1.8.0
sqlalchemy : 1.4.31
tables : 3.7.0
tabulate : 0.8.9
xarray : None
xlrd : 1.2.0
xlwt : None
zstandard : None
The text was updated successfully, but these errors were encountered: