Git Product home page Git Product logo

Comments (12)

 avatar commented on May 17, 2024 2

@hcpchris i found this extension for VS Code, but Jupyter Notebook (browser ver) still not working

2023-05-19.20.52.50.mov

from highcharts-core.

 avatar commented on May 17, 2024 1

@hcpchris, yes i am using version 1.1.1 (macbook arm, macos 13.4*22F66, latest brew & conda, python 3.11.3 env https://gist.github.com/romanb1337/a17df1bb5b81b63b9250f13e307f3ec7 if it matters)

I tried switching extensions in all code, but it didn't help, here is a list of ext.:

ms-toolsai.jupyter
ms-toolsai.jupyter-keymap
ms-toolsai.jupyter-renderers
ms-toolsai.vscode-jupyter-cell-tags
ms-toolsai.vscode-jupyter-powertoys
ms-toolsai.vscode-jupyter-slideshow

Снимок экрана 2023-05-19 в 20 02 34

from highcharts-core.

 avatar commented on May 17, 2024 1

@hcpchris yes, when i open a standard Jupyter Notebook within the browser (i.e. not within VS Code and not within Jupyter Lab, just running a standard Jupyter Notebook in the browser), the chart is also not rendering

from highcharts-core.

yangrq1018 avatar yangrq1018 commented on May 17, 2024 1

Still not working in jupyter notebook (Sep 16). Lab is fine

from highcharts-core.

 avatar commented on May 17, 2024

Hi! I have the same problem. Highcharts 1.1.1 does not work in Jupyter Notebook, VS Code (Jupyter) and even Binder (from https://stock-docs.highchartspython.com/en/latest/demos.html). But works in Jupyter Lab
jupyternotebook
vscode
binder
jupyterlab

from highcharts-core.

hcpchris avatar hcpchris commented on May 17, 2024

Thanks, @romanb1337 ! Sorry you're running into this issue in Jupyter Notebooks in VS Code. A couple questions and one suggestion:

QUESTIONS:

  1. Do you have any Jupyter Notebook-related extensions installed / running in your VS Code (e.g. Jupyter Cell Tags, Jupyter Slide Show, etc.)? If so, what are those extensions? We're trying to recreate this problem and it seems to be related to various extensions creating some sort of strange conflict, but have not yet been able to recreate the behavior. So knowing what extensions you are using (and ideally their version numbers) would prove super helpful.
  2. What version of Highcharts Core for Python are you using? I assume v.1.1.1 (the latest release), but do want to double check.

SUGGESTION:
Another customer who encountered this issue found that disabling the extensions, restarting VS Code, and then re-enabling their extensions, somehow "magically" solved the problem for them. That might be a reasonable workaround while we try to recreate / diagnose / resolve the underlying issue.

from highcharts-core.

hcpchris avatar hcpchris commented on May 17, 2024

Thanks, @romanb1337 ! That will be helpful as we try to identify the specific extension (or combination of extensions) that is causing this issue.

from highcharts-core.

hcpchris avatar hcpchris commented on May 17, 2024

Thanks, @romanb1337 ! That's helpful that it seems to be an issue with the Jupyter Notebook Renderer extension. That'll help narrow down my experimentation.

In the meantime, when you say that Jupyter Notebook "(browser ver)" is not working, does that mean that when you open a standard Jupyter Notebook within the browser (i.e. not within VS Code and not within Jupyter Lab, just running a standard Jupyter Notebook in the browser), the chart is also not rendering?

from highcharts-core.

hcpchris avatar hcpchris commented on May 17, 2024

Perfect - thanks for confirming, @romanb1337 .

from highcharts-core.

 avatar commented on May 17, 2024

1.2.3 jupyter notebook doesn't fix for me (jupyter lab works fine)

Снимок экрана 2023-06-20 в 16 43 25

from highcharts-core.

hcpchris avatar hcpchris commented on May 17, 2024

Just as an FYI, at least some of the situations where this problem appears seems to be related to #66, where Jupyter Notebooks in certain contexts make use of RequireJS, which in turn produces odd (and oddly inconsistent) behavior in certain contexts / situations.

There's a new PR #112 that resolves #66, which should make it into the next minor release (v.1.4.0), which is slated to be released the week of October 2nd. I'm not certain whether resolving #66 will resolve all of the situations that give rise to this behavior in VSCode - but it should at least help with some of them. Even after the release, I'll be leaving this issue open to see the degree to which the problem has been resolved or to see if it still reoccurs.

But here's hoping that fixing the RequireJS problem solves these inconsistent and hard-to-reproduce issues!

from highcharts-core.

hcpchris avatar hcpchris commented on May 17, 2024

So with today's release of v.1.4.0, the bugfix for #66 was included. This should address the root cause for some of the VSCode / extension conflict issues. I don't believe it will resolve all of them, but it should hopefully resolve at least some of them. If folks who were encountering this issue could report back as to whether the new version resolves the issue for them, I'd be very grateful as it will help us determine additional root cause(s) of this weird behavior in VSCode.

from highcharts-core.

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.