pyecharts/pyecharts-assets

jupyter notebook can't show the charts but just output the address of the charts

Closed this issue · 4 comments

when I use the example from the guide doc, my jupyter just can't show the charts but output the address of the charts. my jupyter is offline because of some confidential requirements
, i have tried to download this piecharts-assets and then serving a localhost, change the CurrentConfig.ONLINE_HOST in my code, but it doesn't work... can you give me some suggestions?

@huamingwang2014 which jupyter environment do you use? notebook or lab?

my jupyter environment is notebook,

image

image

image

Notebook don't need to specify Notebook_TPYE and use load_javascript() function

The only thing you need is set CurrentConfig.ONLINE_HOST= 'your_local_asset_host'