Skip to content
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

wishlist: bring menu to jupyter #4

Closed
hainm opened this issue Nov 24, 2015 · 2 comments
Closed

wishlist: bring menu to jupyter #4

hainm opened this issue Nov 24, 2015 · 2 comments

Comments

@hainm
Copy link
Collaborator

hainm commented Nov 24, 2015

the right menu so users can make different representation.

http://arose.github.io/ngl/?example=3pqr

@arose
Copy link
Collaborator

arose commented Nov 25, 2015

Yeah, you could just put it into the widget, but then there would be no syncing between the browser and the kernel. I think it is best to postpone adding an elaborate GUI to after such syncing is handled.

At least it is currently possible to change the representations via Python

w = NGLWidget(...)
w.representations = [
    { "type": "cartoon", "params": {
        "sele": "protein", "color": "residueindex"
    } },
    { "type": "ball+stick", "params": {
        "sele": "hetero"
    } }
]

@hainm
Copy link
Collaborator Author

hainm commented Nov 25, 2015

At least it is currently possible to change the representations via Python

sounds good.

I think it is best to postpone adding an elaborate GUI to after such syncing is handled.

agree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants