Function create_graph

Source
fn create_graph<P: AsRef<Path>, S: Into<String>>(
    data: &BTreeMap<i16, u32>,
    contast: &BTreeMap<i16, u32>,
    output_path: &P,
    ylabel: Option<S>,
    xlabel: Option<S>,
)
Expand description

Creates a graph from a given data set Assumes that the data is sorted by the x value, and that the y value is a percentage