326 Commits

Author SHA1 Message Date
陈键冬
217fd3caec Refactor: 日常重构 2019-03-17 12:39:57 +08:00
Tsuyoshi Hombashi
981df78c1e Fix typo: y_aixs -> y_axis (#844)
thanks @thombashi
2018-11-18 16:50:18 +00:00
jaska
1ddb2e4dfe Updates on prepare.md and theme.md (#838)
📚  update English doc and draw our first chart in English.
2018-11-12 17:52:15 +00:00
Smirk
6fed7802fe Update charts_configure.md (#792)
修正 legend_pos 和 legend_top 中关于百分比形式参数的格式
2018-10-05 14:53:50 +08:00
kinegratii
2f461055ae Refactor Chart classes (#772)
*  Add IPythonRichDisplayMixin

*  Make pythonic

* 🎨 New pyecharts.charts.composite package

* 🎨 Refactor code

* 🎨 new module pyechart.contrib.page

* 🔥 Deprecate Style class

* 📝 Update docs

* 🎨 Update code

*  Update code
2018-09-19 08:52:16 +08:00
Smirk
51ff8bb455 update TreeMap .add() signature docs (#769)
* 更新 TreeMap .add() 方法签名

* rm charts.md
2018-09-15 14:58:08 +08:00
陈键冬
907dca2d9f Remove: 移除 is_fill 参数 (#763)
* Remove: 移除 is_fill 参数

* Docs: 更新 changelog

* Update: update isort configure file

* Format: format code

* Format: 统一 import 写法
2018-09-13 00:03:07 +08:00
陈键冬
f5f9c72aae Docs: docs update 2018-09-10 22:27:17 +08:00
陈键冬
a2e335b3b0 Fix: resolve the conflict 2018-09-10 21:43:26 +08:00
Fangyang
c746b6edf1 English document update phase II work (#753)
* 1. update en-us docs translation work;
2. en-us docs faq.md and flask.md need to fininsh later

* Complete the en_us synchronization with zh_cn on current phase
2018-09-10 20:31:32 +08:00
kinegratii
96dfdfbda0 Javascripthon embed (#745)
* ♻️ Import pyecharts_javascripthon as a subpackage

* ♻️ Refactor py2js translator (Alpha)

* 🐛 Fix errors

* 🔧 Remove py34 travis build

*  Update tests

* ⬆️ Fix build

* ⬆️ Fix build

* ♻️ Add __pye_json__ protocol

* ♻️ Rename class name

* ♻️ Use __json__ protocol

* ♻️ Refactor MyJSONEncoder interface

* ♻️ Refactor class

* 🎨 Use api module

* 📝 Update docs

* 🎨 Refactor imports

* 💚 Fix import errors

*  Add JSONSerializableMixin interface

* 📝 Add release note

* 📝 Update release-note

* 🚨 Fix lint error

* Format: format code and docs

* Update: micro update

* ♻️ Refactor module classes

* 🐛 Fix pandas data encode
2018-09-08 12:10:14 +08:00
陈键冬
5a05bac555 Add: 新增安装介绍文档 (#739) 2018-09-05 14:19:18 +08:00
陈键冬
796946ef93 Update: 文档格式整理,将默认值独立出来 (#737) 2018-09-05 10:43:23 +08:00
Fangyang
cb1888ba0f English documents update (#719)
* update docs/en-us/, add 7 md files, 2 have finished translation.
fix and add some contents in docs/zh-cn/

* finish translating api.md
update api.md, advanced.md

* finished docs/en_us/charts_configure.md

* finished themes.md translation work

* finished charts_configure.md translation work

* temp commit

* [漏斗图] 标签外部显示需要补图

* Finish charts_base.md translation work

* Finish charts_base.md translation work

* fix ![funnel-1] url mistake

* 1. charts_base.md, unitified use ![xxx-demo] url tag;
2. Delete zh_cn donate.md English content;
3. _sidebar.md correct some mistake;
4. donors.md unitified use zh-cn/donors
2018-09-04 22:00:38 +08:00
jaska
94d2995393 Faq doc update (#733)
* 📚 minor but important update

* Docs: update changelog

* Update: micro update
2018-09-04 20:20:55 +08:00
陈键冬
3d2046443b Style docs (#727)
* Docs: 整理 style 文档

* Docs: 风格篇完善

* Docs: changelog 更新

* Docs: 链接地址修正
2018-09-04 10:03:45 +08:00
jaska
61302cb743 To be able to set a key to null in Echarts options (#724)
*  allow developer to signal a configuration is not set. fix #703

* 📚 update usage and 🔬 provide one integration test

* 📚 update change log

* 🎨 update version number

* 🎨 🔨 address review feedback
2018-09-04 09:50:26 +08:00
陈键冬
3e7e2bfc77 Lias (#722)
* Add: 新增 lias 工具格式化 imports

* Update: 细节修正

* Fix: fix #721

* Update: var reused

* Format: 格式化导包顺序

* Update: modules import order: python builtin imports on top, 3rd parties libraries in the middle, package's own libraries in the bottom
2018-09-01 16:07:00 +08:00
Fangyang
1676a0d39f Feature dev (#717)
* add Surface3D chart

* update docs, add Surface3D chart notes

* Patch: 修复 fix-online 补丁

* Update: 解决冲突及代码格式化

* Update: 测试更新

* Update: 更新图片链接

* Docs: 补充示例

* Docs: 更新 changelog
2018-08-31 16:15:13 +08:00
陈键冬
ae55458c58 Fix online (#714)
* Fix: 修复 online() 方法失效的 bug

* Docs: update changelog

* Add: 新增测试

* Patch: enable_nteract host 参数发挥作用

* Fix: 修复测试
2018-08-30 21:44:19 +08:00
jaska
223f334eb0 Faq update (#706)
* 📚 update FAQ. fix #697

* Update: 细节修正
2018-08-28 15:12:19 +08:00
陈键冬
86012c1d33 Refactor: 将图表类文档拆分为基本图表篇和自定义图表篇 (#705) 2018-08-28 14:21:27 +08:00
陈键冬
5f6a26250d Funnel sort (#701)
* Add: #699 为漏斗图新增 `funnel_sort` 和 `funnel_gap` 分别用于控制漏斗图的排序方式和数据图形间隔

* Remove: 删除 funnel_sort func 类型文档
2018-08-27 22:47:22 +08:00
陈键冬
0dbb6e0b79 Merge branch 'master' into dev 2018-08-26 11:38:21 +08:00
陈键冬
44db4fca70 Docs update (#694)
* Docs: changelog 更新

* Add: 新增 wheel badge

* Add: Show some love to contributors
2018-08-26 11:37:09 +08:00
kinegratii
b33a0141e0 ♻️ Rename chart build methods (#690)
* ♻️ Rename chart build methods

* ♻️ Rename chart build methods

* 📝 Update docs & changelog
2018-08-25 18:58:14 +08:00
陈键冬
4a43aca49e Add is_animation initialize argument for every charts (#693)
* Add: #691 为每个图形新增 is_animation 配置项,用于控制是否显示动画

* Fix: 修复测试

* Docs: 文档更新
2018-08-25 18:13:48 +08:00
陈键冬
f019d8cc53 Geo coords (#686)
* Update: 坐标数据及文档更新

* Update: 数据更新

* Fix: 测试修复

* Fix: 测试修复

* Remove: 移除多余 import

* Update: make everyone happy

* Add: support add_coordinate_json function for Geo/Geolines charts

* Fix: fix broken test
2018-08-24 08:12:32 +08:00
jaska
57e9f5190a Chain method update + black 18.6b4 (#688)
* 📚 update chain method calling and 🎨 appy latest black magic

* 🔨 use black 18.4a4

* 📚 update documentation

* 📚 update English docs

* 🎨 use line length 80 for source codes

* 🎨 use line length 79 for source codes as flake8 likes it

* 🎨 minor update

* 🎨 use black 18.6b4

* Patch: 细节修正

* Add: 使用 format_code 格式化项目代码

* Update: 文档细节更新

* Docs: faq update
2018-08-23 14:07:15 +08:00
kinegratii
9f4b04e831 Support method chaining in charts (#685)
*  Make chart-building chain

* ✏️ Fix typo

* 🎨 Format with black

* 🎨 Format with black

* 🎨 Format with pink

* 📝 Update docs
2018-08-23 00:57:31 +08:00
Jearel Alcantara
62fd92c6ac updating from the chinese version (#683) 2018-08-17 11:04:43 +08:00
陈键冬
579412079d Add: add python version bdage (#681) 2018-08-15 23:18:31 +08:00
陈键冬
bce027d52b Extra html label (#680)
* Update: 将文字移动到图形上方

* Comment: 注释修正
2018-08-15 15:30:01 +08:00
陈键冬
15d6123056 Polar refactor (#677)
* Update: polar refactor

* Update: 细节修正

* Fix: 测试修复
2018-08-14 22:24:55 +08:00
陈键冬
7fe8ca2d7d Update: ES 图 X 轴 splitline 默认显示 (#676)
* Update: ES 图 X 轴 splitline 默认显示

* Docs: 文档细节更新和修复测试

* Docs: 错别字修正

* Docs: better docs

* Docs: 挪上去
2018-08-14 18:22:58 +08:00
陈键冬
265de7a379 New chart tree (#670)
* Docs: js 函数示例更新

* Add: 新增 Tree 图形种类

* Update: 进一步完善树图

* Docs: 文档完善

* Fix: 测试修复

* Docs: changelog 更新

* Refactor: 重构 Tree 类

* Docs: Geoline 文档更新

* Update: Geo/Geolines 注释更新

* Format: 统一编码风格

* Add: add Contributions welcome badge

* Docs: 数据不对齐示例补充

* Add: 为 Polar 图新增 angleaxis_label_interval 配置项

* Docs: 文档更新

* Fix: 修复测试

* Docs: changelog update

* Docs: docs update
2018-08-13 21:58:51 +08:00
陈键冬
24166f59f0 Docs refactor (#668)
* Docs: black

* Docs: 更新主题文档

* Docs: docs refactor

* Docs: 细节完善

* Docs: 主题文档补充

* Update: coordinate_region 智能提示

* Docs: more details
2018-08-12 12:58:30 +08:00
jaska
7a93e63a99 More themes: westeros, wonderland, chalk, halloween, essos, walden and purple-passion (#666)
* 🔥 remove the lock that I have made previously. accidentially, it closes for extension. https://github.com/pyecharts/pyecharts/issues/655

* 📚 update version and change log

* Docs: black

* Docs: 更新主题文档
2018-08-12 10:37:48 +08:00
chenjiandongx
ead9b9c61d Release: 发布 v0.5.7 版本 2018-08-11 21:53:07 +08:00
jaska
6568ddbbbf Provide pyecharts with 138,398 cities of the world with a population of at least 1000 inhabitants (#663)
*  OPEN / CLOSE principle - open for extension but closed for modification. Allow the extension of city coordinates so that echarts-cities-pypkg can be installed, hence 138,398 city coordinations is added covering all countries in the world

* 🐛 what if no country data is returned

* 🔥 remove lazy object test

* 🎨 last resort, have to introduce country as a parameter to geo.add() function. no way to search for the coordinates without the country name.

* 📚 documentation update

* 📚 fix typos and add missing docstrings

* 🔬 more unit tests

* 💚 make unit test pass

* 🐛 without unicode_literals but with utf-8, all Chinese strings are utf-8 encoded, hence requires decoding.

* 🎨 🔨 code refacotring and 📚 update documentation

* 🎨 finalized version

* 🔥 remove un-used function

* 🔨 change function parameter name: map_country -> coordinate_country

* 🔨 country -> region

* 🔨 country -> region

* 🚜 rename db file

* 🔨 whitening with black

* 📖 update dataset

* 📖 update data set country
2018-08-11 21:42:16 +08:00
陈键冬
cceba01cdc Axisline (#661)
* Fix: 测试完善及修复

* Update: #660 为 X/Y 坐标轴新增 `xaxis_line_color`, `xaxis_line_width`, `yaxis_line_color`, `yaxis_line_width` 四个参数,用于控制其坐标轴线线的颜色以及宽度

* Docs: 对应文档更新

* Docs: 文档代码格式化
2018-08-09 13:47:30 +08:00
陈键冬
0232f3fe40 Extra text label (#659)
* Docs: 文档完善

* Add: #651 为 Scatter 图新增 extra_name 参数

* Update: 版本号更新

* Add: 新增 assert 判断

* Update: #657 新增额外的文本标签

* Docs: 对应文档更新

* Format: 代码格式化
2018-08-08 20:03:50 +08:00
陈键冬
46caac1462 Scatter extra name (#652)
* Docs: 文档完善

* Add: #651 为 Scatter 图新增 extra_name 参数

* Update: 版本号更新

* Add: 新增 assert 判断
2018-08-02 17:07:35 +08:00
陈键冬
2d9ff361b0 Merge branch 'master' into dev 2018-07-28 10:45:01 +08:00
chenjiandongx
4a4f4b2fe5 Docs: 准备发布新版本 2018-07-28 10:36:55 +08:00
chenjiandongx
89bd1403f2 Docs: 对应文档更新 2018-07-28 10:28:03 +08:00
chenjiandongx
7de75d179f Docs: 更新捐赠者名单 2018-07-19 21:57:54 +08:00
chenjiandongx
24671d9e4f Update: 更新 docsify 版本 2018-06-29 23:44:24 +08:00
kinegratii
7210e87d3d Add data-import docs (#583)
* Update release-note docs

* Add data_import docs

* Update data_import docs

* Update readme

* Update the milestone page
2018-05-23 07:48:31 +08:00
jaska
87bd3b370c Tooltip (#578)
* 🔨 refactor tooltip as a class

* 🚜 cohension, similiar subject shall stay together

* 🐛 fix typo: tragger -> trigger

* Update: 对应文档更新

* Update: 细节转移至相对应的图表中,不需要再做类型判断

* Fix: 避免重复命名导致的问题
2018-05-20 16:39:52 +08:00