We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cddbc6a commit ec50455Copy full SHA for ec50455
sklearn/utils/_estimator_html_repr.py
@@ -307,7 +307,12 @@ def _write_estimator_html(
307
text-align: center;
308
}
309
#$id div.sk-container {
310
- display: inline-block;
+ /* jupyter's `normalize.less` sets `[hidden] { display: none; }`
311
+ but bootstrap.min.css set `[hidden] { display: none !important; }`
312
+ so we also need the `!important` here to be able to override the
313
+ default hidden behavior on the sphinx rendered scikit-learn.org.
314
+ See: https://github.com/scikit-learn/scikit-learn/issues/21755 */
315
+ display: inline-block !important;
316
position: relative;
317
318
#$id div.sk-text-repr-fallback {
0 commit comments