Skip to content
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

Wrong when running grid.py with python3.6 #38

Open
pinckCat opened this issue May 4, 2019 · 1 comment
Open

Wrong when running grid.py with python3.6 #38

pinckCat opened this issue May 4, 2019 · 1 comment

Comments

@pinckCat
Copy link

pinckCat commented May 4, 2019

File "grid.py", line 4, in
from pyecharts import Bar, Grid, Line, Scatter, EffectScatter
ImportError: cannot import name 'Bar'

@chfw
Copy link
Member

chfw commented May 4, 2019

Yep, you are right. The example is outdated. Please use older version of pyecharts 0.5.x and pyecharts-snapshot.

I will have to delete these examples.

With the latest pyecharts-snapshot, only cli command is supported and will not work with inline code. For similar inline usage, please read pyecharts v1.0.0 docs. Yes it is still possible but this library do not support it. New style libraries are snapshot- selenium and snapshot-phantomjs.

Good issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants