pub fn bar_x_ticks(min: FloatType, max: FloatType) -> Vec<i64>Expand description
The x ticks a horizontal bar graph makes for itself when it is given
none: music21’s GraphHorizontalBar.renderSubplot.
use music21::graph::primitives::bar_x_ticks;
assert_eq!(bar_x_ticks(0.0, 20.0), vec![0, 2, 4, 6, 8, 10, 12, 14, 16, 18]);