def plot_timeseries(grouping="", subgrouping=""): input_files_glob = "*task_ct.timeseries.csv" ## this is actually a globbing pattern outfile = "task_ct" legend = True datasources = 1 ## this is weird, but an artifact of plot_from_csv. bar_chart_from_csv is more sane. title = "Task Count by Treatment" xlabel = "Updates" ylabel = "Task Count" ploterror = True xtickinterval = 50 ## maybe make this saner or configurable at some point, but all my stuff is this right now type = "median_only" return cg.plot_timeseries(input_files_glob, outfile, grouping=grouping, subgrouping=subgrouping, legend=legend, datasources=datasources, title=title, xlabel=xlabel, ylabel=ylabel, ploterror=ploterror, xtickinterval=xtickinterval, type=type)
def plot_timeseries( grouping="", subgrouping="" ): input_files_glob = "*fitness.timeseries.csv" ## this is actually a globbing pattern outfile = "fitness" legend = True datasources = 1 ## this is weird, but an artifact of plot_from_csv. bar_chart_from_csv is more sane. title = "Fitness by Treatment" xlabel = "Updates" ylabel = "Fitness" ploterror = True xtickinterval = 50 ## maybe make this saner or configurable at some point, but all my stuff is this right now type = "median_only" return cg.plot_timeseries( input_files_glob, outfile, grouping=grouping, subgrouping=subgrouping, legend=legend, datasources=datasources, title=title, xlabel=xlabel, ylabel=ylabel, ploterror=ploterror, xtickinterval=xtickinterval, type=type )