mirror of
https://gitlab.com/feliix42/embedded-plots.git
synced 2024-11-21 17:36:30 +00:00
fix docs/tests
This commit is contained in:
parent
e6257b531b
commit
8b52680b0d
1 changed files with 3 additions and 1 deletions
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue