import pyecharts as pec
car=pec.Bar("阿斯旺","阿迪斯",width=1280,height=720)
car.add(['发额','底纹','阿凡达'],
[5,20,36])
car.render()
```C:\Users\LY\Desktop>pip3 install pyecharts
Looking in indexes: http://mirrors.aliyun.com/pypi/simple/
Requirement already satisfied: pyecharts in c:\users\ly\appdata\local\programs\python\python37\lib\site-packages (1.5.1)
Requirement already satisfied: jinja2 in c:\users\ly\appdata\local\programs\python\python37\lib\site-packages (from pyecharts) (2.10.3)
Requirement already satisfied: simplejson in c:\users\ly\appdata\local\programs\python\python37\lib\site-packages (from pyecharts) (3.16.0)
Requirement already satisfied: prettytable in c:\users\ly\appdata\local\programs\python\python37\lib\site-packages (from pyecharts) (0.7.2)
Requirement already satisfied: MarkupSafe>=0.23 in c:\users\ly\appdata\local\programs\python\python37\lib\site-packages (from jinja2->pyecharts) (1.1.1)
C:\Users\LY\Desktop>python pyy.py
Traceback (most recent call last):
File "pyy.py", line 2, in
car=pec.Bar("阿斯旺","阿迪斯",width=1280,height=720)
AttributeError: module 'pyecharts' has no attribute 'Bar'