SourceForge logo
SourceForge logo
Menu

matplotlib-users — Discussion related to using matplotlib

You can subscribe to this list here.

2003 Jan
Feb
Mar
Apr
May
(3)
Jun
Jul
Aug
(12)
Sep
(12)
Oct
(56)
Nov
(65)
Dec
(37)
2004 Jan
(59)
Feb
(78)
Mar
(153)
Apr
(205)
May
(184)
Jun
(123)
Jul
(171)
Aug
(156)
Sep
(190)
Oct
(120)
Nov
(154)
Dec
(223)
2005 Jan
(184)
Feb
(267)
Mar
(214)
Apr
(286)
May
(320)
Jun
(299)
Jul
(348)
Aug
(283)
Sep
(355)
Oct
(293)
Nov
(232)
Dec
(203)
2006 Jan
(352)
Feb
(358)
Mar
(403)
Apr
(313)
May
(165)
Jun
(281)
Jul
(316)
Aug
(228)
Sep
(279)
Oct
(243)
Nov
(315)
Dec
(345)
2007 Jan
(260)
Feb
(323)
Mar
(340)
Apr
(319)
May
(290)
Jun
(296)
Jul
(221)
Aug
(292)
Sep
(242)
Oct
(248)
Nov
(242)
Dec
(332)
2008 Jan
(312)
Feb
(359)
Mar
(454)
Apr
(287)
May
(340)
Jun
(450)
Jul
(403)
Aug
(324)
Sep
(349)
Oct
(385)
Nov
(363)
Dec
(437)
2009 Jan
(500)
Feb
(301)
Mar
(409)
Apr
(486)
May
(545)
Jun
(391)
Jul
(518)
Aug
(497)
Sep
(492)
Oct
(429)
Nov
(357)
Dec
(310)
2010 Jan
(371)
Feb
(657)
Mar
(519)
Apr
(432)
May
(312)
Jun
(416)
Jul
(477)
Aug
(386)
Sep
(419)
Oct
(435)
Nov
(320)
Dec
(202)
2011 Jan
(321)
Feb
(413)
Mar
(299)
Apr
(215)
May
(284)
Jun
(203)
Jul
(207)
Aug
(314)
Sep
(321)
Oct
(259)
Nov
(347)
Dec
(209)
2012 Jan
(322)
Feb
(414)
Mar
(377)
Apr
(179)
May
(173)
Jun
(234)
Jul
(295)
Aug
(239)
Sep
(276)
Oct
(355)
Nov
(144)
Dec
(108)
2013 Jan
(170)
Feb
(89)
Mar
(204)
Apr
(133)
May
(142)
Jun
(89)
Jul
(160)
Aug
(180)
Sep
(69)
Oct
(136)
Nov
(83)
Dec
(32)
2014 Jan
(71)
Feb
(90)
Mar
(161)
Apr
(117)
May
(78)
Jun
(94)
Jul
(60)
Aug
(83)
Sep
(102)
Oct
(132)
Nov
(154)
Dec
(96)
2015 Jan
(45)
Feb
(138)
Mar
(176)
Apr
(132)
May
(119)
Jun
(124)
Jul
(77)
Aug
(31)
Sep
(34)
Oct
(22)
Nov
(23)
Dec
(9)
2016 Jan
(26)
Feb
(17)
Mar
(10)
Apr
(8)
May
(4)
Jun
(8)
Jul
(6)
Aug
(5)
Sep
(9)
Oct
(4)
Nov
Dec
2017 Jan
(5)
Feb
(7)
Mar
(1)
Apr
(5)
May
Jun
(3)
Jul
(6)
Aug
(1)
Sep
Oct
(2)
Nov
(1)
Dec
2018 Jan
Feb
Mar
Apr
(1)
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2020 Jan
Feb
Mar
Apr
May
(1)
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2025 Jan
(1)
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
S M T W T F S



1
(8)
2
(2)
3
(11)
4
(11)
5
(3)
6
(3)
7
(8)
8
(1)
9
(10)
10
(16)
11
(1)
12
(8)
13
(21)
14
(13)
15
(15)
16
(6)
17
(12)
18
(2)
19
(6)
20
(6)
21
(5)
22
(2)
23
(9)
24
25
26
(2)
27
(3)
28
(2)
29
(10)
30
(2)
31
(4)

Showing 3 results of 3

