From b2f9cef6888f94940d6ee4960321397008847f7e Mon Sep 17 00:00:00 2001 From: Lennart Date: Tue, 5 Jan 2021 14:35:31 +0100 Subject: [PATCH] 50 bins -> 100 bins histogram --- wisecondorX/newref_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wisecondorX/newref_tools.py b/wisecondorX/newref_tools.py index 4724890..90898b0 100644 --- a/wisecondorX/newref_tools.py +++ b/wisecondorX/newref_tools.py @@ -33,7 +33,7 @@ def train_gender_model(args, samples): if args.plotyfrac is not None: import matplotlib.pyplot as plt fig, ax = plt.subplots(figsize=(16, 6)) - ax.hist(y_fractions, bins=50, normed=True) + ax.hist(y_fractions, bins=100, normed=True) ax.plot(gmm_x, gmm_y, 'r-', label='Gaussian mixture fit') ax.set_xlim([0, 0.02]) ax.legend(loc='best')