flow_plots/plots/mod.rs
1pub mod density;
2pub mod traits;
3
4pub use density::DensityPlot;
5pub use traits::Plot;
6
7/// Plot type enumeration
8///
9/// This enum can be used to dispatch to different plot implementations.
10/// However, for better type safety and extensibility, prefer using the
11/// `Plot` trait directly with specific plot types.
12#[derive(Debug, Clone, Copy, PartialEq, Eq)]
13pub enum PlotType {
14 /// Dot plot (scatter plot)
15 Dot,
16 /// Density plot (2D histogram)
17 Density,
18 /// Contour plot
19 Contour,
20 /// Zebra plot
21 Zebra,
22 /// Histogram plot
23 Histogram,
24}