热线电话:13121318867

登录
2021-01-14 阅读量: 9381
python报错:NameError: name ‘opts' is not defined

问:

python报错:NameError: name ‘opts' is not defined

image.png


答:

这是因为opts对象还没定义,需要先执行代码:from pyecharts import options as opts

定义该对象,然后才能调用opts对象。

52.1207
0
关注作者
收藏
评论(0)

发表评论

暂无数据
推荐帖子