Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81e9559 commit 71d50ecCopy full SHA for 71d50ec
1 file changed
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