Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yiliuyan161 committed Oct 26, 2023
1 parent ff3b9ff commit 2f60b49
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
8 changes: 4 additions & 4 deletions chartspy/echarts.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,8 @@ def render_notebook(self) -> Html:
html = f"""
<style>
#{plot.plot_id} {{
width:{{plot.width}};
height:{{plot.height}};
width:{plot.width};
height:{plot.height};
}}
</style>
<div id="{plot.plot_id}"></div>
Expand Down Expand Up @@ -347,8 +347,8 @@ def render_html(self) -> str:
<title></title>
<style>
#{plot.plot_id} {{
width:{ {plot.width} };
height:{ {plot.height} };
width:{plot.width} ;
height:{plot.height} ;
}}
</style>
<script type="text/javascript" src="{plot.js_url}"></script>
Expand Down
4 changes: 2 additions & 2 deletions chartspy/g2plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ def render_notebook(self) -> Html:
</script>
<style>
#{plot.plot_id} {{
width:{{plot.width}};
height:{{plot.height}};
width:{plot.width};
height:{plot.height};
}}
</style>
<div id="{plot.plot_id}"></div>
Expand Down
6 changes: 4 additions & 2 deletions 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.1.3",
version="2.1.5",
url="https://chartspy.icopy.site/",
description="echarts g2plot klinechart highcharts tabulator python wrapper",
keywords='echarts g2plot klinechart highcharts tabulator python ',
Expand All @@ -45,7 +45,9 @@ def get_install_requires():
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10'
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12'
],
)

0 comments on commit 2f60b49

Please sign in to comment.