-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
怎样在Jupyter Notebook中显示图表? #5
Comments
看看文档后知道了,不用回复,谢谢! |
文档中没有看见呀 |
@Chandlerwu007 用浏览器打开生成 .html 文件 默认为 render.html |
恩。。打开了。试了下,好像不能指定存放路径。 |
对浏览器有什么要求么?在家里电脑能正常显示,但在单位上的显示为空白。 |
其实 jupyter 是支持js的 |
in /pyecharts-master/pyecharts/base.py
in notebook:
|
@ygw365 |
@chenjiandongx chen,已经提了PR,你看下 |
@ygw365 添加了您的代码,不过有错误。没有Template函数。。。 |
Guys, now you can show your charts in jupyter notebook.It will be a cool features.enjoy it! |
升级后可以完美显示了,感谢 @chenjiandongx |
@foodish , pip install jinja2 |
@ygw365 最新版已经好了。感谢! |
@chenjiandongx 已经更新了,在notebook中可以正常显示,但如果 下载为html的话,可能因为改变了跟路径,无法加载相应js文件,进而无法显示echarts图。 |
@xbanke |
@chenjiandongx 我明白你的意思,用render只能保存那张图。notebook其中一个很重要的场景就是可以导出各类格式的文件进行分享,只是在生成html时,echarts的图有问题,当然这可能要改notebook的配置,而不是pyecharts |
@xbanke |
jupyter的远程模式还是显示不了@chenjiandongx 已经是最新版本了, 是只能在本地模式下才行吗 |
1.8 version still has this bug.python2.7 + v1.8 + chrome of Mac |
@chensonglovelife I do not test on Mac |
@yi1260 |
@chenjiandongx , could you please share you jupyter notebook on github? I can try my best to include a unit test for those notebooks. Tavis-ci will then verify your notebook per each commit, functionally. With that said, visual check is still required. However, with 700+ stars, there are plenty of eyes for that check :).
|
if your jupyter host is not localhost:8888, you will have a problem. And we do not support other jupyter domain as of now. One solution is to do the following before your code:
|
你好,将有关代码粘贴到notebook中后运行,没有报错,也没有显示图表。请问应该怎样做才能显示图表?
The text was updated successfully, but these errors were encountered: