Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 286d738

Browse files
committed
doc build maybe + code formatting
1 parent d6e6edb commit 286d738

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tutorials/text/annotations.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
# ~~~~~~~~~~~~~~~
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()
7474
ax.scatter(3, 1, s=20)
@@ -158,9 +158,9 @@
158158
# `~.Axes.text` takes a *bbox* keyword argument, which draws a box around the
159159
# text::
160160
#
161-
# t = ax.text(
162-
# 0, 0, "Direction", ha="center", va="center", rotation=45, size=15,
163-
# bbox=dict(boxstyle="rarrow,pad=0.3", fc="cyan", ec="b", lw=2))
161+
# t = ax.text(0, 0, "Direction", ha="center", va="center", rotation=45,
162+
# size=15, bbox=dict(boxstyle="rarrow,pad=0.3", fc="cyan", ec="b", lw=2)
163+
# )
164164
#
165165
# The patch object associated with the text can be accessed by::
166166
#
@@ -405,7 +405,7 @@
405405
# ~~~~~~~~~~~~~~~~~~~~~~
406406
#
407407
# You can use a custom box style. The value for the ``boxstyle`` can be a
408-
# callable object in the following forms.::
408+
# callable object in the following forms. ::
409409
#
410410
# def __call__(self, x0, y0, width, height, mutation_size,
411411
# aspect_ratio=1.):

0 commit comments

Comments
 (0)