fix docs/tests

This commit is contained in:
Kacper Leśniański 2022-08-13 20:43:29 +02:00
parent e6257b531b
commit 8b52680b0d
No known key found for this signature in database
GPG key ID: 10278258F8CAA50B

View file

@ -41,8 +41,10 @@
//! ]; //! ];
//! let curve = Curve::from_data(data.as_slice()); //! let curve = Curve::from_data(data.as_slice());
//! //!
//! let curves = [(curve, RgbColor::YELLOW)];
//!
//! let plot = SinglePlot::new( //! let plot = SinglePlot::new(
//! &curve, //! &curves,
//! Scale::RangeFraction(3), //! Scale::RangeFraction(3),
//! Scale::RangeFraction(2)) //! Scale::RangeFraction(2))
//! .into_drawable( //! .into_drawable(