Skip to content

Commit

Permalink
Debugging RectangleSelection after matplotlib API upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
perenon committed Jan 29, 2024
1 parent 888a3cb commit 4134b8b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def _release(self, event):

# check if drawn distance (if it exists) is not too small in
# either x or y-direction
if self._drawtype != "none" and (
if self.get_visible() and (
self.minspanx is not None and spanx < self.minspanx or self.minspany is not None and spany < self.minspany
):
for artist in self.artists:
Expand Down

0 comments on commit 4134b8b

Please sign in to comment.