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 TitleConfig {
    pub font_size: f32,
    pub color: Color,
}

impl Default for TitleConfig {
    fn default() -> Self {
        Self {
            font_size: 20.0,
            color: Color::Black,
        }
    }
}