From 771dcf0ea1e829e30de7deec07d1da9dd5abb081 Mon Sep 17 00:00:00 2001 From: Colin Maudry Date: Fri, 20 Mar 2026 11:32:50 +0100 Subject: [PATCH] Moins de barres dans l'histogramme distances #65 --- src/figures.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/figures.py b/src/figures.py index 11f5b0a..a6bd1dd 100644 --- a/src/figures.py +++ b/src/figures.py @@ -594,7 +594,7 @@ def get_distance_histogram(lff: pl.LazyFrame) -> dcc.Graph: fig = go.Figure() if len(log_distances) > 0: - counts, bin_edges = np.histogram(log_distances, bins=50) + counts, bin_edges = np.histogram(log_distances, bins=25) bin_centers = (bin_edges[:-1] + bin_edges[1:]) / 2 bin_widths = bin_edges[1:] - bin_edges[:-1] bin_edges_km = 10.0**bin_edges