kyper-data / python-highcharts

A simple translation layer between Python and Javascript for Highcharts projects (highcharts, highmaps, and highstocks).
MIT License
393 stars 190 forks source link

3d charts not displaying in Jupyter Notebook #64

Open ariaghs opened 5 years ago

ariaghs commented 5 years ago

All of the examples under ipynb work fine except for the 3d charts (for example: 3d-pie-donut.ipynb)

image

It gets stock at "Loading....". As soon as I comment out the "ebanled" flag under options3d, it displays the 2d chart with no problem:

image

When I try the inspect feature from browser (tried chrome and firefox), it displays an error: image

Any help is highly appreciated as I'm new to this and have been spending days with no luck!

oualib commented 4 years ago

Hi,

I solved this issue. The HighChart team made some mistakes in the URL code generation. Write:

H.add_JSsource("https://code.highcharts.com/6/highcharts-3d.js")

Before displaying, it will solve your issue. The same for drilldown.

Best,

Badr Ouali