@cli.command()
@click.argument('result-file', type=click.Path(exists=True), required=True)
def plot(result_file):
 results_df = pd.read_pickle(result_file)
 show_draw_result(result_file, results_df)

@ cli . command ( ) @ click . argument ( 'result-file' , type = click . Path ( exists = True ) , required = True ) def plot ( result_file ) : results_df = pd . read_pickle ( result_file ) show_draw_result ( result_file , results_df )
plot data from files written by a cmadatalogger .