352 Commits

Author SHA1 Message Date
陈键冬
49084c6378
Fix: 修正 X/Y 轴初始化问题 (#1132) 2019-05-21 10:25:11 +08:00
jaska
d763873e9b Enable new feature in echarts-china-cities-js: 370 city contours (#1111)
*  introduce shape only geojson shapes

* 💚 fix broken unit test

* Fix: test

* Format: code
2019-05-14 09:35:30 +08:00
陈键冬
755afe4893
Update: 调整 Table 样式以及新增 Typehint (#1109)
* Update: 调整 Table 样式以及新增 Typehint

* Fix: test

* Remove: setup.cfg
2019-05-13 23:01:40 +08:00
陈键冬
002c578b0c Fix table (#1102)
* Add: example

* Fix: 修复 table 不能正常显示的问题
2019-05-11 17:26:03 +01:00
陈键冬
dc0167f48f
Update: 将 trailLength 参数移动至 effect options (#1092)
* Update: 将 trailLength 参数移动至 effect options

* Fix: test

* Test: 测试用例看起来并不需要 title

* Test: 无需指定生成路径
2019-05-08 15:11:03 +08:00
陈键冬
3172dff53a
Update: set_series_opts 新增 kwargs,允许传入任意变量 (#1090)
* Update: set_series_opts 新增 kwargs,允许传入任意变量

* Update: 统一测试 eq_ 方式

* Docs: update
2019-05-08 10:44:59 +08:00
陈键冬
f3e070cabf
PR: use short name and add set_colors functions (#1089) 2019-05-08 09:55:00 +08:00
陈键冬
b8aad7d3ce
Clean code (#1081)
* Format: code

* Remove: #coding=utf-8

* Add: 新增示例以及数据 json 文件

* Update: 移除 List 使用 Sequence 代替,移除 instance 判断

* Update: 修复 Geo Lines 线条丢失的问题

* Remove: 移除 Mark* data 类型判断

* Update: js_functions/bmap_js_funtions 分开处理

* Update: 解决 Grid 图 title 不为 List 的问题

* Update: self.color 对外暴露

* Test: 完善测试

* Update: 更新测试和示例

* Fix: test

* Fix: 修复 Grid 不能正常渲染主题以及标题的问题

* Add: Bar 图新增 gap 参数

* Add: example

* Update: 百度地图 ak 保存至环境变量中
2019-05-08 09:03:01 +08:00
LeoSun
07f1c780a7 Add Sunburst Support (issue 1078) (#1080)
* Add Sunburst Support (issue 1078)

* Fix some problem

* English Doc about Sunburst

* Update test Code and Fix strange blank line error (CI).

* Fix strange blank line error (CI) again.

* Update Sunburst info
2019-05-06 16:57:23 +08:00
LeoSun
3a41b4314b Issue 1065 (#1075)
* Update & Add: 完善了 BMap 的配置和使用 (issue 1065)

* Format code

* Resolve conflict

* Format: code

* Update Code

* Fix issue 1021 & Add bmap test code

* Update test Function name

* Fix test code line too long error.

* Update: Set default copyright value is empty. (Avoid some misunderstanding)
2019-05-05 21:52:28 +03:00
LeoSun
7674adf076 issue 1051 (#1062)
* Update: issue 1051 (https://github.com/pyecharts/pyecharts/issues/1051)

* Add: add unit test code
2019-05-05 20:39:28 +08:00
陈键冬
2b94085994
Add: tests (#1061)
* Add: tests

* Format: code

* Update: BasicOpts pass
2019-05-05 20:35:02 +08:00
jaska
d2f27ed6e2 🔨 :miscroscope: rename _GeoChart and add a unit test for baidu map (#1057) 2019-05-04 21:10:37 +08:00
LeoSun
88fa878bef issue 1043 (#1049)
* Update & Fix: issue 1043(https://github.com/pyecharts/pyecharts/issues/1043)

* Update pie_example

* Fix pie_example (CI line too long error)

* Fix wordcloud_example filename spelling error

* 🔬 unit test on the changes

* Format: code
2019-05-03 21:41:33 +08:00
陈键冬
fd5e975954 Fix: test 2019-04-27 23:35:38 +08:00
陈键冬
4af76aeba4 Add: add tests 2019-04-26 14:10:47 +08:00
陈键冬
77d9f2d02a Add: more tests 2019-04-26 10:16:32 +08:00
陈键冬
59a7afe93e Test: more tests 2019-04-25 18:22:51 +08:00
陈键冬
c2b86c1102 Test: make ci happy 2019-04-13 22:48:56 +08:00
chenjiandongx
2831d63d4c Update: update example 2019-03-25 18:46:39 +08:00
chenjiandongx
4df3b96ac3 Update: update example 2019-03-25 18:25:04 +08:00
chenjiandongx
75a0a3461c Update: update example 2019-03-25 16:17:42 +08:00
chenjiandongx
050797d9ad Add: add Collector decorator" 2019-03-25 14:13:19 +08:00
陈键冬
be020fb709 Clear: 删除无用依赖 2019-03-25 00:43:38 +08:00
陈键冬
362883962f Add: add examples 2019-03-25 00:18:31 +08:00
陈键冬
dd281c98f5 Update: 完善示例 2019-03-24 17:22:33 +08:00
chenjiandongx
4f615245a6 Refactor: daily refactor 2019-03-22 17:57:29 +08:00
chenjiandongx
af9ac2e6c4 Refactor: daily refactor 2019-03-21 10:41:04 +08:00
陈键冬
f887154446 Refactor: daily refactor 2019-03-19 00:49:16 +08:00
陈键冬
5b1c9f3c6f Move: 将 render 部分实现逻辑移动至 render 文件夹 2019-03-17 20:11:56 +08:00
陈键冬
217fd3caec Refactor: 日常重构 2019-03-17 12:39:57 +08:00
jaska
1c437f6a66 🔥 as previously promised, 0.6.0 will have the proper place to en… (#849)
* 🔥 as previously promised, 0.6.0 will have the proper place to encode NULL

* 🎨 address review comments
2018-11-22 08:04:59 +00:00
Tsuyoshi Hombashi
931ac23568 Fix #749: Display heatmap y-axis label correctly (#843)
* Fix heatmap y-axis label

Heatmap y-axis labels expected to display the y_axis values.
However, the default formatter initialized to show y-axis values.
Y-axis labels are correctly displays by skipping the initialization
when yaxis_formatter is not set.

* Fix a flake8 error

* Add test cases for heatmap y-axis labels

* Fix test cases for heatmap y-axis labels

* Add test cases for YAxisLabel

* Fix flake8 errors
2018-11-18 22:07:48 +00:00
jaska
6617cb934a upgrade to lml 0.0.6 and optionally search pyecharts_snapshot (#835)
* 🐛 optionally search for pyechart_snapshot. fix #815 and fix #827

* 🐛 fix the typo in lml search regex and adopt flake 3.6 syntax

* 🔨 update travis file

* 🔨 update travis file

* 💚 update jupyter-echarts-pypkg to 0.1.3 which lifts lml version to 0.0.6

* 💚 fix windows build problems. updated all relevant pypkgs for testing

* 💚 0.1.3 was removed because it won't work pyecharts 0.5.11

* 🔨 code refactoring and addressing review comments
2018-11-12 08:12:21 +00: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
jaska
c6c7fac3c1 🔥 drop pink because it does not work on mac. and update format_code.sh (#764) 2018-09-12 07:35:23 +01:00
陈键冬
a2e335b3b0 Fix: resolve the conflict 2018-09-10 21:43:26 +08:00
陈键冬
add9627ec7 Patch: #755 remove pillow from setup requires list 2018-09-10 21:42:42 +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
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
陈键冬
66c01984d9 Setup enhance (#716)
* Enhance: setup.py for human

* Update: remove python3.4

* Update: micro change

* Update: update pink version

* Patch: 修复 fix-online 补丁
2018-08-31 08:38:49 +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
陈键冬
9bd386c2d8 Toolbox title (#708)
* Update: #702 toobox 选项标签更改为更通用的英语
2018-08-30 11:40:50 +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