Comments (12)
@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.
@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
from highcharts-core.
@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.
Still not working in jupyter notebook (Sep 16). Lab is fine
from highcharts-core.
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
from highcharts-core.
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.
from highcharts-core.
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.
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.
Perfect - thanks for confirming, @romanb1337 .
from highcharts-core.
1.2.3 jupyter notebook doesn't fix for me (jupyter lab works fine)
from highcharts-core.
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.
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)
- Boxplot rendering in jupyterlab - highcharts-more issue? HOT 8
- `from_pandas` method raises `HighchartsValueError` when a DataFrame column is a datetime object HOT 2
- FEATURE REQUEST: JS Literal Sanitising HOT 2
- Request new feature: Rendering Highchart core in Streamlit HOT 1
- Unable to use chart.marginRight HOT 12
- Add Highcharts Core for Python support for Highcharts v.11.2
- Blank charts after 1.4.0 update when PieSeries is included HOT 7
- Add support for `_repr_html_` to Highcharts Core for Python
- Add support for `_repr_png_`, `_repr_svg_`, `_repr_jpeg_` to Highcharts Core for Python
- Add support for `_ipython_display_` to Highcharts Core for Python HOT 1
- Add GPT 4.5 Turbo support
- BUG : chart.display() rendering in Jupyter Lab but not in Jupyter notebook (in web browser)
- BUG Cannot set chart_options of Exporting class to HighchartsOptions instance
- Update license to support explicit Education and Personal License
- Streamline Custom Series Type Support
- Add support for Highcharts Core (JS) v.11.3
- Question / Enhancement module_url HOT 2
- nodeFormat not working for Sankey Diagram
- Example involving Numpy arrays in the Getting Started tutorial can't be reproduced because of typos
- Change in series format since v1.4.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from highcharts-core.