update *.md

This commit is contained in:
chenjiandongx 2017-07-18 14:57:03 +08:00
parent cefbb878a7
commit 20fbefb562
2 changed files with 6 additions and 2 deletions

View File

@ -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) 中模仿的。
# 安装

View File

@ -68,6 +68,7 @@ scatter.render()
```
![example-4](https://github.com/chenjiandongx/pyecharts/blob/master/images/example-4.png)
某地最低温和最高气温折线图
```python
from pyecharts import Line
@ -80,6 +81,7 @@ line.render()
```
![example-5](https://github.com/chenjiandongx/pyecharts/blob/master/images/example-5.gif)
饼图嵌套
```python
from pyecharts import Pie
@ -91,6 +93,7 @@ pie.render()
```
![example-6](https://github.com/chenjiandongx/pyecharts/blob/master/images/example-6.png)
饼图再嵌套
```python
import random
from pyecharts import Pie
@ -106,6 +109,7 @@ pie.render()
```
![example-7](https://github.com/chenjiandongx/pyecharts/blob/master/images/example-7.gif)
某地的降水量和蒸发量柱状图
```python
from pyecharts import Bar