nglviewer / nglview

Jupyter widget to interactively view molecular structures and trajectories
http://nglviewer.org/nglview/latest/
Other
816 stars 133 forks source link

Notebook 7 surface view error #1071

Closed wangenau closed 8 months ago

wangenau commented 1 year ago

Yesterday with notebook 7.0.0 a new Jupyter version got released. I tested nglview after updating, but I found that the surface view is broken after updating and displays nothing. There was no error written to the terminal.

Here is a minimal example for testing with an example CUBE file

import nglview
view = nglview.NGLWidget()
view.add_component('CH4_density.cube')
view.add_surface()
view

The example works with the latest version 6 notebook 6.5.4. Displaying molecules seems to work just fine.

hainm commented 1 year ago

thanks for your report, @wangenau

hainm commented 8 months ago

The issue is resolved in #1100 (available in nglview 3.1.1)

wangenau commented 8 months ago

Thanks a lot! I tested it and it works as expected again.