MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / font_is_installed

Function font_is_installed

lib/matplotlib/backends/qt_editor/_formlayout.py:132–135  ·  view source on GitHub ↗

Check if font is installed

(font)

Source from the content-addressed store, hash-verified

130
131
132def font_is_installed(font):
133 """Check if font is installed"""
134 return [fam for fam in QtGui.QFontDatabase().families()
135 if str(fam) == font]
136
137
138def tuple_to_qfont(tup):

Callers 1

tuple_to_qfontFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…