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

Black widget on notebook #1120

Open
lorenzo-rovigatti opened this issue Sep 10, 2024 · 1 comment
Open

Black widget on notebook #1120

lorenzo-rovigatti opened this issue Sep 10, 2024 · 1 comment
Labels

Comments

@lorenzo-rovigatti
Copy link

lorenzo-rovigatti commented Sep 10, 2024

Hello,

I'm trying to use nglview in a jupyter notebook but I always get a black widget instead of the structure I want to visualize. Strangely enough, If I use the mouse to rotate or zoom in or out (with the wheel) in the widget, the structure appears, and then disappears as I stop moving the mouse.

Here is a screenshot (taken with Firefox, but I get the same thing with Chromium):

Screenshot_20240910_093828

and here is a screenshot taken while dragging the widget with the mouse:

Screenshot_20240910_094029

I'm using the following version:

python -c 'import nglview; print(nglview.__version__)'
python -c 'import ipywidgets; print(ipywidgets.__version__)'
3.1.2
8.1.5

And here is the output of pip freeze: freeze.txt

@hainm hainm added the bug label Sep 12, 2024
@hainm
Copy link
Collaborator

hainm commented Sep 18, 2024

This is noted and thanks for your report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants