Skip to content

Commit

Permalink
50 bins -> 100 bins histogram
Browse files Browse the repository at this point in the history
  • Loading branch information
Lennart authored and Lennart committed Jan 5, 2021
1 parent 7330028 commit b2f9cef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wisecondorX/newref_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit b2f9cef

Please sign in to comment.