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§
- Plot
Data - A container for all the data and configuration needed to generate a plot.
Functions§
- any_
value_ to_ f64 - Converts a Polars
AnyValueto anOption<f64>. - prepare_
plot_ data - Selects the X and Y series from a DataFrame and packages them for plotting.