From ee1ab64914f1585caa1414e991468e6fc2aa8579 Mon Sep 17 00:00:00 2001 From: "Julian M. Kunkel" Date: Sat, 5 Sep 2020 17:48:44 +0100 Subject: [PATCH] Script gefixt --- scripts/plot-job-timelines-ks.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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)