You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you @hainm for this lovely widget :-) I was wondering if there is any way to make changes to the viewer controls permanent / encoded into the JavaScript state. For example in the picture below, if I rotate the view v1 by r1, it alters the earlier view but the state does not persist into cell In [72], or into the state when the widget state is embedded into the notebook.
We are looking into this because we've found the nglview widget to be an amazing tool for nbsphinx tutorials, which can get rendered into HTML pages with interactive molecule viewers. It would be fantastic to get the full functionality that is available in a normal notebook.
From @lilyminium:
#948 (comment)
Thank you @hainm for this lovely widget :-) I was wondering if there is any way to make changes to the viewer controls permanent / encoded into the JavaScript state. For example in the picture below, if I rotate the view
v1
byr1
, it alters the earlier view but the state does not persist into cellIn [72]
, or into the state when the widget state is embedded into the notebook.We are looking into this because we've found the nglview widget to be an amazing tool for
nbsphinx
tutorials, which can get rendered into HTML pages with interactive molecule viewers. It would be fantastic to get the full functionality that is available in a normal notebook.Embedded state:
The text was updated successfully, but these errors were encountered: