
pyecharts
小主早安
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
pyecharts006--WordCloud()
import pyecharts.options as opts from pyecharts.charts import WordCloud name = [ '阿里巴巴商学院', '数字经济', '马云', '云计算', '微观经济学', '天猫', '创业', 'python', '激情', 'Home', '淘宝', '云计算', '共享', '电子商务', 'pandas', '梦想', '人工智能', '大数据', '商务数据分析', '金融'] value =原创 2021-01-13 10:18:07 · 326 阅读 · 0 评论 -
最简单的matplotlib安装教程--兄弟我来了
1.在cmd下输入: python -m pip install -U pip setuptools 2.输入python -m pip install matplotlib 我在pycharm引入没报错,应该是装好了原创 2021-01-13 09:48:41 · 312 阅读 · 0 评论 -
pyecharts005--直角坐标数据类型导入
```bash from pyecharts.charts import Bar from pyecharts import options as opts p0 = [3470, 671, 605, 80, 35, 21, 15, 14, 12, 10, 9, 8, 8, 7, 6, 4, 2, 1, 1, 1] bar = Bar(init_opts=opts.InitOpts(width="620px", height="300px")) bar.add_xaxis(p0) bar.add_y.原创 2021-01-13 09:34:42 · 162 阅读 · 0 评论 -
pyecharts004
from pyecharts.charts import Bar from pyecharts import options as opts from pyecharts.globals import ThemeType x = range(1, 8) y = [114, 55, 27, 101, 125, 27, 105] bar = Bar(init_opts=opts.InitOpts(theme=ThemeType.ESSOS)) bar.add_xaxis(list(x)) bar.add_ya原创 2021-01-12 20:30:42 · 315 阅读 · 0 评论 -
pyecharts003主题的变化
from pyecharts.charts import Bar from pyecharts import options as opts from pyecharts.globals import ThemeType x = range(1, 8) y = [114, 55, 27, 101, 125, 27, 105] bar = Bar(init_opts=opts.InitOpts(theme=ThemeType.PURPLE_PASSION)) bar.add_xaxis(list(x)) b原创 2021-01-12 16:31:31 · 205 阅读 · 0 评论 -
pyecharts002柱状图变颜色,粉红色
from pyecharts.charts import Bar from pyecharts import options as opts x = range(1, 8) y = [114, 55, 27, 101, 125, 27, 105] bar = Bar() bar.add_xaxis(list(x)) bar.add_yaxis("name", y,itemstyle_opts = opts.ItemStyleOpts(color="pink"),) bar.render_notebook(原创 2021-01-12 15:43:55 · 2167 阅读 · 0 评论 -
Bar() TypeError: add_yaxis() got an unexpected keyword argument ‘yaxis_data‘
特别狗血,官网上面的代码也有错? from typing import List from pyecharts.charts import Bar import pyecharts.options as opts from pyecharts.globals import ThemeType from pyecharts.commons.utils import JsCode from pyecharts.charts import Timeline, Grid, Bar, Map, Pie, Line原创 2021-01-12 11:04:53 · 1922 阅读 · 1 评论 -
第一个文件pyecharts--渐变圆柱
from pyecharts.charts import Bar from pyecharts import options as opts x = range(1, 8) y = [114, 55, 27, 101, 125, 27, 105] bar = Bar() bar.add_xaxis(list(x)) bar.add_yaxis("name", y) bar.set_global_opts(title_opts=opts.TitleOpts(title="bar--渐变图")) bar.ren原创 2021-01-12 10:42:59 · 377 阅读 · 1 评论 -
下载源代码安装pyecharts
从这个网站下载: 把这个代码放到了D:\Program Files (x86)\Python38\Lib\site-packages\pyecharts-master 在cmd中进入这个目录下面: 敲入: pip install -r requirements.txt 再次敲入python setup.py install原创 2021-01-12 10:30:00 · 2234 阅读 · 0 评论