[Matplotlib-users] matplotlib: no output with Agg - TkAgg - Qt5Agg -- stuck at ttconv.so

Benjamin Root ben.v.root at gmail.com
Fri Sep 23 09:17:02 EDT 2016


The error for Qt5 is a bug that has very recently been fixed. I am pretty
sure it is in v1.5.3. (Well... not exactly fixed, more that it won't crash
the interpreter). It does seem like you are making it further than you were
before. It would be good to see the traceback from the Qt5 failure, and to
know which version of matplotlib you are using.

On Fri, Sep 23, 2016 at 6:06 AM, Thierry <thierry.jolicoeur at u-psud.fr>
wrote:

> I ran a small script to check fonts:
>
> from matplotlib.font_manager import FontProperties, findfont
> fp = FontProperties(family='monospace',
>                         style='normal',
>                         variant='normal',
>                         weight='normal',
>                         stretch='normal',
>                         size='medium')
>
> font = findfont(fp)
>
> doing python my_script.py --verbose-debug leads to:
>
> tjoli at skynet Desktop % python fonts.py --verbose-debug
> $HOME=/home/tjoli
> matplotlib data path /usr/lib64/python2.7/site-
> packages/matplotlib/mpl-data
>
> *****************************************************************
> You have the following UNSUPPORTED LaTeX preamble customizations:
>
> Please do not ask for support with these customizations active.
> *****************************************************************
>
> loaded rc file
> /usr/lib64/python2.7/site-packages/matplotlib/mpl-data/matplotlibrc
> matplotlib version 1.5.3
> verbose.level debug
> interactive is False
> platform is linux2
> loaded modules: <dictionary-keyiterator object at 0x7fe41e9879f0>
> CACHEDIR=/home/tjoli/.cache/matplotlib
> Using fontManager instance from /home/tjoli/.cache/matplotlib/
> fontList.cache
> findfont: Matching
> :family=monospace:style=normal:variant=normal:weight=
> 400:stretch=normal:size=medium
> to Bitstream Vera Sans Mono
> (u'/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/
> fonts/ttf/VeraMono.ttf')
> with score of 0.000000
> tjoli at skynet Desktop % ls
> /usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/ttf
> COPYRIGHT.TXT          STIXNonUni.ttf         STIXSizOneSymReg.ttf
> VeraIt.ttf    cmex10.ttf
> LICENSE_STIX           STIXNonUniBol.ttf      STIXSizThreeSymBol.ttf
> VeraMoBI.ttf  cmmi10.ttf
> README.TXT             STIXNonUniBolIta.ttf   STIXSizThreeSymReg.ttf
> VeraMoBd.ttf  cmr10.ttf
> RELEASENOTES.TXT       STIXNonUniIta.ttf      STIXSizTwoSymBol.ttf
> VeraMoIt.ttf  cmss10.ttf
> STIXGeneral.ttf        STIXSizFiveSymReg.ttf  STIXSizTwoSymReg.ttf
> VeraMono.ttf  cmsy10.ttf
> STIXGeneralBol.ttf     STIXSizFourSymBol.ttf  Vera.ttf
> VeraSe.ttf    cmtt10.ttf
> STIXGeneralBolIta.ttf  STIXSizFourSymReg.ttf  VeraBI.ttf
> VeraSeBd.ttf
> STIXGeneralItalic.ttf  STIXSizOneSymBol.ttf   VeraBd.ttf
> cmb10.ttf
> tjoli at skynet Desktop %
>
> so the fallback VeraSans are taken into account
>
>
>
>
>
>
> --
> View this message in context: http://matplotlib.1069221.n5.
> nabble.com/matplotlib-no-output-with-Agg-TkAgg-Qt5Agg-stuck-at-ttconv-so-
> tp47535p47542.html
> Sent from the matplotlib - users mailing list archive at Nabble.com.
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users at python.org
> https://mail.python.org/mailman/listinfo/matplotlib-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20160923/5b43e724/attachment.html>


More information about the Matplotlib-users mailing list