Giter Site home page Giter Site logo

Comments (5)

dharhas avatar dharhas commented on June 12, 2024

paramnb used jupyter notebook widgets to create the widgets. parambokeh uses bokeh widgets. One of the others can chime in on current status but a couple of months ago, paramnb had more widgets available but some were flaky/displayed oddly in annoying ways. parambokeh was under development with the plan to achieve feature parity to paramnb.

Also paramnb can only be used inside Jupyter while parambokeh can also potentially be used in standalone websites with a bit of work. So I think the general consensus is to use parambokeh unless there is a particular widget that is not available.

from earthsim.

jbednar avatar jbednar commented on June 12, 2024

That's correct. As of the end of the previous project, I believe there was at least one widget not yet available in parambokeh that was being used in the example notebooks, so they had to use paramnb. But it's on @ceball's list to eliminate that problem and then switch to parambokeh consistently. I think the missing one was the file selector widget, but I may be misremembering that. Once he fixes that, we can consistently use the same package (parambokeh) and the same code whether or not we are in a Jupyter notebook.

from earthsim.

kcpevey avatar kcpevey commented on June 12, 2024

And parambokeh can be used in a jupyter notebook too? What about JupyterLab?

from earthsim.

philippjfr avatar philippjfr commented on June 12, 2024

What about JupyterLab?

Not yet although that support is planned. JupyterLab have changed a lot of the infrastructure around communicating between the Python kernel and the JS frontend, an issue we've just solved for holoviews now by creating the jupyterlab_holoviews extension. We'd like to avoid requiring another extension, such as jupyterlab_parambokeh, so we're still looking for good solutions.

from earthsim.

kcpevey avatar kcpevey commented on June 12, 2024

The JupyterLab question is driven by my desire to use Anaconda Enterprise to deploy notebooks. JupyterLab compatibility would allow for easier creation of deployments, though it IS possible to view in Classic mode in AE. Once a notebook is deployed, I think its just running as Classic. That said, the deployments can't currently load widgets for some reason.

All this to say our widget needs are also tied to our need to use them in AE deployments. The AE team is aware of that also. I'm not sure what needs to be done, but there may need to be some collaboration between the two.

from earthsim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.