diff --git a/scripts/plot-job-timelines-ks.py b/scripts/plot-job-timelines-ks.py index 8af195f..812f42d 100755 --- a/scripts/plot-job-timelines-ks.py +++ b/scripts/plot-job-timelines-ks.py @@ -94,7 +94,7 @@ def plot(prefix, header, row): fsize = (8, 1 + 1.1 * len(labels)) fsizeFixed = (8, 2) - fsizeHist = (8, 4) + fsizeHist = (8, 6.5) pyplot.close('all') @@ -113,9 +113,8 @@ def plot(prefix, header, row): #g = sns.FacetGrid(tips, col="time", margin_titles=True) #bins = np.linspace(0, 60, 13) #g.map(plt.hist, "total_bill", color="steelblue", bins=bins) - - #ax = metrics.hist(sharex=True, grid = True, sharey=True, figsize=fsizeHist, bins=10) - ax = metrics.hist(grid = True, sharey=True, figsize=fsizeHist, bins=10) + ax = metrics.hist(grid = True, sharey=True, figsize=fsizeHist, bins=15, range=(0, 15)) + pyplot.xlim(0, 15) pyplot.savefig(prefix + "hist" + jobid + fileformat, bbox_inches='tight', dpi=150)