You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Chart.display() issue with highly-specific VSCode extensions in Ubuntu #46
A user on StackOverflow reported a bug when attempting to generate the basic line tutorial from the demo when running Jupyter Notebooks on Ubuntu, in VSCode, with the following VSCode extensions enabled: Jupyter, Jupyter Cell Tags, Jupyter Notebook Renderers, Jupyter Slide Show, Jupyter Keymap. After upgrading to v.1.1.1 and disabling/re-enabling the extensions, the problem was resolved.
The question to investigate is whether there is a reproducible conflict with one or more of those extensions, and to determine the specific combination of extensions and environment that can lead to errors, and to see if there's a solution to the problem.
Thanks, @romanb1337 ! Sorry you're running into this issue in Jupyter Notebooks in VS Code. A couple questions and one suggestion:
QUESTIONS:
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.
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.
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?
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!
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.
Activity
hcpchris commentedon May 19, 2023
Thanks, @romanb1337 ! Sorry you're running into this issue in Jupyter Notebooks in VS Code. A couple questions and one suggestion:
QUESTIONS:
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.
hcpchris commentedon May 19, 2023
Thanks, @romanb1337 ! That will be helpful as we try to identify the specific extension (or combination of extensions) that is causing this issue.
hcpchris commentedon May 19, 2023
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?
hcpchris commentedon May 19, 2023
Perfect - thanks for confirming, @romanb1337 .
yangrq1018 commentedon Sep 16, 2023
Still not working in jupyter notebook (Sep 16). Lab is fine
hcpchris commentedon Sep 23, 2023
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!
hcpchris commentedon Oct 10, 2023
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.