Giter VIP home page Giter VIP logo

Comments (7)

martinRenou avatar martinRenou commented on August 22, 2024 1

Mmmh I cannot reproduce your issue with ipywidgets=7.7.2 and ipympl=0.9.2, I also confirmed that I have the same labextension versions for jupyter-matplotlib and @jupyter-widgets/jupyterlab-manager, which is the minimum for ipympl to work.

I suspect one other installed labextension is breaking things up. Could you recreating your environment with less extensions to try to spot the culprit?

from ipympl.

martinRenou avatar martinRenou commented on August 22, 2024

Thanks for opening an issue. Do you see another error in the JS console prior to the semver range ^0.11 is not registered one?

from ipympl.

akhmerov avatar akhmerov commented on August 22, 2024

Ah, you're right! I see

image

from ipympl.

martinRenou avatar martinRenou commented on August 22, 2024

Do you see core widgets working?

from ipywidgets import IntSlider
IntSlider()

from ipympl.

akhmerov avatar akhmerov commented on August 22, 2024

Indeed, I did confirm that.

image

from ipympl.

Irratzo avatar Irratzo commented on August 22, 2024

I can reproduce the "Error displaying widget: model not found" issue with ipywidgets=7.7.2 and ipympl=0.9.2. I also confirmed that I have the same labextension versions for jupyter-matplotlib and @jupyter-widgets/jupyterlab-manager.

Core widgets are working.

jupyter labextension list
JupyterLab v3.5.0
/opt/jupyterhub/share/jupyter/labextensions
        jupyterlab_pygments v0.2.2 enabled OK (python, jupyterlab_pygments)
        bqplot v0.5.37 enabled OK (python, bqplot)
        jupyter-threejs v2.4.0 enabled OK (python, pythreejs)
        jupyterlab-datawidgets v7.1.2 enabled OK
        jupyterlab-jupytext v1.3.8+dev enabled OK (python, jupytext)
        nbdime-jupyterlab v2.1.1 enabled OK
        nglview-js-widgets v3.0.1 enabled OK
        jupyter-matplotlib v0.11.2 enabled OK
        @jupyter-widgets/jupyterlab-manager v3.1.1 enabled OK (python, jupyterlab_widgets)

Might downgrading ipywidgets be a solution?

from ipympl.

haho16 avatar haho16 commented on August 22, 2024

Hey all,
I am experiencing similar issue. Here is my configuration:

JupyterLab v3.4.6
/venv/share/jupyter/labextensions
        jupyter-matplotlib v0.11.2 enabled OK
        jupyterlab-plotly v5.11.0 enabled OK
        jupyterlab-tour v3.1.4 enabled OK (python, jupyterlab-tour)
        jupyterlab_pygments v0.2.2 enabled OK (python, jupyterlab_pygments)
        adh-jupyterlab-extension v0.1.0 enabled OK (python, adh-jupyterlab-extension)
        jupyterlab-tabular-data-editor v1.0.0 enabled OK (python, jupyterlab-tabular-data-editor)
        @jupyter-widgets/jupyterlab-manager v3.1.4 enabled OK (python, jupyterlab_widgets)
        @retrolab/lab-extension v0.3.21 enabled OK
        @voila-dashboards/jupyterlab-preview v2.1.6 enabled OK (python, voila)

Other labextensions (built into JupyterLab)
   app dir: /venv/share/jupyter/lab
        @j123npm/qgrid2 v1.1.4 enabled OK
        @plotly/dash-jupyterlab v0.4.3 enabled OK
        jupyterlab-dash v0.4.2 enabled OK
        jupyterlab-interactive-dashboard-editor v0.4.0 enabled OK
ipympl                    0.9.2              pyhd8ed1ab_0    conda-forge
ipywidgets                7.7.1              pyhd8ed1ab_0    conda-forge
matplotlib                3.5.3           py310hff52083_2    conda-forge

Was anyone able to resolve it?

from ipympl.

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.