def METHOD_NAME(self, plot, value_mapper, index_mapper):
    """Sets up a mapper for given plot"""
    plot.value_mapper = value_mapper
    value_mapper.range.add(plot.value)
    plot.index_mapper = index_mapper
    index_mapper.range.add(plot.index)