def _set_cursor_prefs(self, event, **kwargs):
        if event.key == 'w':
            self._display_coords_index += 1
            if len(self._all_coords) > self._display_coords_index + 1:
                self._display_coords_index = -1
dataset/ETHPy150Open glue-viz/glue/glue/external/wcsaxes/core.py/WCSAxes._set_cursor_prefs/swapped operands of `>`