Logo Search packages:      
Sourcecode: matplotlib version File versions

def matplotlib::font_manager::OSXFontDirectory (  ) 

Return the system font directories for OS X.

Definition at line 164 of file font_manager.py.

00164                       :
    """Return the system font directories for OS X."""

    fontpaths = []
    def add(arg,directory,files):
    for fontdir in OSXFontDirectories:
            if os.path.isdir(fontdir):
                os.path.walk(fontdir, add, None)
        except (IOError, OSError, TypeError, ValueError):
    return fontpaths

def OSXInstalledFonts(directory=None, fontext='ttf'):

Generated by  Doxygen 1.6.0   Back to index