8000 Fix one more failing doc example · matplotlib/matplotlib@c0995e5 · GitHub
[go: up one dir, main page]

Skip to content

Commit c0995e5

Browse files
committed
Fix one more failing doc example
1 parent b248596 commit c0995e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/pyplots/annotate_transform.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
ax.set_ylim(-1, 1)
1212

1313
xdata, ydata = 5, 0
14-
xdisplay, ydisplay = ax.transData.transform((xdata, ydata))
14+
xdisplay, ydisplay = ax.transData.transform_point((xdata, ydata))
1515

1616
bbox = dict(boxstyle="round", fc="0.8")
1717
arrowprops = dict(

0 commit comments

Comments
 (0)
0