Giter Club home page Giter Club logo

Comments (4)

flekschas avatar flekschas commented on June 13, 2024

Thank you for reporting the issue. Unfortunately, I'm not a VSCode user and have only tested the plugin in Jupyter Notebook and Lab. My hunch is that VSCode is running the notebooks slightly differently and that's maybe why nothing appears.

Does VSCode have a console of some sort where errors are logged? It's hard to tell without any error message what might cause the issue.

from jupyter-scatter.

clkruse avatar clkruse commented on June 13, 2024

An abbreviated version of what I'm seeing in the VSCode dev tools menu looks like this:

Failed to to Widget load class jupyter-scatterJupyterScatterModel
{className: 'JupyterScatterModel', moduleName: 'jupyter-scatter', moduleVersion: '0.7.1', error: Error: Module jupyter-scatter, semver range 0.7.1 is not registered as a widget module

ipywidgets.js:2 Uncaught (in promise) Error: Module jupyter-scatter, semver range 0.7.1 is not registered as a widget module
    at vC.loadClass (ipywidgets.js:2:3955035)
    at vC.loadClass (ipywidgets.js:2:4214431)
    at vC.<anonymous> (ipywidgets.js:2:3553770)
    at ipywidgets.js:2:3550482
    at Object.next (ipywidgets.js:2:3550587)
    at ipywidgets.js:2:3549523
    at new Promise (<anonymous>)
    at j (ipywidgets.js:2:3549268)
    at e._make_model (ipywidgets.js:2:3553649)
    at vC.<anonymous> (ipywidgets.js:2:3553503)

from jupyter-scatter.

flekschas avatar flekschas commented on June 13, 2024

Oh that mean that the widget wasn't installed/registered properly. I.e., what the error is saying that the Python widget v0.7.1 is not finding a corresponding front-end widget with v0.7.1.

How did you install jupyter-widget for VSCode? (Sorry this might be a dump question but I'm a SublimeText user)

from jupyter-scatter.

flekschas avatar flekschas commented on June 13, 2024

I tried to get jupyter-scatter to run with VS Code the other day and can confirm that, while ipywidgets work, jupyter-scatter does not work. At this point I am not sure though what causes the issue but I suspect that jupyter-scatter might be incompatible for some unknown reason with VS Codes ipywidget helper.

from jupyter-scatter.

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.