Skip to content

Conversation

@thomasjpfan
Copy link
Member

Reference Issues/PRs

Related to #26364

What does this implement/fix? Explain your changes.

Before this PR, with VScode notebooks the HTML repr will make the whole cell white:

Screenshot 2023-06-01 at 9 35 56 AM

With this PR only the HTML repr is white:

Screenshot 2023-06-01 at 9 35 43 AM

Any other comments?

I'm still thinking about how to enable dark mode based on OS preferences. According to jupyterlab/jupyterlab#8777, Jupyter does not currently support the prefers-color-scheme CSS media query.

@thomasjpfan thomasjpfan added the Quick Review For PRs that are quick to review label Jun 1, 2023
@betatim
Copy link
Member

betatim commented Jun 1, 2023

In principle fine with me. A bit hard to know what this could be breaking, but we can wait for bug reports if no one has an idea what else to test?

Copy link
Member

@adrinjalali adrinjalali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is a good improvement. We shouldn't care much about people relying on the rendered version I think.

@betatim betatim merged commit 2953978 into scikit-learn:main Jun 1, 2023
manudarmi pushed a commit to primait/scikit-learn that referenced this pull request Jun 12, 2023
REDVM pushed a commit to REDVM/scikit-learn that referenced this pull request Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module:utils Quick Review For PRs that are quick to review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants