From b59efea13953884eaef589bcae295a7ff97e0605 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jose=20Nu=C3=B1ez?= Date: Tue, 24 Oct 2023 12:16:20 +0200 Subject: [PATCH] scott for calculating bins --- src/vse_sync_pp/plot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vse_sync_pp/plot.py b/src/vse_sync_pp/plot.py index ccd5560..1c115ae 100644 --- a/src/vse_sync_pp/plot.py +++ b/src/vse_sync_pp/plot.py @@ -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)