72 Commits

Author SHA1 Message Date
LeoSun
64ba867342
🚀 Prepare for version 2.0.9【Last support version for Echarts 5.x】 (#2420)
* add support with google map(GMap)

* add support with leaflet map(LMap);

* fix blank

* add api in class Base for echarts stats extension

* support multiple calendar (#2414)

* support multiple calendar

* Fix PrettyTable class not expose parameters (#2416)

* Fix/grid and table (#2419)

fix grid chart_id not working and format table.py

* update version to 2.0.9

* fix: issue#2421 (#2422)

fix: issue#2421

* Fix grid index (#2426)

fix some bugs in Grid component

* 更新 MarkPointOpts、MarkPointItemOpts 以及 LabelOpts (#2427)

* update README.md

* [hotfix]fix page missing css_libs

* fix workflows

* fix workflows

* update engine.py

* FIX enable changing locale (#2442)

* FIX enable changing locale

* FIX add locale two more templates

* FIX add tests and defaultLocale

* FIX add tests and defaultLocale

* FIX add locale render in HTML test

---------

Co-authored-by: Feiko Ritsema <fritsema@netflix.com>

* update line.py and update workflows

* update python-app.yml

---------

Co-authored-by: sunhailin <sunhailin@jtexpress.com>
Co-authored-by: jiangyang <jiangyangcreate@gmail.com>
Co-authored-by: GokoRuri <1249736473@qq.com>
Co-authored-by: Feiko <feiko.ritsema@hotmail.com>
Co-authored-by: Feiko Ritsema <fritsema@netflix.com>
2025-10-10 15:24:18 +08:00
sunhailinLeo
bde68fd845 update version and setup 2024-11-03 14:33:08 +08:00
sunhailinLeo
ac7288e1b3 add sdist at setup.py before upload 2023-01-03 18:21:39 +08:00
sunhailinLeo
f707e10699 更新 setup.py; 在 initOpts 增加水平居中参数(仅水平居中) 2022-12-28 17:55:52 +08:00
dongdong
911493f4db
Add python3.10 supports (#1932) 2021-11-16 00:50:49 +08:00
dongdong
a109eb3749
Feat: Add GitHub actions supports (#1931)
* Update: 完善 github actions

* Update: 暂时仅支持至 python3.9
2021-11-15 15:14:03 +08:00
sunhailinLeo
c6066e5459 update setup.py 2020-01-03 15:02:51 +08:00
Boxuan Li
01b0548935 Fix: use 'ignore_nan' for dump_options (#1216) 2019-06-29 15:13:55 +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
陈键冬
2967639f8a Rename: AxisChart -> RectChart 2019-04-14 21:53:38 +08:00
jaska
a39390857d
Image rendering support in pyecharts 1.0.0 (#973)
*  add safari support. #970, #972

* 🐛 fix html file removing bug and enable google chrome as a driver on mac os

* 🐛 non-negative value is not allowed

* Update: remove async js code

* 🔨 merge with pyecharts-snapshot.  initial prototype

* 🔥 remove unwanted code and remove dependency on PIL

*  passing on addtional parameters

*  register additional packages

* 🔥 remove snapshot command

* 🔨 fix typo

* 💄 workout type hints

* 🐛 json.dumps cannot serialize timestamp, datetime and date

* 🔥 remove useless function

* Update: make snapshot logic clear
2019-04-10 22:11:30 +01:00
chenjiandongx
7daeab9c00 Add: support table render 2019-03-29 14:30:08 +08:00
陈键冬
f887154446 Refactor: daily refactor 2019-03-19 00:49:16 +08:00
陈键冬
217fd3caec Refactor: 日常重构 2019-03-17 12:39:57 +08: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
陈键冬
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
陈键冬
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
陈键冬
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
kinegratii
3d9997c768 Bring python3.7 into development process (#679)
* 🔧 Add py37 build configure

* ✏️ Fix typo
2018-08-15 14:38:37 +08:00
chenjiandongx
1359d5882b Update: 更新 jupyter-echarts-pypkg 版本 2018-07-28 10:28:34 +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
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
陈键冬
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
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
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
c956e30374 Relocate translation api to pyecharts_javascripthon, which support: python 2.7, 3.4, 3.5 and 3.6, and both unix and windows platform (#495)
* 🔥 separate the hard dependencies on metapensiero.pj.api

* 🐛 fix the typo

* 🔥 remove the exception as rnd is going on for python 2.7, 3.4

* 👕 make flake8 happy

* 🔥 🚜 relocated pyecharts.transltor to pyecharts_javascripthon

*  enable javascripthon on windows builds. https://github.com/amol-/dukpy/issues/20

* 💚 update unit tests

* 💚 try master branch

* 🔥 no need to take master branch because master branch has been released in javascripthon v0.9. https://github.com/metapensiero/metapensiero.pj/issues/45

* 🔥 pyecharts-javascription has been release as 0.0.1

* Update requirements.txt
2018-04-21 12:33:03 +01:00
陈键冬
d1965ac7c3 格式化 setup.py (#474) 2018-04-02 11:36:26 +01:00
jaska
6f1a627edd Echarts 4 - SVG (#420)
*  new branch for echarts 3.8.5

* 🚜 update jupyter-echarts to 1.4.0

* 🚜 update jupyter-echarts

* 💄 name the release candidate

* 💚 pass unit test

* 🎨 update to use echarts 4.0.2

*  support svg renderer, related to #337

* 🐛 fix the missing registry.json and update jupyter rendering

* 🐛 force 3d charts to use canvas renderer. fix #343

*  upgrade jupyter-echarts-pypkg version

* 📚 create release diary
2018-03-03 16:05:15 +00:00
chfw
61dbfb8df9 rain fence future changes in lml and jupyter-echarts-pypkg 2018-02-26 17:27:24 +00:00
chfw
0c45f73e24 🚜 revert back to single extension management policy: pypkg brings js extensions into pyecharts 2018-02-22 00:11:03 +00:00
chfw
c94d3fb50a 🚜 embed jupyter-echarts in pyecharts 2018-02-19 09:02:12 +00:00
chfw
c1358f3f46 initial working prototype with lml 2018-02-08 19:34:49 +00:00
chfw
d00b1402ad lml replaces pyecharts-cli 2018-02-08 15:18:58 +00:00
chfw
f8425aaf95 replace jupyter-pip with pyecharts-cli. #347 2018-01-19 23:31:33 +00:00
chfw
3afecf5652 👕 coding style fix 2017-12-09 23:15:49 +00:00
chenjiandongx
3abec74755 👏 release version 0.2.5 2017-09-28 20:07:48 +08:00
chenjiandongx
31b76f6b12 a better setup.py 2017-09-14 18:20:15 +08:00
chfw
8f27e96675 🔥 remove duplicated version string 2017-09-01 13:13:38 +01:00
chfw
62cba44304 🚜 reference kennethreitz setup.py for humans. write version in a single place(_version.py) and reuse it in setup.py 2017-09-01 08:18:36 +01:00
chenjiandongx
32bb51be3f version update 2017-09-01 10:26:28 +08:00
chfw
215a623af6 beta support for 331 second-in-line cities. and a dozen more to come. 2017-08-28 00:32:52 +01:00
chenjiandongx
69e852859c version update 2017-08-25 21:40:13 +08:00
chenjiandongx
37a9c9660d 👏 release version 0.2.0 2017-08-25 10:36:49 +08:00
chenjiandongx
d99d3408c6 clean code, remove unwanted statements and reduce pep8 warnings 2017-08-23 13:00:50 +08:00
chenjiandongx
b7e34fb85c clean code: reduce pep8 warnings 2017-08-21 12:39:18 +08:00
chfw
cdcfe62a3f 🐛 fix #115, echarts.js should have been put in up-front of every other js files in html/notebook 2017-08-19 17:17:36 +01:00
chfw
d556dcee78 🐛 quick fix for #113. demmand jupyter-pip==0.3.1 2017-08-19 15:55:35 +01:00
chenjiandongx
046aed88ef update changelog.md 2017-08-19 20:37:52 +08:00
chfw
ee69562dc4 📝 adding jupyter-pip as a dependency 2017-08-15 09:53:57 +01:00