Script gefixt

master
Julian M. Kunkel 2020-09-05 17:48:44 +01:00
parent f146de0e30
commit ee1ab64914
1 changed files with 3 additions and 4 deletions

View File

@ -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)