use super::ColorMap;
#[derive(Debug, Clone)]
pub struct TensorPlotConfig {
pub colormap: ColorMap,
pub normalize: bool,
pub aspect: String,
pub title: Option<String>,
pub show_colorbar: bool,
pub show_axes: bool,
pub figsize: (f32, f32),
pub dpi: u32,
}
impl Default for TensorPlotConfig {
fn default() -> Self {
Self {
colormap: ColorMap::default(),
normalize: true,
aspect: "equal".to_string(),
title: None,
show_colorbar: true,
show_axes: true,
figsize: (8.0, 6.0),
dpi: 100,
}
}
}