Skip to content

Commit

Permalink
修正highcharts 相关bug
Browse files Browse the repository at this point in the history
  • Loading branch information
yiliuyan161 committed May 5, 2022
1 parent 3c3473a commit 7c1cf8e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions chartspy/express/highcharts.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ def streamgraph_highcharts(data_frame: pd.DataFrame, time_field: str = None, ser
'yAxis': {'visible': False, 'startOnTick': False, 'endOnTick': False}, 'legend': {'enabled': False},
'series': []}
for col in df.columns:
data = df[col].values
data = list(df[col].values)
options['series'].append({'name': col, 'data': data})
return HighCharts(options)
return HighCharts(options, height=height)


def dependency_wheel_highcharts(data_frame: pd.DataFrame, from_field=None, to_field=None, weight_field=None,
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ def get_install_requires():

setup(
name="chartspy",
version="1.6.2",
version="1.6.3",
url="https://chartspy.icopy.site/",
description="echarts&g2plot&klinechart python wrapper",
keywords='echarts g2plot klinechart python ',
keywords='echarts g2plot klinechart highcharts tabulator python ',
packages=find_packages(exclude=("tests", "tests.*")),
author="yiliuyan",
author_email="yiliuyan161@126.com",
Expand Down

0 comments on commit 7c1cf8e

Please sign in to comment.