回答編集履歴

1

上下移動や虫眼鏡のドラッグ中は探さないように

2017/12/06 08:28

投稿

8524ba23
8524ba23

スコア38352

test CHANGED
@@ -80,7 +80,7 @@
80
80
 
81
81
  vis = annot.get_visible()
82
82
 
83
- if event.inaxes == ax:
83
+ if event.inaxes == ax and event.button is None: # 上下移動や虫眼鏡のドラッグ中は探さない
84
84
 
85
85
  cont, ind = sc.contains(event)
86
86