From febab954d6d39a3b25261a72ff1c0b238af4b881 Mon Sep 17 00:00:00 2001 From: hannah Date: Wed, 5 Jul 2023 21:47:35 -0400 Subject: [PATCH] Backport PR #26266: DOC: Use consistent font for anatomy example --- examples/showcase/anatomy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/showcase/anatomy.py b/examples/showcase/anatomy.py index f53aa2bb9d9e..c8c4fab6e721 100644 --- a/examples/showcase/anatomy.py +++ b/examples/showcase/anatomy.py @@ -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'