请尝试以下 *** 作:
>>> import matplotlib.font_manager>>> [f.name for f in matplotlib.font_manager.fontManager.ttflist]['cmb10', 'cmex10', 'STIXNonUnipre', 'STIXNonUnipre', 'STIXSizeThreeSym', 'STIXSizeTwoSym', 'cmtt10', 'STIXGeneral', 'STIXSizeThreeSym', 'STIXSizeFiveSym', 'STIXSizeOneSym', 'STIXGeneral', 'cmr10', 'STIXSizeTwoSym', ...]>>> [f.name for f in matplotlib.font_manager.fontManager.afmlist]['Helvetica', 'ITC Zapf Chancery', 'Palatino', 'Utopia', 'Helvetica', 'Helvetica', 'ITC Bookman', 'Courier', 'Helvetica', 'Times', 'Courier', 'Helvetica', 'Utopia', 'New Century Schoolbook', ...]
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)