Skip to content

Commit

Permalink
bug修复,依赖版本升级
Browse files Browse the repository at this point in the history
  • Loading branch information
yiliuyan161 committed Aug 29, 2024
1 parent ba3af41 commit a9ba83c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions chartspy/echarts.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

from .base import Tools, Html

ECHARTS_JS_URL = "https://cdn.staticfile.org/echarts/5.3.2/echarts.min.js"
ECHARTS_GL_JS_URL = "https://cdn.staticfile.org/echarts-gl/2.0.8/echarts-gl.min.js"
ECHARTS_JS_URL = "https://cdn.staticfile.org/echarts/5.5.1/echarts.min.js"
ECHARTS_GL_JS_URL = "https://cdn.staticfile.org/echarts-gl/2.0.9/echarts-gl.min.js"


class Echarts(object):
Expand Down
6 changes: 3 additions & 3 deletions chartspy/express/g2plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,11 +386,11 @@ def sankey_g2plot(df, source_field=None, target_field=None, weight_field=None, w

def heatmap_g2plot(df, x_field=None, y_field=None, color_field=None, width='100%', height='500px'):
options = {'xField': x_field, 'yField': y_field, 'colorField': color_field}
options["meta"]: {
x_field: {
options["meta"]= {
"x_field": {
"type": "cat"
},
y_field: {
"y_field": {
"type": "cat"
},
}
Expand Down
2 changes: 1 addition & 1 deletion chartspy/g2plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

from .base import Tools, Html

G2PLOT_JS_URL: str = "https://cdn.staticfile.org/g2plot/2.4.16/g2plot.min.js"
G2PLOT_JS_URL: str = "https://cdn.staticfile.org/g2plot/2.4.25/g2plot.min.js"


# language=HTML
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def get_install_requires():

setup(
name="chartspy",
version="2.2.1",
version="2.2.2",
url="https://chartspy.icopy.site/",
description="echarts g2plot klinechart highcharts tabulator python wrapper",
keywords='echarts g2plot klinechart highcharts tabulator python ',
Expand Down

0 comments on commit a9ba83c

Please sign in to comment.