Skip to content

Commit

Permalink
fix #109
Browse files Browse the repository at this point in the history
  • Loading branch information
wh1100717 committed Apr 27, 2017
1 parent 01a5aa0 commit 32e70a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rqalpha/mod/rqalpha_mod_sys_analyser/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,14 @@ def load_mod():
@click.argument('result_pickle_file_path', type=click.Path(exists=True), required=True)
@click.option('--show/--hide', 'show', default=True)
@click.option('--plot-save', 'plot_save_file', default=None, type=click.Path(), help="save plot result to file")
def plot(result_dict_file, show, plot_save_file):
def plot(result_pickle_file_path, show, plot_save_file):
"""
[sys_analyser] draw result DataFrame
"""
import pandas as pd
from .plot import plot_result

result_dict = pd.read_pickle(result_dict_file)
result_dict = pd.read_pickle(result_pickle_file_path)
plot_result(result_dict, show, plot_save_file)


Expand Down

0 comments on commit 32e70a0

Please sign in to comment.