<div dir="ltr">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.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 23, 2016 at 6:06 AM, Thierry <span dir="ltr"><<a href="mailto:thierry.jolicoeur@u-psud.fr" target="_blank">thierry.jolicoeur@u-psud.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I ran a small script to check fonts:<br>
<br>
from matplotlib.font_manager import FontProperties, findfont<br>
fp = FontProperties(family='<wbr>monospace',<br>
                        style='normal',<br>
                        variant='normal',<br>
                        weight='normal',<br>
                        stretch='normal',<br>
                        size='medium')<br>
<br>
font = findfont(fp)<br>
<br>
doing python my_script.py --verbose-debug leads to:<br>
<br>
tjoli@skynet Desktop % python fonts.py --verbose-debug<br>
$HOME=/home/tjoli<br>
matplotlib data path /usr/lib64/python2.7/site-<wbr>packages/matplotlib/mpl-data<br>
<br>
******************************<wbr>******************************<wbr>*****<br>
You have the following UNSUPPORTED LaTeX preamble customizations:<br>
<br>
Please do not ask for support with these customizations active.<br>
******************************<wbr>******************************<wbr>*****<br>
<br>
loaded rc file<br>
/usr/lib64/python2.7/site-<wbr>packages/matplotlib/mpl-data/<wbr>matplotlibrc<br>
matplotlib version 1.5.3<br>
verbose.level debug<br>
interactive is False<br>
platform is linux2<br>
loaded modules: <dictionary-keyiterator object at 0x7fe41e9879f0><br>
CACHEDIR=/home/tjoli/.cache/<wbr>matplotlib<br>
Using fontManager instance from /home/tjoli/.cache/matplotlib/<wbr>fontList.cache<br>
findfont: Matching<br>
:family=monospace:style=<wbr>normal:variant=normal:weight=<wbr>400:stretch=normal:size=medium<br>
to Bitstream Vera Sans Mono<br>
(u'/usr/lib64/python2.7/site-<wbr>packages/matplotlib/mpl-data/<wbr>fonts/ttf/VeraMono.ttf')<br>
with score of 0.000000<br>
tjoli@skynet Desktop % ls<br>
/usr/lib64/python2.7/site-<wbr>packages/matplotlib/mpl-data/<wbr>fonts/ttf<br>
COPYRIGHT.TXT          STIXNonUni.ttf         STIXSizOneSymReg.ttf<br>
VeraIt.ttf    cmex10.ttf<br>
LICENSE_STIX           STIXNonUniBol.ttf      STIXSizThreeSymBol.ttf<br>
VeraMoBI.ttf  cmmi10.ttf<br>
README.TXT             STIXNonUniBolIta.ttf   STIXSizThreeSymReg.ttf<br>
VeraMoBd.ttf  cmr10.ttf<br>
RELEASENOTES.TXT       STIXNonUniIta.ttf      STIXSizTwoSymBol.ttf<br>
VeraMoIt.ttf  cmss10.ttf<br>
STIXGeneral.ttf        STIXSizFiveSymReg.ttf  STIXSizTwoSymReg.ttf<br>
VeraMono.ttf  cmsy10.ttf<br>
STIXGeneralBol.ttf     STIXSizFourSymBol.ttf  Vera.ttf<br>
VeraSe.ttf    cmtt10.ttf<br>
STIXGeneralBolIta.ttf  STIXSizFourSymReg.ttf  VeraBI.ttf<br>
VeraSeBd.ttf<br>
STIXGeneralItalic.ttf  STIXSizOneSymBol.ttf   VeraBd.ttf<br>
cmb10.ttf<br>
tjoli@skynet Desktop %<br>
<br>
so the fallback VeraSans are taken into account<br>
<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://matplotlib.1069221.n5.nabble.com/matplotlib-no-output-with-Agg-TkAgg-Qt5Agg-stuck-at-ttconv-so-tp47535p47542.html" rel="noreferrer" target="_blank">http://matplotlib.1069221.n5.<wbr>nabble.com/matplotlib-no-<wbr>output-with-Agg-TkAgg-Qt5Agg-<wbr>stuck-at-ttconv-so-<wbr>tp47535p47542.html</a><br>
<div class="HOEnZb"><div class="h5">Sent from the matplotlib - users mailing list archive at Nabble.com.<br>
______________________________<wbr>_________________<br>
Matplotlib-users mailing list<br>
<a href="mailto:Matplotlib-users@python.org">Matplotlib-users@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/matplotlib-users" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/matplotlib-<wbr>users</a><br>
</div></div></blockquote></div><br></div>