Comments (1)
Hmm - odd. This had been working fine prior to the release of Highcharts (JS) v.11. I'll have to look into what caused the issue. However, removing the new
in the JS literal serialization definitely seems to solve the problem, and seems to be stable (my tests so far have not uncovered any issues). I'll finish running through my CI/CD pipeline and push a new version out that patches this problem within the next couple of hours.
The other issue you mentioned - namely the need to specify a container - is the intended behavior. When using Chart.display()
, Highcharts for Python will supply a default container name for you for convenience, but when serializing directly to a JS literal string using Chart.to_js_literal()
there is no default container name assumed.
This is by design, since you might be doing various other things with the JS literal code in your Javascript, so the assumption is that if you have not specified a container explicitly, you are doing so by design. You can address this when producing a JS literal by simply setting Chart.container = container
or by setting the container property when instantiating your chart: my_chart = Chart(container = 'container', ...)
.
This issue will auto-close when the new version is being released (technically, it will auto-close when the fix is merged into the master branch, which should happen 1 - 2 minutes prior to the new version being available on PyPi).
from highcharts-core.
Related Issues (20)
- Simplify .from_pandas()
- Simplify .from_csv()
- Add SeriesBase.convert_to() method to convert between series types.
- Add CallbackFunction.from_python() method
- python highcharts integration issue with loading script in Jupyter Notebook HOT 8
- BUG - Custom point attributes are lost in from_dict call HOT 2
- 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
- Format of data for large number of points to be a list instead of dict HOT 4
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.