1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
//! Rust plotting library using Python (Matplotlib)
//!
//! # Examples
//!
//! ```
//! use plotpy::*;
//! let x = &[1.0, 2.0, 3.0, 4.0, 5.0];
//! let y = &[1.0, 4.0, 9.0, 16.0, 25.0];
//! let mut plt = Plot::new();
//! plt.scatter(x, y);
//! plt.save("/tmp/plotpy", "example", "svg");
//! ```

// modules ////////////////////////////////////////
mod arrays;
mod basic;
mod constants;
mod fileio;
mod plot;
pub use crate::constants::*;
pub use crate::fileio::*;
pub use crate::plot::*;