17 Commits

Author SHA1 Message Date
jaska
efad423d90 Fix 0.5.3 where empty dict means a lot for echarts (#558)
* 🐛 keep the empty dictionary though it looks useless but charts needs them. fix #555

* 👕 keep empty array too. update 📖

* 🎨 minor tweaks on the source code

* Update: pink test folder

* Update: changelog update
2018-05-15 07:25:38 +01:00
jaska
437ae7d7f6 True theme (#546)
* 🐛 fix theme color problem for themes other than dark, #544

* 🔬 test remove_key_with_none_value and whitening

* 📚 update docs and pump version

* Update json_serializable.py

* Update __init__.py

* 💚 fix unit test failures

* 🔥 get rid of dev code

* 💚 pass all unit tests

* 👕 use python 2 to generate the fixtures

* 🔥 remove empty dictionary that resulted from cleaning

* 🔬 more test cases. 👕 whitening

* 💚 ignore basestring please, flake8

* 🔨 code refactor test

* 🔨 address review feedbacks

* 💄 change single quote

* Update: docs update

* Update: img link update

* Update: docs update
2018-05-10 20:57:32 +08:00
陈键冬
8f16369400 Charts docs update and pink everything (#536)
* Update: docs update

* Update: 统一注释文档风格

* Update: pink echarts folder

* Update: pink charts folder

* Update: pink custom folder

* Update: pink pyecharts and dataset folder

* Update: pink test folder

* Update: pink utils folder

* Update: micro docs update for theme

* Fix: fixed broken test
2018-05-04 22:37:27 +08:00
jaska
d61f715566 oop options and doc update (#498)
* 格式化 setup.py

* 📚 update documentation

* 🔬 unit test options

* Update test_options.py

* 💚 update test case

* 🔨 getting oop options

* 🚜 relocate option.py, events.py, style.py to echarts

* 💚 make unit tests pass

* 🎨 fix remain bugs

* 💚 last bug fix

* 🐛 fix #493, pip 10.0.x compactibility issue

* 🎨 more pythonic code

* 🐛 fix inheritance

* 👕 whitening

* 🚜 rename city coordinates.json

* 🚜 update json serializable interface

* 🔨 **kwargs comes back

* Remove: 移除重复配置项
2018-04-25 17:13:00 +08:00
kinegratii
7491c42379 Datasets lazy load (#482)
* Move coordinate data to local data files.

* Rename coordinates data file

* Refactor code

* Fix

* Format code

* Refactor as utils package

* Fix Empty value for lazy
2018-04-09 18:18:21 +01:00
jaska
26840eb9d3 code refactoring all python codes using https://github.com/kennethreitz/white (#472)
* 🔨 code refactoring using https://github.com/kennethreitz/white

* 🔨 code refactoring the test code using https://github.com/kennethreitz/white
2018-04-02 16:00:35 +08:00
jaska
c11efc95ca As js functions are allowed for echarts options, python functions are allowed in pyecharts options too (#468)
*  initial prototype to pass on python functions into echarts options

*  enable more function based label formatters and 💚 make unit test pass

* 💚 make travis happy

* 💚 install pyecharts-javascripthon on appveyor

* 🔬 test javascript functions

* 🎨 tuning ci system

* 📚 update documentation

* 📚 update xaxis_formatter and 💚 make python 27 pass

* 👕 make flake8 happy

* 💚 appveyor, do conditional install plz

* 💚 appveyor, do conditional install plz

* 💚 skipping pyecharts-javascripthon on appveyor

* 🎨 make different test configurations so that they pass and test the individual aspects

* 🔥 remove unless test code

* 🐛 fix the bug to make pyecharts-javascripthon on python 3.5. 3.6 optional

* 🔨 code refactoring

* 🔨 relocate the python356 exception to add_a_new_function

* 🔨 relocate json_dumps

*  support custom polar. #461

* 📚 document render_item

* 🔨 code refactoring on custom polar chart

* 🔥 remove percentage formatter
2018-04-01 12:52:54 +01:00
kinegratii
c37ab7bdb7 Update code style 2018-01-08 22:47:29 +08:00
kinegratii
0d9045138d Update test case 2018-01-08 15:16:17 +08:00
kinegratii
513b02f1e0 Refactor chart's js_dependencies
1. Now chart.js_dependencies returns list instead of set
2. Expose merge_js_dependencies as utils API
2018-01-06 21:27:20 +08:00
kinegratii
ae0226e9ab Remove unused code 2017-12-26 16:26:12 +08:00
chfw
28dd53fa0c 👕 fix coding styles on test codes 2017-12-10 12:24:32 +00:00
kinegratii
0eaa5192e5 Fix test cases 2017-11-02 20:33:09 +08:00
kinegratii
eecf02fe63 Fix test cases 2017-11-01 22:10:36 +08:00
kinegratii
3a8c94f2e8 Update test case 2017-11-01 20:39:56 +08:00
kinegratii
ea5e89283f Fix some mistakes 2017-11-01 15:28:05 +08:00
chfw
82152af00c 🔬 add missing unit test file 2017-09-01 08:04:52 +01:00