-
Notifications
You must be signed in to change notification settings - Fork 33
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
feat/Make 3d visualization compatibile with jupyter notebooks #399
feat/Make 3d visualization compatibile with jupyter notebooks #399
Conversation
Is it worth creating a Is the rbf package required for this at all? If yes, we'll also need to define a new |
While it is possible, then shouldn't we have wrapper functions for each visualization function ( Yes, the rfb package is required and I believe is the only extra package required. I will add it to the setup.cfg |
We could have wrappers for all of them yes. I was simply thinking of this:
(do check the usage of args and kwargs, I can't remember what the correct form is) because I can't think of a way of informing users that I guess another way is to simply add a new argument to all the functions: Is calling |
Yes I see your point. So both the wrappers and the argument are valid solutions, and perhaps with the argument we won't have to return the canvas as well, so it remains more the same. Apparently yes, calling canvas, or using display(canvas) if in a function are all it needs |
Tasks:
Use neuroconstruct and play with its visualiser to get an idea of what features we can add to the pyneuroml visualiser |
…o feature/jupyter_compatibility Merging development changes into branch
ba5a385
to
9560f70
Compare
Aims to solve #359
To run in jupyter you need to get the returned canvas object and call it.
e.g.
canvas = plot_interactive_3D(nml2_doc, plot_type='detailed', axes_pos=[0,0,0], upright=True)
canvas