fn tick_offset_map(axis: &axis::ContinuousAxis, face_width: u32) -> HashMap<i32, f64> {
    axis.ticks()
        .iter()
        .map(|&tick| (value_to_axis_cell_offset(tick, axis, face_width), tick))
        .collect()
}
/// Given a list of ticks to display,
/// the total scale of the axis
/// and the number of face cells to work with,
/// create a mapping of cell offset to tick value
Given a list of ticks to display,
the total scale of the axis
and the number of face cells to work with,
create a mapping of cell offset to tick value
Given a list of ticks to display the total scale of the axis and the number of face cells to work with create a mapping of cell offset to tick value
fn tick_offset_map(axis: &axis::ContinuousAxis, face_width: u32) -> HashMap<i32, f64> {
    axis.ticks()
        .iter()
        .map(|&tick| (value_to_axis_cell_offset(tick, axis, face_width), tick))
        .collect()
}
fn tick_offset_map ( axis : & axis :: ContinuousAxis , face_width : u32 ) -> HashMap < i32 , f64 > { axis . ticks ( ) . iter ( ) . map ( | & tick | ( value_to_axis_cell_offset ( tick , axis , face_width ) , tick ) ) . collect ( ) }
Given a list of ticks to display,
the total scale of the axis
and the number of face cells to work with,
create a mapping of cell offset to tick value
Given a list of ticks to display the total scale of the axis and the number of face cells to work with create a mapping of cell offset to tick value
axis
&axis::ContinuousAxis
face_width
u32
axis
&axis::ContinuousAxis
face_width
u32