in scripts/plot.py [0:0]
def make_plots(all_logdirs, legend=None, xaxis=None, values=None, count=False,
font_scale=1.5, smooth=1, select=None, exclude=None, estimator='mean',
paper=False, hidelegend=False, title=None, savedir=None, show=True,
clear_xticks=False):
data = get_all_datasets(all_logdirs, legend, select, exclude)
values = values if isinstance(values, list) else [values]
condition = 'Condition2' if count else 'Condition1'
estimator = getattr(np, estimator) # choose what to show on main curve: mean? max? min?
for value in values:
plt.figure()
plot_data(data, xaxis=xaxis, value=value, condition=condition,
smooth=smooth, estimator=estimator,
paper=paper, hidelegend=hidelegend,
title=title, savedir=savedir,
clear_xticks=clear_xticks)
if show:
plt.show()