Skip to content

Commit

Permalink
Merge pull request #2026 from astrofrog/fix-roi-dragging
Browse files Browse the repository at this point in the history
Fix dragging of existing ROIs
  • Loading branch information
astrofrog authored Jun 21, 2019
2 parents c1c2994 + 1c3709e commit 646d31d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glue/core/roi.py
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ class AbstractMplRoi(object):

def __init__(self, axes, roi=None):
self._axes = axes
self._roi = self._roi_cls()
self._roi = roi or self._roi_cls()
self._previous_roi = None
self._mid_selection = False
self._scrubbing = False
Expand Down

0 comments on commit 646d31d

Please sign in to comment.