Skip to content

Commit 63b5bcb

Browse files
authored
Merge pull request #155 from pllim/ginga-v4-compat
MNT: Compatibility with Ginga 4.0.dev
2 parents 7a8ba86 + 2c680d3 commit 63b5bcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

astrowidgets/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ def _mouse_click_cb(self, viewer, event, data_x, data_y):
238238

239239
# NOTE: By always using CompoundObject, marker handling logic
240240
# is simplified.
241-
obj = self._marker(x=data_x, y=data_y)
241+
obj = self._marker(x=data_x, y=data_y, coord='data')
242242
objs.append(obj)
243243
viewer.canvas.add(self.dc.CompoundObject(*objs),
244244
tag=marker_name)

0 commit comments

Comments
 (0)