-
-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Open
Description
Describe the bug
When I use vscode, I use the "Dark High Contrast" theme, as my eyes are tired. In this mode, some of the estimator names are not visible in the HTML display
Steps/Code to Reproduce
Execute the following code in a vscode (for instance a cell)
# %%
from sklearn.pipeline import make_pipeline
from sklearn.decomposition import PCA
from sklearn.ensemble import HistGradientBoostingRegressor
pipe = make_pipeline(PCA(), HistGradientBoostingRegressor())
pipe
Expected Results
With the "Dark (Visual Studio)" theme, the result is:
Actual Results
However, with the "Dark High Contrast", the result is
Note that the title of the enclosing meta-estimator, here "Pipeline", is not visible
Versions
git main of today (last commit: 426e6be923e34f68bc720ae625c8ca258f473265, merge of #30347)
System:
python: 3.12.3 (main, Nov 6 2024, 18:32:19) [GCC 13.2.0]
executable: /bin/python3
machine: Linux-6.8.0-49-generic-x86_64-with-glibc2.39
Python dependencies:
sklearn: 1.7.dev0
pip: 24.0
setuptools: 68.1.2
numpy: 1.26.4
scipy: 1.11.4
Cython: 3.0.11
pandas: 2.1.4+dfsg
matplotlib: 3.6.3
joblib: 1.3.2
threadpoolctl: 3.1.0
Metadata
Metadata
Assignees
Type
Projects
Status
Done