Smartchart支持像pyecharts, Matplotlib 等python绘图工具一样在Jupyter中使用, 更加方便, 更加炫酷
仅仅只有两个命令, get and set

安装使用方法
安装方法:
Step1: pip install smartchart
或pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple smartchart
Step2: pip install smartdb
Step3: 输入 smartchart启动
Step4: 打开首页http://127.0.0.1:8000, 点击"我的关注" --> Contact 完成初始化
使用方法:
只需输入smartchart启动即可在Jupyter中进行使用
Sample
from smart_chart.common.tools import Smart
mysmart = Smart()
dataset = [['A','B','C'],[12,34,23],[22,33,37]]
# 可从数据库中获取数据, id 为smarchart中的数据集id
a=mysmart.get(100)
#把数据写入数据集并显示图形
mysmart.set(1,dataset,embed=1,height=200,editor='')
dataset.append([35,44,67]) #追加数据
#随意命名数据集, 不一定需要smartchart中数据集已有的
mysmart.set('DD', dataset)
#你也可以全局初始化设定
mychart = Smart(width=xx, height=xx, embed=1, editor='')
# width, height指定图形嵌入显示的宽高
# embed 默认不嵌入, embed=1 嵌入, embed='' 不嵌入
# editor 是否显示图形菜单
SmartChart与Pandas

我按步骤成功安装: step1: pip3 install smartchart step2: pip3 install smartdb 但是当在jupyter notebook执行from smart_chart.common.tools import Smart 时, 出现错误 ModuleNotFoundError: No module named 'smart_chart'
jupyter和smartchart要在同一个环境下面安装
我把他们安装在同一个环境下,但是仍然报错。 ----> 3 mysmart = Smart() Exception: 请进入首页,我的关注-->Contact 进行激活
有问题加入Q群讨论
安装后需要先启动进行下初始化, 首页 --> 我的关注 --> contact,咋弄啊,我登陆不进去
有问题在gitee上讨论
安装后需要先启动进行下初始化, 首页 --> 我的关注 --> contact,咋弄啊,我登陆不进去
安装后需要先启动进行下初始化, 首页 --> 我的关注 --> contact
mysmart = Smart() File "<string>", line 7, in init FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\chris\AppData\Local\Programs\Python\Python39\Lib\site-packages\smart_chart\smartchartkey'