Open brey opened 6 years ago
I suppose that mayavi support x3d extension for jupyter. I'm not sure for jupyterlab because it's pretty new. However, you can try it out as reading here: http://docs.enthought.com/mayavi/mayavi/tips.html
I am not sure, I haven't played with jupyterlab in a while or seen what it would take to support. Do you have any experience with this?
I follow the development and I have recently switched from Jupyter since nowadays most of the basic extensions have been developed (matplotlib, bokeh, etc.) . As far as I understand, the issue is mainly that new extensions have to be developed with some constrains in JS. However, it might be as easy as recompiling. I am no sure though if it is up to the Mayavi community to provide this extension or the x3d community should. There is more info here https://jupyterlab.readthedocs.io/en/stable/user/extensions.html#user-extensions.
~Piling onto this ... the ipy backend (which is delightful in the jupyter notebook) also does not seem to work in jupyterlab. There are no errors, but also nothing happens.~
~Jupyter lab now has a 1.0 release so there should be a stable path for adaptation. Unfortunately I do not know anything what would need to be done to make it happen :)~
Apparently my version of jupyterlab and ipyevents extension were out of sync. After re-building everything, it actually does work. It's a little laggy when working with a large mesh object, but definitely useable. Awesome!
Yes, it should work with jupyterlab. The latest ipyevents release fixed an issue allowing it to work. By this I mean the latest jupyter ipy backend, not the x3d backend.
test_plot3d() object is not interactive in JLab 2.0. new issue?
test_plot3d() object is not interactive in JLab 2.0. new issue?
Indeed
Hi all, does Mayavi has a compatible x3d extension for Jupyterlab?