From 8b52680b0d635d08c1fc45078af2376595d9a1ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Le=C5=9Bnia=C5=84ski?= Date: Sat, 13 Aug 2022 20:43:29 +0200 Subject: [PATCH] fix docs/tests --- src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 07f3f4d..1d14c73 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -41,8 +41,10 @@ //! ]; //! let curve = Curve::from_data(data.as_slice()); //! +//! let curves = [(curve, RgbColor::YELLOW)]; +//! //! let plot = SinglePlot::new( -//! &curve, +//! &curves, //! Scale::RangeFraction(3), //! Scale::RangeFraction(2)) //! .into_drawable(