Skip to content

Backport PR #26266 on branch v3.7.2-doc (DOC: Use consistent font for anatomy example) #26268

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
2 changes: 1 addition & 1 deletion examples/showcase/anatomy.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def annotate(x, y, text, code):
color = 'white' if path_effects else royal_blue
ax.text(x, y-0.2, text, zorder=100,
ha='center', va='top', weight='bold', color=color,
style='italic', fontfamily='Courier New',
style='italic', fontfamily='monospace',
path_effects=path_effects)

color = 'white' if path_effects else 'black'
Expand Down