Logo Search packages:      
Sourcecode: matplotlib version File versions

matplotlib::font_manager::FontManager Class Reference

List of all members.

Detailed Description

On import, the FontManager creates a dictionary of TrueType
fonts based on the font properties: name, style, variant, weight,
stretch, and size.  The findfont() method searches this dictionary
for a font file name that exactly matches the font properties of the
specified text.  If none is found, a default font is returned.  By
updating the dictionary with the properties of the found font, the
font dictionary can act like a font cache.

Definition at line 854 of file font_manager.py.

Public Member Functions

def __init__
def findfont
def get_default_size
def get_default_weight
def set_default_size
def set_default_weight
def update_fonts

Public Attributes


Private Attributes


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index