quill 0.2.0

A lightweight Rust plotting library for creating simple SVG 2D plots
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::color::Color;

#[derive(Clone, Debug)]
pub struct AxisConfig {
    pub color: Color,
    pub line_width: f32,
}

impl Default for AxisConfig {
    fn default() -> Self {
        Self {
            color: Color::Black,
            line_width: 1.5,
        }
    }
}