diff --git a/astrowidgets/core.py b/astrowidgets/core.py index 0cd9464..f056600 100644 --- a/astrowidgets/core.py +++ b/astrowidgets/core.py @@ -238,7 +238,7 @@ def _mouse_click_cb(self, viewer, event, data_x, data_y): # NOTE: By always using CompoundObject, marker handling logic # is simplified. - obj = self._marker(x=data_x, y=data_y) + obj = self._marker(x=data_x, y=data_y, coord='data') objs.append(obj) viewer.canvas.add(self.dc.CompoundObject(*objs), tag=marker_name)