Module processing

Module processing 

Source
Expand description

This module handles the logic for selecting and preparing data for plotting.

It takes a raw DataFrame and the parsed command-line arguments to determine which column should be used for the X-axis and which columns for the Y-axis. It also resolves the plot title and other plot-specific configurations.

Structs§

PlotData
A container for all the data and configuration needed to generate a plot.

Functions§

any_value_to_f64
Converts a Polars AnyValue to an Option<f64>.
prepare_plot_data
Selects the X and Y series from a DataFrame and packages them for plotting.