Skip to content

Commit 0f927c1

Browse files
timhoffmImportanceOfBeingErnest
authored andcommitted
Fix text position in Fancytextbox demo (#13611)
1 parent 1e91f11 commit 0f927c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/text_labels_and_annotations/fancytextbox_demo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
"""
77
import matplotlib.pyplot as plt
88

9-
plt.text(0.6, 0.5, "test", size=50, rotation=30.,
9+
plt.text(0.6, 0.7, "eggs", size=50, rotation=30.,
1010
ha="center", va="center",
1111
bbox=dict(boxstyle="round",
1212
ec=(1., 0.5, 0.5),
1313
fc=(1., 0.8, 0.8),
1414
)
1515
)
1616

17-
plt.text(0.5, 0.4, "test", size=50, rotation=-30.,
17+
plt.text(0.55, 0.6, "spam", size=50, rotation=-25.,
1818
ha="right", va="top",
1919
bbox=dict(boxstyle="square",
2020
ec=(1., 0.5, 0.5),

0 commit comments

Comments
 (0)