Hi,
While using JupyterLab for some months I started using ipywidgets to add some "interactions" to my notebooks and wanted to look at how to have a widget displaying graphs data using Cytoscape.js .
I started by reading the documentation of ipywidget about custom widgets before to find this thread while searching about a custom widget for JupyterLab.Is there somewhere even just few words about the best way to use a "skeleton" like the widget-ts-cookiecutter Git project? This one compared to the older widget-cookiecutter project has a bunch of extra files, not sure if it's because it's a kind of "advanced" skeleton which already has tests and DevOps (automated testing and CI/CD) pieces embedded, but it leave me quite confused on where to start and what ended up in which file compared to the older widget-cookiecutter which was "smaller".
Googling on the topic returned me mainly Jupyter references, but those aren't going to work in JupyterLab (as far as I know).
If someone has any reference (even simple / clean custom widgets Git repositories I could look into to "reverse engineer" the logic, I don't mind seeing a full piece of code and figuring out what is where and doing what), I take it.Many thanks,Gianni
On Sunday, 20 May 2018 02:30:16 UTC+2, Jason Grout wrote:There is the widget cookiecutter templates to generate a package containing a simple custom widget that works in both notebook and lab:You're right that the custom widget in the docs does not work in JupyterLab. I think it probably makes sense to maybe remove it in favor of using something like the cookiecutter.Thanks,Jason
On Saturday, May 19, 2018 at 8:43:26 AM UTC-7, John wrote:Is there a version of "Hello World" custom widget example for jupyterlab. The jupyter notebook documentation provides this "Hello World" custom widget but it uses requirejs which is not supported by jupyterlab.Is there any documentation on how to get a custom widget for jupyter notebook such as this "Hello World" example to work in jupyterlab.
--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/c5a2dc5c-1e19-446c-af8a-84b37ac8327d%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/d98e2779-c965-4f15-b1bf-7ca0372bff7f%40googlegroups.com.