We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c4bb391 + b3304d2 commit 7e58197Copy full SHA for 7e58197
lib/matplotlib/contour.py
@@ -67,7 +67,7 @@ def _contour_labeler_event_handler(cs, inline, inline_spacing, event):
67
elif (is_button and event.button == MouseButton.LEFT
68
# On macOS/gtk, some keys return None.
69
or is_key and event.key is not None):
70
- if event.inaxes == cs.ax:
+ if event.inaxes == cs.axes:
71
cs.add_label_near(event.x, event.y, transform=False,
72
inline=inline, inline_spacing=inline_spacing)
73
canvas.draw()
0 commit comments