fn bound_cell_offsets(
    hist: &repr::Histogram,
    x_axis: &axis::ContinuousAxis,
    face_width: u32,
) -> Vec<i32> {
    hist.bin_bounds
        .iter()
        .map(|&bound| value_to_axis_cell_offset(bound, x_axis, face_width))
        .collect()
}
/// Given a histogram object,
/// the total scale of the axis
/// and the number of face cells to work with,
/// return which cells will contain a bin bound
Given a histogram object,
the total scale of the axis
and the number of face cells to work with,
return which cells will contain a bin bound
Given a histogram object the total scale of the axis and the number of face cells to work with return which cells will contain a bin bound
fn bound_cell_offsets(
    hist: &repr::Histogram,
    x_axis: &axis::ContinuousAxis,
    face_width: u32,
) -> Vec<i32> {
    hist.bin_bounds
        .iter()
        .map(|&bound| value_to_axis_cell_offset(bound, x_axis, face_width))
        .collect()
}
fn bound_cell_offsets ( hist : & repr :: Histogram , x_axis : & axis :: ContinuousAxis , face_width : u32 , ) -> Vec < i32 > { hist . bin_bounds . iter ( ) . map ( | & bound | value_to_axis_cell_offset ( bound , x_axis , face_width ) ) . collect ( ) }
Given a histogram object,
the total scale of the axis
and the number of face cells to work with,
return which cells will contain a bin bound
Given a histogram object the total scale of the axis and the number of face cells to work with return which cells will contain a bin bound
hist
&repr::Histogram
x_axis
&axis::ContinuousAxis
face_width
u32
hist
&repr::Histogram
x_axis
&axis::ContinuousAxis
face_width
u32