Skip to content

Commit

Permalink
👏 release version 0.1.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiandongx committed Aug 6, 2017
1 parent 3dd9eaf commit 2f5c2c3
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pyecharts is a library to generate charts using Echarts. It simply provides the
[Echarts](https://github.com/ecomfe/echarts) is an open source library from Baidu for data visualization in javascript. It has awesome demo pages so I started to look out for an interface library so that I could use it in Python. I ended up with [echarts-python](https://github.com/yufeiminds/echarts-python) on github but it lacks of documentation and was not updated for a while. Just like many other Python projects, I started my own project, pyecharts, referencing echarts-python and another library [pygal](https://github.com/Kozea/pygal).

## Instatllation
pyecharts works on Python2 and Python3. The latest release is 0.1.9.1. For more information please refer to [changelog.md](https://github.com/chenjiandongx/pyecharts/blob/master/changelog.md)
pyecharts works on Python2 and Python3. The latest release is 0.1.9.2. For more information please refer to [changelog.md](https://github.com/chenjiandongx/pyecharts/blob/master/changelog.md)

You can install it via pip
```
Expand Down
4 changes: 2 additions & 2 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
* 新增对 Pandas 和 Numpy 数据的简单处理。解决直接传入 Pandas 和 Numpy 数据类型出错的问题。(参见开始使用)
* 新增 Bar3D, Line3D, Scatter3D 三种 3D 立体图表。

* version 0.1.9.1(当前版本)
* version 0.1.9.1
* 加入 Travis-CI 自动化测试。感谢 [@chfw](https://github.com/chfw) 提供的代码。
* legend 增加 legend_selectedmode 参数,图例可以设置为单例或者多例。(参见 Radar 图)
* visualmap 组件增加 visual_map 和 visual_range_size 参数。现在支持映射到颜色和图形大小两种方式。(参见 Scatter 图)

* version 0.1.9.2
* version 0.1.9.2(当前版本)
* 新增 xaxis_rotate, yaxis_rotate 参数,可通过设置该参数解决强制显示所有坐标轴标签时因过于密集重叠的问题。参见(Bar 图)
* 新增 xaxis_min, xaxis_max. yaxis_min, yaxis_max 参数,可设置坐标轴上的最大最小值,针对数值轴有效。
* 解决 3D 图形不能在 jupyter notebook 上正常显示的问题。
Expand Down
11 changes: 5 additions & 6 deletions document/doc_zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,17 +163,16 @@ print(npdata)

比如这样

![jupyter-0](https://github.com/chenjiandongx/pyecharts/blob/master/images/jupyter-0.gif)
![notebook-0](https://github.com/chenjiandongx/pyecharts/blob/master/images/notebook-0.gif)

还有这样

![jupyter-1](https://github.com/chenjiandongx/pyecharts/blob/master/images/jupyter-1.gif)
![notebook-1](https://github.com/chenjiandongx/pyecharts/blob/master/images/notebook-1.gif)

![jupyter-2](https://github.com/chenjiandongx/pyecharts/blob/master/images/jupyter-2.gif)
更多 Jupyter notebook 的例子请参考 [notebook-use-cases](https://github.com/chenjiandongx/pyecharts/blob/master/document/notebook-use-cases.ipynb)。可下载后运行看看。


这里只是举几个例子。如需使用 Jupyter Notebook 来展示图表,只需要调用 ```render_notebook()``` 即可,同时兼容 Python2 和 Python3 的 Jupyter Notebook 环境。所有图表均可正常显示(除了 3D 图),与浏览器一致的交互体验,这下展示报告连 PPT 都省了!!
> 在这里要特别感谢 [@ygw365](https://github.com/ygw365) 提供这部分的代码模板 和 [@muxuezi](https://github.com/muxuezi) 协助对代码进行改进,特此感谢!
如需使用 Jupyter Notebook 来展示图表,只需要调用自身实例即可,同时兼容 Python2 和 Python3 的 Jupyter Notebook 环境。所有图表均可正常显示,与浏览器一致的交互体验,这下展示报告连 PPT 都省了!!
**Tip:** 从 0.1.9.2 版本开始,不再使用 ```render_notebook()``` 方法,现已采用更加 pythonic 的做法。直接调用本身实例就可以了。

图表类初始化所接受的参数(所有类型的图表都一样)。

Expand Down
Binary file removed images/jupyter-0.gif
Binary file not shown.
Binary file removed images/jupyter-1.gif
Binary file not shown.
Binary file removed images/jupyter-2.gif
Binary file not shown.
Binary file added images/notebook-0.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/notebook-1.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion pyecharts/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
#coding=utf-8

__version__ = '0.1.9.1'
__version__ = '0.1.9.2'
__author__ = 'chenjiandongx'

from pyecharts.charts.bar import Bar
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
__title__ = 'pyecharts'
__description__ = 'Python echarts, make charting easier'
__url__ = 'https://github.com/chenjiandongx/pyecharts'
__version__ = '0.1.9.1'
__version__ = '0.1.9.2'
__author__ = 'chenjiandongx'
__author_email__ = '[email protected]'
__license__ = 'MIT'
Expand Down

0 comments on commit 2f5c2c3

Please sign in to comment.