Function generate_plots

Source
pub fn generate_plots(
    results: &[AnalysisResults],
    output_dir: &Path,
) -> Result<(), Box<dyn Error>>
Expand description

Generates all plots for the analysis results.

This function acts as a wrapper to generate multiple plots, including the split comparison plot.

§Arguments

  • results - A slice of AnalysisResults, one for each analyzed file.
  • output_dir - The directory where the plot files will be written.

§Returns

  • Result<(), Box<dyn std::error::Error>> - Ok if successful, otherwise a boxed std::error::Error.