-
Notifications
You must be signed in to change notification settings - Fork 134
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
Layout properly taken into account only the second time I display nglview widget #865
Comments
This may help. If I do |
Hi, please use attribute to set the widget.
|
Thanks, @hainm, with setting attribute it works. I was just wondering: is it expected behaviour? I had the impression that nglview's interface is very much in line with jupyter widgets, where both approaches do work. |
yes, that's expected behavior. The feature is not implemented yet.
yeah, almost. |
If you still want to use
|
Alright, thanks for the explanation. Nice package by the way! |
However, with this approach:
Everything seems to work fine. |
thanks for your report. yeah, there are still many minor issues here and there and we will keep this in mind. cheers. |
I am using nglview 2.7.1 and I encountered the following problem:
any idea why the protein is centred properly only the second time I display the nglview widget? Is there a quick fix for that?
The text was updated successfully, but these errors were encountered: