8000 fix doc build maybe · matplotlib/matplotlib@b3f8d40 · GitHub
[go: up one dir, main page]

Skip to content

Commit b3f8d40

Browse files
committed
fix doc build maybe
1 parent 524e4f7 commit b3f8d40

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tutorials/text/annotations.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,14 @@
6464
#
6565
# .. _annotation_basic:
6666
#
67-
# Annotating with Text
68-
# ~~~~~~~~~~~~~~~~~~~~
67+
# Annotating data
68+
# ~~~~~~~~~~~~~~~
6969
#
7070
# For example to place the text coordinates in fractional axes
71-
# coordinates, one could do::
71+
# coordinates, one could do:
7272

7373
fig, ax = plt.subplots()
74-
ax.plot(3, 1)
74+
ax.scatter(3, 1, s=20)
7575
ax.annotate('local max', xy=(3, 1), xycoords='data',
7676
xytext=(0.8, 0.95), textcoords='axes fraction',
7777
arrowprops=dict(facecolor='black', shrink=0.05),
@@ -81,11 +81,11 @@
8181
#
8282
# .. _annotation_with_arrow:
8383
#
84-
# Annotating With Arrow
84+
# Annotating With Arrows
8585
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8686
#
87-
# Optionally, you can enable drawing of an arrow from the text to the annotated
88-
# point by giving a dictionary of arrow properties in the optional keyword
87+
# You can enable drawing of an arrow from the text to the annotated point
88+
# by giving a dictionary of arrow properties in the optional keyword
8989
# argument *arrowprops*.
9090
#
9191
# ==================== =====================================================

0 commit comments

Comments
 (0)
0