From: Michael D. <md...@st...> - 2010年12月06日 13:46:06
This is the font file that matplotlib is having trouble with:
/home/michael/.fonts/kai26.afm
Google doesn't answer my question about what that font is (in fact, the 
first result is this e-mail thread!!!) Can you send it to me off-list 
so I can investigate further?
Mike
On 12/04/2010 02:06 AM, Daoliang Tan wrote:
> Right now, I am not sure whether I am a member of the matplotlib-user 
> maillist. Since I don't receive any indication about the successful 
> application as other maillists did. But after googling, I find the 
> reply from Michael Droettboom. I really appreciate your kind help. 
> Based on your hints and suggestions, the command "ipython -pylab 
> --verbose-debug" produces the following outputs (sorry for this large 
> bunch block and I will explicitly give you the requried value of 
> "fpath" on line 578 of font_manager.py ) :
> ===============================================================================================================================================
> $HOME=/home/michael
> CONFIGDIR=/home/michael/.matplotlib
> matplotlib data path /usr/share/matplotlib/mpl-data
> loaded rc file /etc/matplotlibrc
> matplotlib version 0.99.3
> verbose.level debug
> interactive is False
> units is False
> platform is linux2
> loaded modules: ['numpy.core.info <http://numpy.core.info>', 
> 'IPython.iplib', 'ctypes.os', 'gc', 'matplotlib.tempfile', 
> 'distutils.sysconfig', 'types', 'IPython.ConfigLoader', 
> 'numpy.polynomial.exceptions', 'numpy.fft.types', 'numpy.ma.operator', 
> 'pprint', 'numpy.core.umath', 'matplotlib.matplotlib', 'string', 
> 'matplotlib.locale', 'numpy.lib.arraysetops', 'encodings.utf_8', 
> 'IPython.Debugger', 'datetime', 'numpy.core.machar', 'cmd', 
> 'numpy.ma.extras', 'numpy.fft.fftpack_lite', 'shlex', 
> 'IPython.testing.decorator_msim', 'IPython.excolors', 'dis', 
> 'numpy.numpy', 'IPython.external.simplegeneric', 'IPython.types', 
> 'numpy.lib.sys', 'numpy.ma.itertools', 'abc', 'bdb', 
> 'numpy.matrixlib.sys', 'matplotlib.sys', 'numpy.lib._compiled_base', 
> 'new', 'numpy.random.mtrand', 'IPython.external.fnmatch', 'xml', 
> 'optparse', '_ctypes', 'numpy.fft.numpy', 'exceptions', 'codecs', 
> 'numpy.os', 'matplotlib.sre_constants', 'matplotlib.os', 'StringIO', 
> 'IPython.platform', 'IPython.external.pwd', 'weakref', 
> 'numpy.core._internal', 'doctest', 'IPython.tokenize', 
> 'distutils.sys', 'numpy.matrixlib.numpy', 'base64', 'IPython.Release', 
> '_sre', 'matplotlib.re <http://matplotlib.re>', 'IPython', 'select', 
> 'ctypes._ctypes', '_heapq', 'numpy.lib.financial', 'binascii', 
> 'IPython.sys', 'IPython.genutils', 'tokenize', 'numpy.core.numpy', 
> 'numpy.polynomial.chebyshev', 'cPickle', 'IPython.macro', 
> 'IPython.string', 'matplotlib.pyparsing', 'numpy.core.fromnumeric', 
> 'numpy.ctypeslib', 'encodings.aliases', 'fnmatch', 'sre_parse', 
> 'pickle', 'IPython.prefilter', 'xml.sax.types', 
> 'numpy.lib.polynomial', 'numpy.compat', 'IPython.ipstruct', 
> 'IPython.inspect', 'numpy.core.records', 
> 'IPython.testing.decorators_numpy', 'strop', 'numpy.core.numeric', 
> 'IPython.shutil', 'IPython.Extensions.pickleshare', 'IPython.Logger', 
> 'IPython.subprocess', 'numpy.lib.utils', 'numpy.core.__builtin__', 
> 'codeop', 'numpy.lib.arrayterator', 'os.path', 'IPython.DPyGetOpt', 
> 'functools', 'numpy.core.numerictypes', 'numpy.ma.cPickle', 
> 'matplotlib.copy', 'numpy.matrixlib.defmatrix', 'tempfile', 
> 'IPython.doctest', 'IPython.external.md5', 'imp', 'IPython.pdb', 
> 'IPython.rlineimpl', 'numpy.core.scalarmath', 'numpy.linalg.info 
> <http://numpy.linalg.info>', 'matplotlib.__future__', 
> 'IPython.thread', 'IPython.Itpl', 'numpy.core.os', 
> 'IPython.Extensions.time', 'numpy.lib._datasource', 'token', 
> 'IPython.testing.sys', 'IPython.new', 'cStringIO', 'numpy.polynomial', 
> 'matplotlib.StringIO', 'IPython.platutils_posix', 'numpy.add_newdocs', 
> 'IPython.commands', 'encodings', 'IPython.threading', 
> 'numpy.lib.numpy', 're', 'IPython.external.string', 
> 'numpy.polynomial.polyutils', 'math', 'numpy.ma.warnings', 
> 'IPython.Queue', 'numpy.lib.warnings', 'ctypes.struct', 
> 'numpy.core.sys', 'md5', '_locale', 'thread', 'IPython.StringIO', 
> 'traceback', 'errno', 'IPython.traceback', '_collections', 
> 'matplotlib.traceback', 'IPython.Shell', 'xml.sax.sys', 
> 'numpy.random', 'numpy.linalg.numpy', 'IPython.external.tokenize', 
> 'numpy.lib.twodim_base', 'ctypes.sys', 'matplotlib.datetime', 
> 'posixpath', 'numpy.lib.re <http://numpy.lib.re>', 'IPython.re', 
> 'numpy.core.arrayprint', 'IPython.getopt', 'IPython.token', 
> 'numpy.lib.stride_tricks', 'numpy.lib.scimath', 'xml.sax.os', 
> '_codecs', 'numpy.lib.operator', 'numpy.__config__', 
> 'numpy.lib.ufunclike', 'copy', 'hashlib', 'keyword', 
> 'IPython.linecache', 'xml.sax.saxutils', 'posix', '_curses', 
> 'numpy.core.ctypes', 'IPython.OutputTrap', 'sre_compile', '_hashlib', 
> 'IPython.PyColorize', 'IPython.Extensions.warnings', 
> 'numpy._import_tools', 'IPython.history', '__main__', 'numpy.fft.info 
> <http://numpy.fft.info>', 'numpy.sys', 'IPython.bisect', 
> 'encodings.codecs', 'curses.curses', 'IPython.external.codecs', 
> 'IPython.readline', '_ssl', 'numpy.lib.index_tricks', 'warnings', 
> 'glob', 'IPython.ColorANSI', 'numpy.lib.os', 'matplotlib.cbook', 
> 'IPython.Extensions.os', 'linecache', 'xml.sax.codecs', 
> 'numpy.lib.cStringIO', 'numpy.linalg.linalg', 'matplotlib.warnings', 
> 'numpy.lib._iotools', 'random', '_bisect', 'subprocess', 
> 'IPython.bdb', 'ctypes._endian', 'encodings.encodings', 
> 'IPython.time', 'numpy.ma.numpy', 'numpy.lib.__future__', 
> 'IPython.Extensions.cPickle', 'numpy.compat.types', 'numpy.linalg', 
> 'IPython.OInspect', 'cProfile', 'IPython.cStringIO', 
> 'matplotlib.subprocess', 'numpy.lib.math', 'repr', 'ssl', 
> 'numpy.testing.re <http://numpy.testing.re>', 'numpy.version', 
> 'distutils.re <http://distutils.re>', '_lsprof', 'IPython.os', 
> 'numpy.lib.type_check', 'resource', 'IPython.external.os', 'bisect', 
> 'IPython.glob', 'numpy.lib.types', 'pydoc', 'threading', 
> 'IPython.ctypes', 'IPython.Extensions.glob', 'numpy.fft.helper', 
> 'IPython.external.warnings', 'numpy.lib.itertools', 
> 'IPython.external.shutil', 'IPython.external.glob', 'locale', 
> 'IPython.external', 'numpy.testing.types', 'IPython.testing.inspect', 
> 'numpy.testing.decorators', 'IPython.external.__future__', 
> 'matplotlib.string', 'urllib', 'IPython.__main__', 'fcntl', 
> 'IPython.Extensions.stat', 'distutils.os', 'IPython.hooks', 
> 'numpy.lib.info <http://numpy.lib.info>', 'ctypes', 
> 'IPython.generics', 'numpy.testing.sys', 'numpy.core._sort', 'Queue', 
> 'commands', 'numpy.lib.shutil', 'IPython.socket', 'itertools', 
> 'numpy.fft.fftpack', 'opcode', 'pdb', 'numpy.polynomial.numpy', 
> 'IPython.testing', 'curses._curses', 'IPython.external.path', 
> 'IPython.codeop', 'pkgutil', 'platform', 'sre_constants', 
> 'matplotlib.types', 'numpy.core.function_base', 'numpy', 
> 'IPython.strdispatch', 'numpy.polynomial.warnings', 'matplotlib.xml', 
> 'termios', 'numpy.lib.shape_base', 'IPython.IPython', 'curses.sys', 
> 'numpy.testing.os', 'IPython.resource', 'numpy.lib', 
> 'distutils.types', 'IPython.Extensions.IPython', 'IPython.optparse', 
> 'IPython.curses', 'distutils.distutils', 'copy_reg', 'site', 
> 'IPython.cProfile', 'shutil', 'numpy.lib.cPickle', 
> 'numpy.core._dotblas', 'numpy.testing.traceback', 'numpy.ctypes', 
> 'numpy.core', 'matplotlib.rcsetup', 'IPython.wildcard', 'curses.os', 
> 'IPython.shadowns', 'numpy.core.types', 'sys', 
> 'numpy.compat._inspect', 'IPython.ipmaker', 'IPython.background_jobs', 
> 'matplotlib.fontconfig_pattern', '_weakref', 'difflib', 
> 'distutils.errors', 'urlparse', 'IPython.ipapi', 
> 'numpy.testing.numpy', 'heapq', 'xml.sax.urlparse', 'distutils', 
> 'IPython.signal', 'matplotlib.errno', 'IPython.Prompts', 
> 'matplotlib.colors', 'struct', 'numpy.random.info 
> <http://numpy.random.info>', 'xml.sax.urllib', 'matplotlib.threading', 
> 'numpy.testing.operator', 'numpy.testing', 'collections', 
> 'IPython.pydoc', 'unittest', 'zipimport', 'IPython.Magic', 
> 'numpy.testing.unittest', 'textwrap', 'getopt', 
> 'numpy.lib.__builtin__', 'signal', 'numpy.lib.io 
> <http://numpy.lib.io>', 'IPython.shlex', 'numpy.core.multiarray', 
> 'IPython.exceptions', 'distutils.version', 'numpy.ma.core', 
> 'numpy.core.getlimits', 'IPython.termios', 'numpy.matrixlib', 
> 'IPython.testing.decorators', 'numpy.polynomial.string', 
> 'matplotlib.numpy', 'UserDict', 'inspect', '_functools', 
> 'numpy.__builtin__', 'socket', 'IPython.cmd', 'numpy.core.memmap', 
> 'numpy.testing.warnings', 'IPython.external.Itpl', 
> 'numpy.linalg.lapack_lite', 'os', 'marshal', 'IPython.FakeModule', 
> '__future__', 'numpy.core.shape_base', 'curses', '__builtin__', 
> 'xml.sax.xmlreader', 'numpy.core.cPickle', 'operator', 
> 'numpy.polynomial.polytemplate', 'distutils.string', 'IPython.usage', 
> '_socket', 'numpy.ma <http://numpy.ma>', 'xml.sax.handler', 
> '_warnings', 'encodings.__builtin__', 'IPython.platutils', 
> 'IPython.keyword', 'pwd', 'sitecustomize', 'curses.wrapper', 
> 'IPython.__builtin__', 'numpy.core.re <http://numpy.core.re>', 
> '_struct', 'numpy.fft', 'numpy.random.numpy', 
> 'numpy.lib.function_base', 'IPython.ultraTB', 'IPython.tempfile', 
> 'xml.sax', '_random', 'IPython.external.types', 
> 'numpy.polynomial.polynomial', 'IPython.Extensions.UserDict', 
> 'matplotlib.weakref', 'IPython.pprint', 'numpy.testing.numpytest', 
> 'IPython.textwrap', 'numpy.core.defchararray', 'gettext', 
> 'IPython.external.sys', '_abcoll', 'IPython.Extensions', 
> 'IPython.fnmatch', 'matplotlib.time', 'xml.sax._exceptions', 
> 'genericpath', 'stat', 'IPython.warnings', 'numpy.core.warnings', 
> 'ctypes.ctypes', 'numpy.lib.format', 'readline', 
> 'numpy.testing.nosetester', 'matplotlib', 'IPython.cPickle', 
> 'numpy.polynomial.__future__', 'matplotlib.distutils', 
> 'matplotlib.shutil', 'time', 'numpy.testing.utils']
> font search path ['/usr/share/matplotlib/mpl-data/fonts/ttf', 
> '/usr/share/matplotlib/mpl-data/fonts/afm']
> trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/cmb10.ttf
> trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/cmex10.ttf
> trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/STIXNonUniIta.ttf
> trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/STIXNonUni.ttf
> trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz5Sym.ttf
> trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/cmtt10.ttf
> trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/STIXGeneral.ttf
> trying fontname 
> /usr/share/matplotlib/mpl-data/fonts/ttf/STIXNonUniBolIta.ttf
> trying fontname 
> /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz3SymBol.ttf
> trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz3Sym.ttf
> trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz2Sym.ttf
> trying fontname 
> /usr/share/matplotlib/mpl-data/fonts/ttf/STIXGeneralBol.ttf
> trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/cmr10.ttf
> trying fontname 
> /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz2SymBol.ttf
> trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/cmsy10.ttf
> trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/cmss10.ttf
> trying fontname 
> /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz1SymBol.ttf
> trying fontname 
> /usr/share/matplotlib/mpl-data/fonts/ttf/STIXGeneralItalic.ttf
> trying fontname 
> /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz4SymBol.ttf
> trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz4Sym.ttf
> trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz1Sym.ttf
> trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/cmmi10.ttf
> trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/STIXNonUniBol.ttf
> trying fontname 
> /usr/share/matplotlib/mpl-data/fonts/ttf/STIXGeneralBolIta.ttf
> trying fontname 
> /usr/share/fonts/truetype/ttf-liberation/LiberationSans-Bold.ttf
> trying fontname 
> /usr/share/fonts/truetype/ttf-sil-gentium-basic/GenBkBasI.ttf
> trying fontname 
> /usr/share/fonts/truetype/msttcorefonts/Times_New_Roman.ttf
> trying fontname 
> /usr/share/fonts/truetype/ttf-sil-gentium-basic/GenBkBasR.ttf
> trying fontname /usr/share/fonts/truetype/msttcorefonts/verdanai.ttf
> trying fontname /usr/share/fonts/truetype/freefont/FreeSerif.ttf
> trying fontname 
> /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed.ttf
> trying fontname 
> /usr/share/fonts/truetype/ttf-liberation/LiberationMono-Bold.ttf
> trying fontname /usr/share/fonts/truetype/arphic/gbsn00lp.ttf
> trying fontname /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf
> trying fontname /usr/share/fonts/truetype/ttf-lyx/cmmi10.ttf
> trying fontname 
> /usr/share/fonts/truetype/ttf-sil-gentium-basic/GenBasB.ttf
> trying fontname /usr/share/fonts/truetype/ttf-bitstream-vera/VeraBd.ttf
> trying fontname 
> /usr/share/fonts/truetype/ttf-liberation/LiberationSerif-Regular.ttf
> trying fontname /usr/share/fonts/truetype/msttcorefonts/Georgia_Bold.ttf
> trying fontname /usr/share/fonts/truetype/freefont/FreeSerifBold.ttf
> trying fontname 
> /usr/share/fonts/truetype/ttf-liberation/LiberationMono-Italic.ttf
> trying fontname /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-Bold.ttf
> trying fontname /usr/share/fonts/truetype/msttcorefonts/georgiab.ttf
> trying fontname /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf
> trying fontname 
> /usr/share/fonts/truetype/ttf-sil-gentium-basic/GenBasI.ttf
> trying fontname /usr/share/fonts/truetype/freefont/FreeSansOblique.ttf
> trying fontname /usr/share/fonts/truetype/msttcorefonts/Andale_Mono.ttf
> trying fontname /usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoBd.ttf
> trying fontname 
> /usr/share/fonts/truetype/msttcorefonts/Courier_New_Bold.ttf
> trying fontname 
> /usr/share/fonts/truetype/msttcorefonts/Georgia_Bold_Italic.ttf
> trying fontname /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSeBd.ttf
> trying fontname 
> /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Oblique.ttf
> trying fontname /home/michael/.fonts/gbsn00lp.ttf
> trying fontname 
> /usr/share/fonts/truetype/msttcorefonts/Times_New_Roman_Bold_Italic.ttf
> trying fontname /usr/share/fonts/truetype/ttf-lyx/eufm10.ttf
> trying fontname 
> /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-BoldOblique.ttf
> trying fontname 
> /usr/share/fonts/truetype/ttf-liberation/LiberationSans-Italic.ttf
> trying fontname /usr/share/fonts/truetype/ttf-lyx/wasy10.ttf
> trying fontname /usr/share/fonts/truetype/msttcorefonts/Impact.ttf
> trying fontname 
> /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed-BoldOblique.ttf
> trying fontname /usr/share/fonts/truetype/msttcorefonts/Georgia.ttf
> trying fontname 
> /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed-Bold.ttf
> trying fontname /usr/share/fonts/truetype/ttf-lyx/msbm10.ttf
> trying fontname /usr/share/fonts/truetype/msttcorefonts/andalemo.ttf
> trying fontname /usr/share/fonts/truetype/msttcorefonts/arialbi.ttf
> trying fontname /usr/share/fonts/truetype/msttcorefonts/Verdana.ttf
> trying fontname 
> /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Bold.ttf
> trying fontname 
> /usr/share/fonts/truetype/ttf-liberation/LiberationSerif-BoldItalic.ttf
> trying fontname 
> /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed-Oblique.ttf
> trying fontname /usr/share/fonts/truetype/msttcorefonts/cour.ttf
> trying fontname /usr/share/fonts/truetype/ttf-sil-gentium/GenR102.ttf
> trying fontname 
> /usr/share/fonts/truetype/ttf-liberation/LiberationSerif-Italic.ttf
> trying fontname /usr/share/fonts/truetype/ttf-bitstream-vera/VeraBI.ttf
> trying fontname /home/michael/.fonts/Ubuntu-R.ttf
> trying fontname 
> /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-BoldItalic.ttf
> trying fontname /usr/share/fonts/truetype/msttcorefonts/courbd.ttf
> trying fontname /usr/share/fonts/truetype/msttcorefonts/Trebuchet_MS.ttf
> trying fontname 
> /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerifCondensed-Bold.ttf
> trying fontname 
> /usr/share/fonts/truetype/msttcorefonts/Trebuchet_MS_Italic.ttf
> trying fontname 
> /usr/share/fonts/truetype/ttf-liberation/LiberationSerif-Bold.ttf
> trying fontname /usr/share/fonts/truetype/msttcorefonts/Courier_New.ttf
> trying fontname /usr/share/fonts/truetype/msttcorefonts/comicbd.ttf
> trying fontname /usr/share/fonts/truetype/msttcorefonts/Arial.ttf
> trying fontname /usr/share/fonts/truetype/msttcorefonts/courbi.ttf
> trying fontname /usr/share/fonts/truetype/msttcorefonts/times.ttf
> trying fontname /usr/share/fonts/truetype/msttcorefonts/Verdana_Italic.ttf
> trying fontname 
> /usr/share/fonts/truetype/ttf-liberation/LiberationSans-BoldItalic.ttf
> trying fontname /usr/share/fonts/truetype/ttf-sil-gentium/GenAR102.ttf
> trying fontname /usr/share/fonts/truetype/msttcorefonts/couri.ttf
> trying fontname /usr/share/fonts/truetype/msttcorefonts/georgia.ttf
> trying fontname /usr/share/fonts/truetype/msttcorefonts/trebuc.ttf
> trying fontname /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
> trying fontname /usr/share/fonts/truetype/ttf-bitstream-vera/VeraIt.ttf
> trying fontname /usr/share/fonts/truetype/arphic/bsmi00lp.ttf
> trying fontname /usr/share/fonts/truetype/freefont/FreeSansBold.ttf
> trying fontname 
> /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-BoldOblique.ttf
> trying fontname /usr/share/fonts/truetype/freefont/FreeMonoBold.ttf
> trying fontname /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf
> trying fontname /usr/share/fonts/truetype/ttf-bitstream-vera/VeraMono.ttf
> trying fontname 
> /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-ExtraLight.ttf
> trying fontname /usr/share/fonts/truetype/ttf-bitstream-vera/Vera.ttf
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/cmb10.ttf
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/cmex10.ttf
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/STIXNonUniIta.ttf
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/STIXNonUni.ttf
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz5Sym.ttf
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/cmtt10.ttf
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/STIXGeneral.ttf
> createFontDict: 
> /usr/share/matplotlib/mpl-data/fonts/ttf/STIXNonUniBolIta.ttf
> createFontDict: 
> /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz3SymBol.ttf
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz3Sym.ttf
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz2Sym.ttf
> createFontDict: 
> /usr/share/matplotlib/mpl-data/fonts/ttf/STIXGeneralBol.ttf
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/cmr10.ttf
> createFontDict: 
> /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz2SymBol.ttf
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/cmsy10.ttf
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/cmss10.ttf
> createFontDict: 
> /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz1SymBol.ttf
> createFontDict: 
> /usr/share/matplotlib/mpl-data/fonts/ttf/STIXGeneralItalic.ttf
> createFontDict: 
> /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz4SymBol.ttf
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz4Sym.ttf
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz1Sym.ttf
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/cmmi10.ttf
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/STIXNonUniBol.ttf
> createFontDict: 
> /usr/share/matplotlib/mpl-data/fonts/ttf/STIXGeneralBolIta.ttf
> createFontDict: 
> /usr/share/fonts/truetype/ttf-liberation/LiberationSans-Bold.ttf
> createFontDict: 
> /usr/share/fonts/truetype/ttf-sil-gentium-basic/GenBkBasI.ttf
> createFontDict: 
> /usr/share/fonts/truetype/msttcorefonts/Times_New_Roman.ttf
> createFontDict: 
> /usr/share/fonts/truetype/ttf-sil-gentium-basic/GenBkBasR.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/verdanai.ttf
> createFontDict: /usr/share/fonts/truetype/freefont/FreeSerif.ttf
> createFontDict: 
> /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed.ttf
> createFontDict: 
> /usr/share/fonts/truetype/ttf-liberation/LiberationMono-Bold.ttf
> createFontDict: /usr/share/fonts/truetype/arphic/gbsn00lp.ttf
> createFontDict: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf
> createFontDict: /usr/share/fonts/truetype/ttf-lyx/cmmi10.ttf
> createFontDict: 
> /usr/share/fonts/truetype/ttf-sil-gentium-basic/GenBasB.ttf
> createFontDict: /usr/share/fonts/truetype/ttf-bitstream-vera/VeraBd.ttf
> createFontDict: 
> /usr/share/fonts/truetype/ttf-liberation/LiberationSerif-Regular.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/Georgia_Bold.ttf
> createFontDict: /usr/share/fonts/truetype/freefont/FreeSerifBold.ttf
> createFontDict: 
> /usr/share/fonts/truetype/ttf-liberation/LiberationMono-Italic.ttf
> createFontDict: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-Bold.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/georgiab.ttf
> createFontDict: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf
> createFontDict: 
> /usr/share/fonts/truetype/ttf-sil-gentium-basic/GenBasI.ttf
> createFontDict: /usr/share/fonts/truetype/freefont/FreeSansOblique.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/Andale_Mono.ttf
> createFontDict: /usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoBd.ttf
> createFontDict: 
> /usr/share/fonts/truetype/msttcorefonts/Courier_New_Bold.ttf
> createFontDict: 
> /usr/share/fonts/truetype/msttcorefonts/Georgia_Bold_Italic.ttf
> createFontDict: /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSeBd.ttf
> createFontDict: 
> /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Oblique.ttf
> createFontDict: /home/michael/.fonts/gbsn00lp.ttf
> createFontDict: 
> /usr/share/fonts/truetype/msttcorefonts/Times_New_Roman_Bold_Italic.ttf
> createFontDict: /usr/share/fonts/truetype/ttf-lyx/eufm10.ttf
> createFontDict: 
> /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-BoldOblique.ttf
> createFontDict: 
> /usr/share/fonts/truetype/ttf-liberation/LiberationSans-Italic.ttf
> createFontDict: /usr/share/fonts/truetype/ttf-lyx/wasy10.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/Impact.ttf
> createFontDict: 
> /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed-BoldOblique.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/Georgia.ttf
> createFontDict: 
> /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed-Bold.ttf
> createFontDict: /usr/share/fonts/truetype/ttf-lyx/msbm10.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/andalemo.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/arialbi.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/Verdana.ttf
> createFontDict: 
> /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Bold.ttf
> createFontDict: 
> /usr/share/fonts/truetype/ttf-liberation/LiberationSerif-BoldItalic.ttf
> createFontDict: 
> /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed-Oblique.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/cour.ttf
> createFontDict: /usr/share/fonts/truetype/ttf-sil-gentium/GenR102.ttf
> createFontDict: 
> /usr/share/fonts/truetype/ttf-liberation/LiberationSerif-Italic.ttf
> createFontDict: /usr/share/fonts/truetype/ttf-bitstream-vera/VeraBI.ttf
> createFontDict: /home/michael/.fonts/Ubuntu-R.ttf
> createFontDict: 
> /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-BoldItalic.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/courbd.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/Trebuchet_MS.ttf
> createFontDict: 
> /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerifCondensed-Bold.ttf
> createFontDict: 
> /usr/share/fonts/truetype/msttcorefonts/Trebuchet_MS_Italic.ttf
> createFontDict: 
> /usr/share/fonts/truetype/ttf-liberation/LiberationSerif-Bold.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/Courier_New.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/comicbd.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/Arial.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/courbi.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/times.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/Verdana_Italic.ttf
> createFontDict: 
> /usr/share/fonts/truetype/ttf-liberation/LiberationSans-BoldItalic.ttf
> createFontDict: /usr/share/fonts/truetype/ttf-sil-gentium/GenAR102.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/couri.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/georgia.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/trebuc.ttf
> createFontDict: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
> createFontDict: /usr/share/fonts/truetype/ttf-bitstream-vera/VeraIt.ttf
> createFontDict: /usr/share/fonts/truetype/arphic/bsmi00lp.ttf
> createFontDict: /usr/share/fonts/truetype/freefont/FreeSansBold.ttf
> createFontDict: 
> /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-BoldOblique.ttf
> createFontDict: /usr/share/fonts/truetype/freefont/FreeMonoBold.ttf
> createFontDict: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf
> createFontDict: /usr/share/fonts/truetype/ttf-bitstream-vera/VeraMono.ttf
> createFontDict: 
> /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-ExtraLight.ttf
> createFontDict: /usr/share/fonts/truetype/ttf-bitstream-vera/Vera.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/verdanaz.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/georgiai.ttf
> createFontDict: 
> /usr/share/fonts/truetype/msttcorefonts/Comic_Sans_MS_Bold.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/Georgia_Italic.ttf
> createFontDict: 
> /usr/share/fonts/truetype/msttcorefonts/Courier_New_Italic.ttf
> createFontDict: /usr/share/fonts/truetype/ttf-sil-gentium/GenI102.ttf
> createFontDict: /home/michael/.fonts/gkai00mp.ttf
> createFontDict: 
> /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerifCondensed-BoldItalic.ttf
> createFontDict: /home/michael/.fonts/Ubuntu-B.ttf
> createFontDict: /usr/share/fonts/truetype/ttf-lyx/esint10.ttf
> createFontDict: /usr/share/fonts/truetype/ttf-lyx/cmsy10.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/ariblk.ttf
> createFontDict: /usr/share/fonts/truetype/openoffice/opens___.ttf
> createFontDict: 
> /usr/share/fonts/truetype/msttcorefonts/Verdana_Bold_Italic.ttf
> createFontDict: 
> /usr/share/fonts/truetype/ttf-sil-gentium-basic/GenBasR.ttf
> createFontDict: 
> /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerifCondensed-Italic.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/Arial_Black.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/Webdings.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/Verdana_Bold.ttf
> createFontDict: /usr/share/fonts/truetype/freefont/FreeSansBoldOblique.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/Arial_Italic.ttf
> createFontDict: /usr/share/fonts/truetype/freefont/FreeMonoBoldOblique.ttf
> createFontDict: /usr/share/fonts/truetype/freefont/FreeSans.ttf
> createFontDict: 
> /usr/share/fonts/truetype/ttf-sil-gentium-basic/GenBkBasB.ttf
> createFontDict: /usr/share/fonts/truetype/ttf-lyx/cmr10.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/ariali.ttf
> createFontDict: /usr/share/fonts/truetype/freefont/FreeSerifBoldItalic.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/trebucbi.ttf
> createFontDict: /home/michael/.fonts/Ubuntu-BI.ttf
> createFontDict: /usr/share/fonts/truetype/freefont/FreeMono.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/timesi.ttf
> createFontDict: 
> /usr/share/fonts/truetype/msttcorefonts/Times_New_Roman_Italic.ttf
> createFontDict: /usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoBI.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/georgiaz.ttf
> createFontDict: 
> /usr/share/fonts/truetype/msttcorefonts/Courier_New_Bold_Italic.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/arialbd.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/timesbd.ttf
> createFontDict: 
> /usr/share/fonts/truetype/msttcorefonts/Trebuchet_MS_Bold.ttf
> createFontDict: 
> /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-Italic.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/verdana.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/arial.ttf
> createFontDict: /usr/share/fonts/truetype/freefont/FreeMonoOblique.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/comic.ttf
> createFontDict: /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/webdings.ttf
> createFontDict: /usr/share/fonts/truetype/ttf-sil-gentium/GenAI102.ttf
> createFontDict: 
> /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Oblique.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/trebucit.ttf
> createFontDict: 
> /usr/share/fonts/truetype/ttf-liberation/LiberationMono-Regular.ttf
> createFontDict: 
> /usr/share/fonts/truetype/ttf-sil-gentium-basic/GenBkBasBI.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/timesbi.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/Comic_Sans_MS.ttf
> createFontDict: /usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoIt.ttf
> createFontDict: 
> /usr/share/fonts/truetype/msttcorefonts/Arial_Bold_Italic.ttf
> createFontDict: 
> /usr/share/fonts/truetype/ttf-sil-gentium-basic/GenBasBI.ttf
> createFontDict: 
> /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerifCondensed.ttf
> createFontDict: 
> /usr/share/fonts/truetype/ttf-liberation/LiberationMono-BoldItalic.ttf
> createFontDict: /home/michael/.fonts/wqy-zenhei.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/impact.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/verdanab.ttf
> createFontDict: 
> /usr/share/fonts/truetype/msttcorefonts/Trebuchet_MS_Bold_Italic.ttf
> createFontDict: /usr/share/fonts/truetype/arphic/gkai00mp.ttf
> createFontDict: /usr/share/fonts/truetype/ttf-lyx/msam10.ttf
> createFontDict: /usr/share/fonts/truetype/msttcorefonts/trebucbd.ttf
> createFontDict: /usr/share/fonts/truetype/freefont/FreeSerifItalic.ttf
> createFontDict: 
> /usr/share/fonts/truetype/ttf-liberation/LiberationSans-Regular.ttf
> createFontDict: /home/michael/.fonts/Ubuntu-I.ttf
> createFontDict: 
> /usr/share/fonts/truetype/msttcorefonts/Times_New_Roman_Bold.ttf
> createFontDict: /usr/share/fonts/truetype/ttf-lyx/cmex10.ttf
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/phvl8a.afm
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pzcmi8a.afm
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pplb8a.afm
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/putbi8a.afm
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/phvro8an.afm
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pbkd8a.afm
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pncri8a.afm
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pcrb8a.afm
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/phvr8a.afm
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/putb8a.afm
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pncb8a.afm
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pcrro8a.afm
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/cmex10.afm
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/cmtt10.afm
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/phvr8an.afm
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/phvro8a.afm
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/ptmr8a.afm
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pplbi8a.afm
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/cmsy10.afm
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pagk8a.afm
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pcrr8a.afm
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/cmmi10.afm
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pagko8a.afm
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pbkdi8a.afm
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/phvbo8a.afm
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/cmr10.afm
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pagdo8a.afm
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/ptmb8a.afm
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/phvlo8a.afm
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/phvb8a.afm
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pzdr.afm
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/ptmri8a.afm
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pplr8a.afm
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pbkl8a.afm
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pncbi8a.afm
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/psyr.afm
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/putri8a.afm
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pplri8a.afm
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/ptmbi8a.afm
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pbkli8a.afm
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/putr8a.afm
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pagd8a.afm
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pncr8a.afm
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/phvbo8an.afm
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/phvb8an.afm
> createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pcrbo8a.afm
> createFontDict: /home/michael/.fonts/kai26.afm
> Traceback (most recent call last):
> File "/usr/bin/ipython", line 28, in <module>
> IPython.Shell.start().mainloop()
> File "/usr/lib/pymodules/python2.6/IPython/Shell.py", line 1241, in start
> return shell(user_ns = user_ns)
> File "/usr/lib/pymodules/python2.6/IPython/Shell.py", line 1106, in 
> __init__
> shell_class=MatplotlibShell)
> File "/usr/lib/pymodules/python2.6/IPython/Shell.py", line 73, in 
> __init__
> debug=debug,shell_class=shell_class)
> File "/usr/lib/pymodules/python2.6/IPython/ipmaker.py", line 100, in 
> make_IPython
> embedded=embedded,**kw)
> File "/usr/lib/pymodules/python2.6/IPython/Shell.py", line 627, in 
> __init__
> user_ns,user_global_ns,b2 = 
> self._matplotlib_config(name,user_ns,user_global_ns)
> File "/usr/lib/pymodules/python2.6/IPython/Shell.py", line 556, in 
> _matplotlib_config
> import matplotlib.pylab as pylab
> File "/usr/lib/pymodules/python2.6/matplotlib/pylab.py", line 206, in 
> <module>
> from matplotlib import mpl # pulls in most modules
> File "/usr/lib/pymodules/python2.6/matplotlib/mpl.py", line 2, in 
> <module>
> from matplotlib import axis
> File "/usr/lib/pymodules/python2.6/matplotlib/axis.py", line 10, in 
> <module>
> import matplotlib.font_manager as font_manager
> File "/usr/lib/pymodules/python2.6/matplotlib/font_manager.py", line 
> 1301, in <module>
> _rebuild()
> File "/usr/lib/pymodules/python2.6/matplotlib/font_manager.py", line 
> 1292, in _rebuild
> fontManager = FontManager()
> File "/usr/lib/pymodules/python2.6/matplotlib/font_manager.py", line 
> 1010, in __init__
> self.afmlist = createFontList(self.afmfiles, fontext='afm')
> File "/usr/lib/pymodules/python2.6/matplotlib/font_manager.py", line 
> 578, in createFontList
> font = afm.AFM(fh)
> File "/usr/lib/pymodules/python2.6/matplotlib/afm.py", line 303, in 
> __init__
> parse_afm(fh)
> File "/usr/lib/pymodules/python2.6/matplotlib/afm.py", line 291, in 
> parse_afm
> dcmetrics_ascii, dcmetrics_name = _parse_char_metrics(fh)
> File "/usr/lib/pymodules/python2.6/matplotlib/afm.py", line 176, in 
> _parse_char_metrics
> bbox = _to_list_of_floats(vals[3][2:])
> File "/usr/lib/pymodules/python2.6/matplotlib/afm.py", line 58, in 
> _to_list_of_floats
> return [_to_float(val) for val in s.split()]
> ValueError: invalid literal for float(): uni2605
> =================================================================================================================================================
> *The fpath value is *
> /usr/share/matplotlib/mpl-data/fonts/afm/phvl8a.afm
> /usr/share/matplotlib/mpl-data/fonts/afm/pzcmi8a.afm
> /usr/share/matplotlib/mpl-data/fonts/afm/pplb8a.afm
> /usr/share/matplotlib/mpl-data/fonts/afm/putbi8a.afm
> /usr/share/matplotlib/mpl-data/fonts/afm/phvro8an.afm
> /usr/share/matplotlib/mpl-data/fonts/afm/pbkd8a.afm
> /usr/share/matplotlib/mpl-data/fonts/afm/pncri8a.afm
> /usr/share/matplotlib/mpl-data/fonts/afm/pcrb8a.afm
> /usr/share/matplotlib/mpl-data/fonts/afm/phvr8a.afm
> /usr/share/matplotlib/mpl-data/fonts/afm/putb8a.afm
> /usr/share/matplotlib/mpl-data/fonts/afm/pncb8a.afm
> /usr/share/matplotlib/mpl-data/fonts/afm/pcrro8a.afm
> /usr/share/matplotlib/mpl-data/fonts/afm/cmex10.afm
> /usr/share/matplotlib/mpl-data/fonts/afm/cmtt10.afm
> /usr/share/matplotlib/mpl-data/fonts/afm/phvr8an.afm
> /usr/share/matplotlib/mpl-data/fonts/afm/phvro8a.afm
> /usr/share/matplotlib/mpl-data/fonts/afm/ptmr8a.afm
> /usr/share/matplotlib/mpl-data/fonts/afm/pplbi8a.afm
> /usr/share/matplotlib/mpl-data/fonts/afm/cmsy10.afm
> /usr/share/matplotlib/mpl-data/fonts/afm/pagk8a.afm
> /usr/share/matplotlib/mpl-data/fonts/afm/pcrr8a.afm
> /usr/share/matplotlib/mpl-data/fonts/afm/cmmi10.afm
> /usr/share/matplotlib/mpl-data/fonts/afm/pagko8a.afm
> /usr/share/matplotlib/mpl-data/fonts/afm/pbkdi8a.afm
> /usr/share/matplotlib/mpl-data/fonts/afm/phvbo8a.afm
> /usr/share/matplotlib/mpl-data/fonts/afm/cmr10.afm
> /usr/share/matplotlib/mpl-data/fonts/afm/pagdo8a.afm
> /usr/share/matplotlib/mpl-data/fonts/afm/ptmb8a.afm
> /usr/share/matplotlib/mpl-data/fonts/afm/phvlo8a.afm
> /usr/share/matplotlib/mpl-data/fonts/afm/phvb8a.afm
> /usr/share/matplotlib/mpl-data/fonts/afm/pzdr.afm
> /usr/share/matplotlib/mpl-data/fonts/afm/ptmri8a.afm
> /usr/share/matplotlib/mpl-data/fonts/afm/pplr8a.afm
> /usr/share/matplotlib/mpl-data/fonts/afm/pbkl8a.afm
> /usr/share/matplotlib/mpl-data/fonts/afm/pncbi8a.afm
> /usr/share/matplotlib/mpl-data/fonts/afm/psyr.afm
> /usr/share/matplotlib/mpl-data/fonts/afm/putri8a.afm
> /usr/share/matplotlib/mpl-data/fonts/afm/pplri8a.afm
> /usr/share/matplotlib/mpl-data/fonts/afm/ptmbi8a.afm
> /usr/share/matplotlib/mpl-data/fonts/afm/pbkli8a.afm
> /usr/share/matplotlib/mpl-data/fonts/afm/putr8a.afm
> /usr/share/matplotlib/mpl-data/fonts/afm/pagd8a.afm
> /usr/share/matplotlib/mpl-data/fonts/afm/pncr8a.afm
> /usr/share/matplotlib/mpl-data/fonts/afm/phvbo8an.afm
> /usr/share/matplotlib/mpl-data/fonts/afm/phvb8an.afm
> /usr/share/matplotlib/mpl-data/fonts/afm/pcrbo8a.afm
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> Hopefully, this info can help to pinpoint the difficult font file.
>
> Thanks for your help!
>
> Daoliang
>
>
>
>
>
> On Fri, Nov 26, 2010 at 9:54 AM, Daoliang Tan 
> <dao...@gm... <mailto:dao...@gm...>> wrote:
> > Dear all,
> >
> > I am facing a weird problem when I import pylab or pyplot modules.
> > Right now, I can successfully import matplotlib. But after I issue
> > the command "ipython -pylab --verbose-helpful", I get the following
> > error:
> > 
> =================================================================================================================================================
> > $HOME=/home/michael
> > CONFIGDIR=/home/michael/.matplotlib
> > matplotlib data path /usr/share/matplotlib/mpl-data
> > loaded rc file /etc/matplotlibrc
> > matplotlib version 0.99.3
> > verbose.level helpful
> > interactive is False
> > units is False
> > platform is linux2
> > font search path ['/usr/share/matplotlib/mpl-data/fonts/ttf',
> > '/usr/share/matplotlib/mpl-data/fonts/afm']
> > Traceback (most recent call last):
> > File "/usr/bin/ipython", line 28, in <module>
> > IPython.Shell.start().mainloop()
> > File "/usr/lib/pymodules/python2.6/IPython/Shell.py", line 1241, in 
> start
> > return shell(user_ns = user_ns)
> > File "/usr/lib/pymodules/python2.6/IPython/Shell.py", line 1106, in 
> __init__
> > shell_class=MatplotlibShell)
> > File "/usr/lib/pymodules/python2.6/IPython/Shell.py", line 73, in 
> __init__
> > debug=debug,shell_class=shell_class)
> > File "/usr/lib/pymodules/python2.6/IPython/ipmaker.py", line 100, in
> > make_IPython
> > embedded=embedded,**kw)
> > File "/usr/lib/pymodules/python2.6/IPython/Shell.py", line 627, in 
> __init__
> > user_ns,user_global_ns,b2 =
> > self._matplotlib_config(name,user_ns,user_global_ns)
> > File "/usr/lib/pymodules/python2.6/IPython/Shell.py", line 556, in
> > _matplotlib_config
> > import matplotlib.pylab as pylab
> > File "/usr/lib/pymodules/python2.6/matplotlib/pylab.py", line 206, 
> in <module>
> > from matplotlib import mpl # pulls in most modules
> > File "/usr/lib/pymodules/python2.6/matplotlib/mpl.py", line 2, in 
> <module>
> > from matplotlib import axis
> > File "/usr/lib/pymodules/python2.6/matplotlib/axis.py", line 10, in 
> <module>
> > import matplotlib.font_manager as font_manager
> > File "/usr/lib/pymodules/python2.6/matplotlib/font_manager.py", line
> > 1301, in <module>
> > _rebuild()
> > File "/usr/lib/pymodules/python2.6/matplotlib/font_manager.py", line
> > 1292, in _rebuild
> > fontManager = FontManager()
> > File "/usr/lib/pymodules/python2.6/matplotlib/font_manager.py", line
> > 1010, in __init__
> > self.afmlist = createFontList(self.afmfiles, fontext='afm')
> > File "/usr/lib/pymodules/python2.6/matplotlib/font_manager.py", line
> > 578, in createFontList
> > font = afm.AFM(fh)
> > File "/usr/lib/pymodules/python2.6/matplotlib/afm.py", line 303, in 
> __init__
> > parse_afm(fh)
> > File "/usr/lib/pymodules/python2.6/matplotlib/afm.py", line 291, in 
> parse_afm
> > dcmetrics_ascii, dcmetrics_name = _parse_char_metrics(fh)
> > File "/usr/lib/pymodules/python2.6/matplotlib/afm.py", line 176, in
> > _parse_char_metrics
> > bbox = _to_list_of_floats(vals[3][2:])
> > File "/usr/lib/pymodules/python2.6/matplotlib/afm.py", line 58, in
> > _to_list_of_floats
> > return [_to_float(val) for val in s.split()]
> > ValueError: invalid literal for float(): uni2605
> > 
> ===========================================================================================================================================
> >
> > Each time, as long as I import pylab OR pyplot, I will obtain
> > "ValueError: invalid literal for float(): uni2605". After googling a
> > long time, I can not get an idea to address this issue. Can anyone
> > give me some hints?
> >
> > My computer configuration is the following:
> >
> > 1. OS: debian squeeze Linux 2.6.32-5-amd64 #1 SMP Sat Oct 30 14:18:21
> > UTC 2010 x86_64 GNU/Linux
> > 2. matplotlib version: 0.99.3
> > 3. The matplotlib is installed from the debian repository.
> > 4. no any special customization of "matplotlibrc"
> > 5. import pylab will produce this error.
> > 6. python version: 2.6.6-3
> >
> >
> > I have reinstalled these packages many times and this does not solve
> > this issue.
> >
> > Thanks for your help!
> >
> > Daoliang
> >
>
>
> ------------------------------------------------------------------------------
> What happens now with your Lotus Notes apps - do you make another costly
> upgrade, or settle for being marooned without product support? Time to move
> off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
> use, and manage than apps on traditional platforms. Sign up for the Lotus
> Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
>
>
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> 
-- 
Michael Droettboom
Science Software Branch
Space Telescope Science Institute
Baltimore, Maryland, USA
From: C M <cmp...@gm...> - 2010年12月06日 03:02:32
On Sun, Dec 5, 2010 at 9:33 PM, Jae-Joon Lee <lee...@gm...> wrote:
> Here is a modified version of the code. Note that since it uses
> non-public APIs, it may stop to work again in the future. According to
> your original post, you seem to want to pick up points only. I guess
> the better way is to have a separate artists. One for points and the
> other for line segments.
>
>
JJ, Thank you very much. This is good to know. However, I had hoped that
getting this check of the line's validity would clear up the main problem
I've had since going to 1.0--but it did not, The problem is:
Prior to upgrade, I could get picking on a) the legend, and b) all points on
the graph, whether the graph had one y axis or two (using twinx).
Now, after upgrade, if I only have one y axis, I can get fine point picking
and legend picking, but if I have two y axes, I can't get legend picking and
can only get point picking on the points that belong to the left y axis, not
the right y axis.
I get no errors, but no (full) point picking, either. I need to get this
cleared up and I'd love to stay with 1.0, but I don't know what the issue
might be.
Che
From: Jae-Joon L. <lee...@gm...> - 2010年12月06日 02:34:09
Here is a modified version of the code. Note that since it uses
non-public APIs, it may stop to work again in the future. According to
your original post, you seem to want to pick up points only. I guess
the better way is to have a separate artists. One for points and the
other for line segments.
Regards,
-JJ
def contains_points(self, mouseevent):
 pickradius = self.pickradius
 # Make sure we have data to plot
 #if self._invalid:
 if self._invalidy or self._invalidx:
 self.recache()
 if len(self._xy)==0: return False,{}
 # Convert points to pixels
 if self._transformed_path is None:
 self._transform_path()
 path, affine = self._transformed_path.get_transformed_points_and_affine()
 path = affine.transform_path(path)
 xy = path.vertices
 xt = xy[:, 0]
 yt = xy[:, 1]
 pixels = self.figure.dpi/72. * self.pickradius
 d = (xt-mouseevent.x)**2 + (yt-mouseevent.y)**2
 ind, = np.nonzero(np.less_equal(d, pixels**2))
 # Return the point(s) within radius
 return len(ind)>0,dict(ind=ind)
On Mon, Dec 6, 2010 at 8:19 AM, C M <cmp...@gm...> wrote:
> Hello. I upgraded from about mpl 0.98.5 to 1.0, and this code, which worked
> in 0.98.5:
>
>   if line._invalid:
>     line.recache()
>
> now gives this error:
>
>  AttributeError: 'Line2D' object has no attribute '_invalid'
>
> What is now (1.0) the right way to test whether a Line2D object is invalid?
>
> Thanks very much,
> Che
>
> (This question is in another recent post of mine, but this is much more to
> the point)
>
> ------------------------------------------------------------------------------
> What happens now with your Lotus Notes apps - do you make another costly
> upgrade, or settle for being marooned without product support? Time to move
> off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
> use, and manage than apps on traditional platforms. Sign up for the Lotus
> Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>

Showing 3 results of 3

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /