nglviewer / nglview

Jupyter widget to interactively view molecular structures and trajectories

Home Page:http://nglviewer.org/nglview/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Notebook 7 surface view error

wangenau opened this issue · comments

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.

thanks for your report, @wangenau

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

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