Skip to main content

Module dispatch

Module dispatch 

Source
Expand description

Argument parsing helpers shared by all plot backends.

Functionsยง

extract_file_arg
Splits off a trailing file-path argument from args.
extract_flat
Extracts a flat Vec<f64> from any numeric Value.
extract_matrix
Extracts a 2D matrix from a Value, returning flat row-major data and dimensions (data, nrows, ncols).
extract_style_and_file_arg
Splits off an optional trailing style and/or file-path argument from args.
extract_style_and_file_arg_min
Like extract_style_and_file_arg but with a caller-supplied min_data guard.
extract_vector
Extracts a flat Vec<f64> from a scalar or vector Value.