Skip to content

Commit

Permalink
scott for calculating bins
Browse files Browse the repository at this point in the history
  • Loading branch information
jnunyez committed Oct 24, 2023
1 parent b03fedc commit c64b213
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vse_sync_pp/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def _plot_scatter(self, ax):
def _plot_hist(self, ax):
counts, bins = np.histogram(
np.array(self._y_data, dtype=float),
bins='fd'
bins='scott'
)
ax.hist(bins[:-1], bins, weights=counts)
self._set_yscale(ax)
Expand Down

0 comments on commit c64b213

Please sign in to comment.