rustplot 0.1.0

A simple GUI based plotting library for Rust using GTK and Cairo.
1
2
3
4
5
6
7
8
9
10
11
12
extern crate rustplot;

use rustplot::data_parser;
use rustplot::chart_builder;
use rustplot::chart_builder::Chart;

#[test]
fn histogram_tests() {
    let data_1 = data_parser::get_num_col(1, 0, 1000, "./resources/histogram_tests.csv");
    let histogram_1 = chart_builder::Histogram::new(String::from("Test Histogram 1"), data_1.clone());
    histogram_1.draw();
}