Skip to content

Commit

Permalink
Merge pull request #155 from pllim/ginga-v4-compat
Browse files Browse the repository at this point in the history
MNT: Compatibility with Ginga 4.0.dev
  • Loading branch information
pllim authored Nov 11, 2022
2 parents 7a8ba86 + 2c680d3 commit 63b5bcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion astrowidgets/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 63b5bcb

Please sign in to comment.