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(