289 Commits

Author SHA1 Message Date
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
jaska
8cba416e52 support old 3.6.2 tooltip with echarts 4.0.4. fix #452 (#577)
*  support old 3.6.2 tooltip with echarts 4.0.4. fix #452

* 💚 fix broken unit test

* 🎨 allow kline tooltip formatter to be overriden

* 💚 pass unit tests

* 💚 final touch

* 👕 whitening with black version 18.5b0

* 👕 whitening with black version 18.4a4
2018-05-18 11:04:18 +01:00
陈键冬
1ae5fb4142 Heatmap bug fixed (#574)
* Fixed: 修复 #572 HeatMap 图纵坐标显示索引值,而非 data 值的 bug

* Fix: fix broken test

* Docs: docs update

* 🐛 use ._config instead for update.
2018-05-17 23:13:42 +08:00
jaska
c496c385a3 Nteract support (#570)
*  support nteract environment.

* 🔨 use temp file in system temp folder

* 🔬 test nteract function and update 📚

* 👕 whitening the code

* 📚 update demo and pump version number

* 📚 give reference to nteract.io

* 📚 update change log and 🐛 a bug fix on tmp file suffix
2018-05-17 20:10:22 +08:00
陈键冬
27aebee5b7 Charts update docs (#569)
* Add: 新增 ploar 自定义渲染逻辑示例代码

* Doc: docs update

* Add: add test code, make @chfw happy hahaha :)
2018-05-16 23:07:04 +08:00
陈键冬
bdea95e50c Geolines data value (#566)
* Update: 更新 x,y 轴 formatter 参数注释

* #565 Geolines 图数据项可以新增数值维度

* Update: charts docs update

* Fix: fixed bronken test

* Update: 更新 github ISSUE 及 PR 提交模板

* Update: lines -> line

* Update: 删除无用语句
2018-05-15 13:32:12 +01:00
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
a871e41e51 How to debug when jupyter shows blank chart (#557)
* 📚 update faq with jupyter blank chart query

* 🐛 fix typo

* Update: 文档中文化 :)
2018-05-14 15:39:20 +08:00
kinegratii
4a9f1a6c5d Page named charts (#551)
* Add named page

* Update docs

* Update docs

* Update docs

* Update tests

* Format code

* Update function document

* Fix variable naming

* 🐛 fix next pyecharts version to use pyecharts-javascripthon v 0.0… (#554)

* 🐛 fix next pyecharts version to use pyecharts-javascripthon v 0.0.6. fix #541

* 📚 correct the source of dark

* Update: pink code
2018-05-13 23:22:23 +08:00
jaska
7131e92aa6 🐛 fix next pyecharts version to use pyecharts-javascripthon v 0.0… (#554)
* 🐛 fix next pyecharts version to use pyecharts-javascripthon v 0.0.6. fix #541

* 📚 correct the source of dark
2018-05-13 16:04:00 +01:00
jaska
74f7c008f0 Chart3D is added to absorb all commonalities in 3D charts (#550)
* 🔨 code refactoring and 🔥 remove duplicated code, collapse chart inheritance structure

* 📚 update documentation

* 🔨 code refactor geolines

* 📰 add missing test fixture

* Update: 图形类部分细节修改

* Fixed: make flake5 happy

* Update: micro docs update
2018-05-11 14:29:35 +08: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
fd16ffb66d dark, vintage, macarons, infographic, shine and roma themes (#530)
* 🐛 turn on split line for scatter diagram. fix #516

* 🔥 remove documentation that echos the function name

*  support dark theme. fix #512

*  support global_theme in configure function. improves #512

*  use_theme, related to #512

*  support 5 more external themes which come from echarts-themes-pypkg and echarts-themes-js, #512

* 📰 add missing test fixtures

* 💚 make unit test pass

* 📚 document themes usage

* 📚 add cross reference

* 📚 update change log and pump version

* Update: update some docs

* Update: typo fixed

* Update: prepare docs update

* Update: 鉴于现在 md 做 long description 效果不佳,转化为 rst 又出现问题,所以暂时取消

* Fix: fixed broken test, remove unused codecs
2018-05-04 18:24:30 +08:00
陈键冬
3ed59605fa Update: update flask and django docs (#533)
* Update: update flask and django docs

* Update: update customize map docs

* Update: micro docs update

* Update: update readme

* Update: micro update
2018-05-04 13:52:59 +08:00
陈键冬
c20cedc751 Update docs for v051 (#525)
* docs update for v0.5.1

* update setup.py

* Update: changelog update
2018-05-02 23:05:27 +08:00
kinegratii
d9e285ade5 Docs structure update (#520)
* Update docs

1. Update NavBar
2. Merge README.md
3. Add highlight for python code
4. Remove search plugin

* Fix broken link in NavBar

* Refactor sidebar

* Add Zoom-Image & Search Plugin

* Update docs
2018-05-01 13:24:31 +01:00
jaska
54a2447efe Post 0.5.0 updates (#519)
* 🐛 remove x split line, fix #516

* 🐛 add readme into pypi page, fix #518

* 🔥 remove useless imports. makes flake8 happy

*  add long descritption content type
2018-04-30 09:57:31 +08:00
kinegratii
674e1dcae1 Update Dataset Docs (#514)
* Update datasets for Geo and GeoLines
2018-04-28 21:14:18 +08:00
陈键冬
96cd334b2a Dataset docs (#513)
Update: docs update
2018-04-28 19:51:01 +08:00
陈键冬
a13bd49928 update advanced docs 2018-04-28 10:36:15 +08:00
jaska
a4317073b9 📚 further update on new features (#509)
* 📚 further update on new features

* 🎨 update wording
2018-04-28 10:08:54 +08:00
陈键冬
4a329432ef Docs update (#508)
* 格式化 setup.py

* Fix: #504 修复 markpoint 标记点标注不显示的 bug

* Update: changelog 文档更新

* Update: docs update for v0.5.0

* Update release note

* Update datasets docs

* Update: micro docs update

* 🐛 fix a typo
2018-04-28 01:03:35 +01:00
陈键冬
c535818c0a Docs for v050 (#506)
* 格式化 setup.py

* Fix: #504 修复 markpoint 标记点标注不显示的 bug

* Update: changelog 文档更新

* Update: 文档更新

* Reformat: make white happy

* Add: 新增 test_js_event.py 测试文件

* Update: 文档完善

* Update: changelog update

* Update: api docs update

* Update: DOCS UPDATE

* Add: 新增 test_js_function.py 测试文件

* Add: 新增测试断言

* Update: fix borken test

* Fix demo for translator docs

* 📚 update the import location of Date

* 💚 update test cases

* Refactor translator docs

* Update translator docs

* Add technical_docs

* Update: update translator.md

* Update: update .gitgnore for vscode

* Update: advanced.md update

* Merge branch 'docs-for-v050' of github.com:chenjiandongx/pyecharts into docs-for-v050

# Conflicts:
#	docs/zh-cn/advanced.md
#	docs/zh-cn/translator.md

* 📚 minor doc update

* 👕 fix grammar
2018-04-27 11:50:30 +01:00
陈键冬
f09dc89e70 Markpoint bug fixed (#505)
* Fix: #504 修复 markpoint 标记点标注不显示的 bug

* Update: changelog 文档更新
2018-04-25 17:55:06 +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
jaska
aba5c80760 Support echartsInstance.on(eventName: string, handler: Function) (#497)
*  support echarts.on function so as to write event handlers in python. yeppeegit status

* 🎨 minor update

* 📚 update documentation

* 🔥 update requirements.txt

* 🐛 silly mistake again

* 💚 make unit test pass

* 🚜 relocate event names to events.py
2018-04-22 19:30:28 +01:00
陈键冬
7af543996a Faq update (#494)
* 格式化 setup.py

* 更新 faq 文档
2018-04-19 21:32:44 +08:00
Curtis Jiang
93156b27f0 Dev (#490)
* fix typo

* fix typo
2018-04-17 09:52:34 +01:00
陈键冬
4acae512bc Micro docs update (#480)
* 格式化 setup.py

* translator 文档细节更新
2018-04-08 23:28:03 +08:00
kinegratii
ede739b8b9 Py2js translator (#479)
* Add function translator for json encoder

* Add as_snippet for JavascriptSnippet

* Refactor code with flake8

* 👕 whitening the code for review

* Refactor code

* Add docs

* Add note for lambda

* Add note for lambda
2018-04-06 16:31:04 +01: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
jaska
abcbd080ff Map documentation update (#466)
* 📚 update maps

* 📚 update the jupyter faq
2018-03-27 09:29:30 +01:00
kinegratii
6f62ca26e8 Coordinates enhance (#463)
* Refactor coordinates with Geo

* Refactor coordinates with Geoline

* Add test case for coordinate enhance

* Update test case

* Add datasets document

* Enhance features

1. Add rasise_exception parameter
2. Add test cases.

* Mini feature enhance

* Split Coordinate Search Function into two function

* Update test cases
2018-03-25 19:53:31 +01:00
kinegratii
18513932c5 Update contribution list (#457) 2018-03-22 12:17:37 +08:00
jaska
9114f8835c Doc update (#453)
* 📚 doc update

* 📚 add new map pypkg and js links

* 📚 update FAQ

* 📚 add sample image

* update donors list

* update faq.md
2018-03-21 13:13:19 +08:00
陈键冬
11dece7677 修复 Timeline 中 Overlap 图的 label_color 配置项不生效的 bug (#449)
* 修复 Timeline 中 Overlap 图的 label_color 配置项不生效的 bug

* 测试完善
2018-03-19 22:12:12 +08:00
jaska
b617893b10 Extend EchartsEnvironment to render image directly so as to help pdf export (#444)
*  initial prototype

* 🔨 replace extra_context with **kwargs

*  test **kwargs

* 🔥 clean up the render.html

*  initial prototype for tight integration of pyecharts-snapshot

* 🐛 fix rendering position in jupyter note book and 🔥 remove the prototype

*  allow png, jpg and svg in jupyter notebook

* 🔥 revert optimization changes

* 🔥 get rid of useless code

* 🔥 get rid of useless code

* 📚 update documentation and fix #311

* 🔬 more test coverage

* 📚 update environment extension architecture

* 📚 more docs

*  remove the need for configure() statement for python users. jupyter user have to use configure(). 🔨 replace extra_context with **kwargs finally

* 💚 fix broken unit test

* 📚 update documentation - space, space, space

* 🔬 more test coverage

* 📚 no support for rendering page as image

* 🔬 more test coverage

*  @kinegratii  create a jupyter image context

* 💚 make unit tests pass

* 👕 make flake8 happy

* 👕 one last space to be added

* 👕 address review feedbacks
2018-03-17 13:17:13 +00:00