Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* 🔨 minor refactoring

* Fix: pyecharts#1197

* Update: v1.2.1
  • Loading branch information
chenjiandongx authored Jun 19, 2019
1 parent f59b65a commit 723432b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
13 changes: 7 additions & 6 deletions install.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@
with open(os.path.join(here, "pyecharts", "_version.py")) as f:
exec(f.read(), about)

UNINSTALL = "{} uninstall pyecharts -y"
INSTALL = "{} install -U dist/pyecharts-{}-py3-none-any.whl --no-cache-dir"

os.system("python setup.py bdist_wheel")
os.system("pip uninstall pyecharts -y")
os.system(
"pip install -U dist/pyecharts-{}-py3-none-any.whl --no-cache-dir".format(
about["__version__"]
)
)
os.system(UNINSTALL.format("pip"))
os.system(UNINSTALL.format("pip3"))
os.system(INSTALL.format("pip", about["__version__"]))
os.system(INSTALL.format("pip3", about["__version__"]))
2 changes: 1 addition & 1 deletion pyecharts/_version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = "1.2.0"
__version__ = "1.2.1"
__author__ = "chenjiandongx"
2 changes: 2 additions & 0 deletions pyecharts/options/global_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,7 @@ def __init__(
max_: Union[str, Numeric, None] = None,
is_scale: bool = False,
splitline_opts: Union[SplitLineOpts, dict, None] = None,
axistick_opts: Union[AxisTickOpts, dict, None] = None,
axisline_opts: Union[AxisLineOpts, dict, None] = None,
axislabel_opts: Union[LabelOpts, dict, None] = None,
z: Optional[int] = None,
Expand All @@ -609,6 +610,7 @@ def __init__(
"max": max_,
"scale": is_scale,
"splitLine": splitline_opts,
"axisTick": axistick_opts,
"axisLine": axisline_opts,
"axisLabel": axislabel_opts,
"z": z,
Expand Down

0 comments on commit 723432b

Please sign in to comment.