Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML widgets of scikit-learn estimators break after kernel restart #16425

Open
david-cortes opened this issue Feb 5, 2025 · 0 comments
Open
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug notebook-output

Comments

@david-cortes
Copy link

Environment data

  • VS Code version: 1.96.4
  • Jupyter Extension version (available under the Extensions sidebar): 2024.11.0
  • Python Extension version (available under the Extensions sidebar): 2024.22.2
  • OS (Windows | Mac | Linux distro) and version: linux (debian 12)
  • Python and/or Anaconda version: mamba
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
  • Jupyter server running: Local

Steps to reproduce:

[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

  1. Start a new interactive window.
  2. Import a scikit-learn estimator and print/display it, so that it would show its HTML widget.
  3. Restart the kernel.
  4. Repeat step 2.
  5. Click on the "i" icon on the HTML widget.

Expected behaviour

Should shrink the HTML widget (parameters are not displayed).

Actual behaviour

Enters into an infinite selection and deselection loop of the cell where this happened:

Image

Logs

Output for Jupyter in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Jupyter)

XXX

@david-cortes david-cortes added the bug Issue identified by VS Code Team member as probable bug label Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug notebook-output
Projects
None yet
Development

No branches or pull requests

3 participants