mirror of
https://github.com/pyecharts/pyecharts.git
synced 2026-02-01 17:46:01 +00:00
update *.md
This commit is contained in:
parent
cefbb878a7
commit
20fbefb562
@ -1,7 +1,7 @@
|
||||
# 概况
|
||||
pyecharts 是百度 echarts 的 Python 接口。
|
||||
pyecharts 是一个用于生成 Echarts 图表的类库。
|
||||
|
||||
[echarts](https://github.com/ecomfe/echarts) 是百度开源的一个数据可视化 JS 库。看了官方的介绍文档,觉得很不错,就想看看有没有人实现了 Python 库可以直接调用的。Github 上找到了一个 [echarts-python](https://github.com/yufeiminds/echarts-python) 不过这个项目已经很久没更新且也没什么介绍文档。借鉴了该项目,就自己动手实现一个,于是就有了 pyecharts。API 接口是从另外一个图表库 [pygal](https://github.com/Kozea/pygal) 中模仿的。
|
||||
[Echarts](https://github.com/ecomfe/echarts) 是百度开源的一个数据可视化 JS 库。看了官方的介绍文档,觉得很不错,就想看看有没有人实现了 Python 库可以直接调用的。Github 上找到了一个 [echarts-python](https://github.com/yufeiminds/echarts-python) 不过这个项目已经很久没更新且也没什么介绍文档。借鉴了该项目,就自己动手实现一个,于是就有了 pyecharts。API 接口是从另外一个图表库 [pygal](https://github.com/Kozea/pygal) 中模仿的。
|
||||
|
||||
|
||||
# 安装
|
||||
|
||||
@ -68,6 +68,7 @@ scatter.render()
|
||||
```
|
||||

|
||||
|
||||
某地最低温和最高气温折线图
|
||||
```python
|
||||
from pyecharts import Line
|
||||
|
||||
@ -80,6 +81,7 @@ line.render()
|
||||
```
|
||||

|
||||
|
||||
饼图嵌套
|
||||
```python
|
||||
from pyecharts import Pie
|
||||
|
||||
@ -91,6 +93,7 @@ pie.render()
|
||||
```
|
||||

|
||||
|
||||
饼图再嵌套
|
||||
```python
|
||||
import random
|
||||
from pyecharts import Pie
|
||||
@ -106,6 +109,7 @@ pie.render()
|
||||
```
|
||||

|
||||
|
||||
某地的降水量和蒸发量柱状图
|
||||
```python
|
||||
from pyecharts import Bar
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user