From 3e47c2cdfb890c1b4607c6a5a2555bb7b3d72662 Mon Sep 17 00:00:00 2001 From: Wil Carmon Date: Thu, 5 Sep 2024 21:36:27 -0400 Subject: [PATCH] Update histogram.rs --- src/plot/histogram.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plot/histogram.rs b/src/plot/histogram.rs index ac9d15e..2488209 100644 --- a/src/plot/histogram.rs +++ b/src/plot/histogram.rs @@ -36,7 +36,7 @@ pub struct Histogram { } /// A struct holding data to plot a Histogram of numerical data. -#[derive(Default)] +#[derive(Clone, Default)] pub struct HistogramOptions { /// `intervals` is the number of histogram buckets to display (capped to the /// length of input data).