def METHOD_NAME(self, event):
    metadata_changed_event = event.new
    if self.corr_renderer is None:
        return
    if (
        not isinstance(metadata_changed_event, dict)
        or "selections" not in metadata_changed_event
    ):
        return
    corr_index = self.corr_renderer.index
    selections = metadata_changed_event["selections"]
    if selections is None:
        corr_index.metadata.pop("selections", None)
        return
    else:
        low, high = selections
        data = self.times_ds.get_data()
        low_ndx = data.searchsorted(low)
        high_ndx = data.searchsorted(high)
        corr_index.metadata["selections"] = arange(
            low_ndx, high_ndx + 1, 1, dtype=int
        )
        self.corr_plot.request_redraw()