oa/plot/type.gen.rs
1// @generated by tool/gen/fn/generate.py; DO NOT EDIT.
2// schema=plot_types.json schema_version=1 generator_version=64
3// schema_sha256=299e881625ce8a94c3009c73def321e5c1cebc8991adc5dc33a401519011aa6f
4use super::Theme;
5use crate::Color;
6#[derive(Clone, Debug)]
7pub struct FigureConfig {
8 pub title: String,
9 pub rows: i32,
10 pub cols: i32,
11 pub width: u32,
12 pub height: u32,
13 /// Horizontal spacing between axes cells in pixels.
14 pub h_spacing: i32,
15 /// Vertical spacing between axes cells in pixels.
16 pub v_spacing: i32,
17 /// Outer padding around the entire grid.
18 pub padding: i32,
19 /// Color theme (Dark or Light). Donor: `oa::plot::Theme`.
20 pub theme: Theme,
21 /// Override background color. Alpha-zero uses the theme background.
22 pub background: Color,
23}