We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bae864 commit 51fa342Copy full SHA for 51fa342
examples/text_labels_and_annotations/font_family_rc.py
@@ -71,3 +71,14 @@ def print_text(text):
71
plt.rcParams["font.family"] = "monospace"
72
plt.rcParams["font.monospace"] = ["Menlo"]
73
print_text("Hello World! 05")
74
+
75
76
77
+#############################################################################
78
+#
79
+# Print all available fonts:
80
81
+import matplotlib.font_manager
82
+list_of_fonts = matplotlib.font_manager.findSystemFonts(fontpaths=None, fontext='ttf')
83
+for l in list_of_fonts:
84
+ print(l)
0 commit comments