Skip to content

Commit

Permalink
remove junky prints
Browse files Browse the repository at this point in the history
  • Loading branch information
ianhi committed Jul 1, 2021
1 parent 54ca152 commit 91f74c4
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions mpl_point_clicker/_clicker.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,14 +117,9 @@ def _update_legend_alpha(self):
def _clicked(self, event):
if not self._fig.canvas.widgetlock.available(self):
return
print('in clicked')
if event.inaxes is self.ax:
print('in inaxes')
print(event.button)
if event.button is MouseButton.LEFT:
print('in here!')
self._positions[self._current_class].append((event.xdata, event.ydata))
print(self._positions[self._current_class])
self._update_points(self._current_class)
elif event.button is MouseButton.RIGHT:
pos = self._positions[self._current_class]
Expand Down

0 comments on commit 91f74c4

Please sign in to comment.