Skip to content

fonts

fonts

Font detection and fallback utilities.

FONT_STACK = ['Charité Text Office', 'Charit? Text Office', 'Calibri', 'DejaVu Sans', 'sans-serif'] module-attribute

build_font_stack(preferred)

Return the font list for matplotlib's font.sans-serif rcParam.

check_font(font)

Return True if font is available on this system, else warn and return False.