-
Notifications
You must be signed in to change notification settings - Fork 136
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
Render static images for ASE #736
Comments
hi, it's a known bug in nglview if you're using ipython 6. The current workaround is to use ipython 5.3. We will try to fix and make a new release. |
I tried to compile the example on mybinder: https://mybinder.org/v2/gh/jan-janssen/lammps-notebooks.git/ase-notebooks The environment includes:
Basically inspired by yours https://github.com/hainm/notebook-nglview/blob/master/environment.yml as well as the requirements:
But I only get an image not found error! |
I will have a look tonight. cheers. |
Please try the master branch again. I have a fix here (turns out it's much simpler than I though). f6b665d |
uhm, one more point. In your example, you need to run the code in three Cells.
|
If you just want to get the image (e.g: for presentation), you can use
|
Thanks a lot, locally everything is working fine now, I just realised that http://mybinder.org has issues loading nglview in general. I tried your notebook and that is not working either: https://hub.mybinder.org/user/hainm-nglview-notebooks-fhq6if62/notebooks/pytraj.ipynb so it seems to be binder related. |
cool. |
I try to render static images of an ASE structure:
I get the following error message:
I tired Nglview versions 1.1.2 and 0.6.2.3, but was not able to get it to work.
The text was updated successfully, but these errors were encountered: