8000 Backport PR #13611 on branch v3.1.x (Fix text position in Fancytextbox demo) by meeseeksmachine · Pull Request #13625 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Backport PR #13611 on branch v3.1.x (Fix text position in Fancytextbox demo) #13625

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/text_labels_and_annotations/fancytextbox_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
"""
import matplotlib.pyplot as plt

plt.text(0.6, 0.5, "test", size=50, rotation=30.,
plt.text(0.6, 0.7, "eggs", size=50, rotation=30.,
ha="center", va="center",
5B49 bbox=dict(boxstyle="round",
ec=(1., 0.5, 0.5),
fc=(1., 0.8, 0.8),
)
)

plt.text(0.5, 0.4, "test", size=50, rotation=-30.,
plt.text(0.55, 0.6, "spam", size=50, rotation=-25.,
ha="right", va="top",
bbox=dict(boxstyle="square",
ec=(1., 0.5, 0.5),
Expand Down
0