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 ofAnalysisResults, 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 boxedstd::error::Error.