mirror of
https://github.com/pyecharts/pyecharts.git
synced 2025-12-08 20:59:23 +00:00
Merge branch 'dev' of https://github.com/chenjiandongx/pyecharts into dev
This commit is contained in:
commit
a8a557724d
@ -7,6 +7,10 @@
|
||||
|
||||
## 版本信息
|
||||
|
||||
* version 0.2.1 (dev)
|
||||
|
||||
* 更改 freeze_js [#130] (https://github.com/chenjiandongx/pyecharts/issues/130)
|
||||
|
||||
* version 0.2.0(当前版本)
|
||||
* 新增 datazoom_xaxis_index, datazoom_yaxis_index,可使 datazoom 组件同时控制多个 x y 轴。
|
||||
* 提供 jupyter-notebook 中的 js host 选项,用户可自行决定使用本地后者网络 js 文件,方便转移 notebook 时保证图形可正常显示
|
||||
@ -14,6 +18,7 @@
|
||||
* 修复 Page 类于其他自定义类共用出现问题的 bug
|
||||
* 新增图形种类 Boxplot(箱形图)
|
||||
* 新增图形种类 Sankey(桑基图)
|
||||
* 更新 echarts 到 3.7.0
|
||||
|
||||
* version 0.1.9.7
|
||||
* 修复 requirements.txt 中 jupyter-pip 版本过旧问题
|
||||
@ -93,4 +98,4 @@
|
||||
|
||||
* version 0.1.4
|
||||
* 第一个稳定版本
|
||||
|
||||
|
||||
|
||||
@ -34,8 +34,10 @@ def freeze_js(html_content):
|
||||
|
||||
js_content = ""
|
||||
for src in src_matches:
|
||||
src = src.strip()
|
||||
src = src.split('/')
|
||||
file_path = os.path.join(
|
||||
get_resource_dir('templates'), src.strip())
|
||||
get_resource_dir('templates'), *src)
|
||||
|
||||
with codecs.open(file_path, "r", "utf-8") as f:
|
||||
js_content += f.read() + '\n'
|
||||
@ -139,3 +141,4 @@ def ensure_echarts_is_in_the_front(dependencies):
|
||||
|
||||
def online(host=constants.DEFAULT_HOST):
|
||||
constants.CONFIGURATION['HOST'] = host
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user