even simpler api?
tiby312 opened this issue · comments
Ken Reed commented
Something like:
use poloto::build::line;
let l1 = line("σ = 1.0", range.clone().map(|x| [x, g1(x)]));
let l2 = line("σ = 0.5", range.clone().map(|x| [x, g2(x)]));
let l3 = line("σ = 0.3", range.clone().map(|x| [x, g3(x)]));
let m = poloto::build::origin();
let p = simple_fmt2!("gaussian", "x", "y",l1, l2, l3, m);
with a sibling simple_fmt2_opt!
macro that allows for render options?
Ken Reed commented
done. called it quick_fmt