Expand description
Full-screen nnz cutoff picker for squeeze --interactive.
Shows the row and column nnz histograms with the current cutoff, and lets
the user move each cutoff with the keyboard while the drop counts update
live. Either histogram axis can be on a log, sqrt, or linear scale. On the
log scale the bins are the printed histogram’s (qc), and drop counts
always use the squeeze’s own rule, so all views agree.
Structs§
- Axis
View - One axis (rows or columns): the sorted nnz counts, their histogram, and the cutoff being edited.
- Cutoff
Picker - State of the picker, independent of the terminal so it can be tested.
Functions§
- choose_
cutoffs - Run the picker full screen until the user proceeds (the row and column
cutoffs) or cancels (
None).