ticks

support.graphics.ticks(axis, axis_limits, new_limits, tick_range, label_format)

Label an axis with different units from the data

This puts value labels on a linear axis in units which are different from the data units. Given an axis (X or Y) with data limits given by axis_limits (a min, max tuple), assign the axis a new range given by new_limits (a min, max tuple) and place ticks on the range tick_range (min, max, step tuple) with the specified format.

:param axis : one of “xXyY” :type axis : str

:param axis_limits : data values at the ends of the axis :type axis_limits : tuple (float, float)

:param new_limits : values at axis ends for label values :type new_limits : tuple (float, float)

:param tick_range : min, max and step values for tick locations :type tick_range : tuple (float, float, float)

:param label_format : format string for a single value :type label_format : str