diff --git a/galleries/examples/showcase/anatomy.py b/galleries/examples/showcase/anatomy.py index 52a20b66f0c4..b1fbde9c8d7b 100644 --- a/galleries/examples/showcase/anatomy.py +++ b/galleries/examples/showcase/anatomy.py @@ -72,7 +72,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'