<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>Le 1 mars 2012 à 15:28, Mike Witt a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>I thought I'd try this question one more time. If anyone could point me<br>to the correct source of information, I'd appreciate it.<br></div></blockquote><div>Does it gives the sakes errors if you use it outside of the notebook or even on pure python interpreter ?</div><div>If so I guess you'll have a better chance of response on matplotlib ML.</div><div><br></div><div>you can take a look at TeX rendering in matplotlib.</div><div><a href="http://matplotlib.sourceforge.net/users/usetex.html">http://matplotlib.sourceforge.net/users/usetex.html</a></div><div>and fontManager :</div><div><a href="http://matplotlib.sourceforge.net/api/font_manager_api.html">http://matplotlib.sourceforge.net/api/font_manager_api.html</a></div><div><br></div><div><br></div><div>--&nbsp;</div><div>Matthias</div><br><blockquote type="cite"><div>On 02/27/2012 10:00:19 PM, Mike Witt wrote:<br><blockquote type="cite">I've just begun trying to use the IPython notebook, and I'm having<br></blockquote><blockquote type="cite">a problem with the example file: 00_notebook_tour. Any of the examples<br></blockquote><blockquote type="cite">that use latex on a matplotlib plot (for instance, the very last &nbsp;<br></blockquote><blockquote type="cite">example<br></blockquote><blockquote type="cite">in the tour notebook) give me a bunch of errors apparently from the<br></blockquote><blockquote type="cite">matplotlib "font manager" (I've used matplotlib with Sage, but I don't<br></blockquote><blockquote type="cite">really know a lot about it.)<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I imagine that I simply don't have the necessary fonts installed, or<br></blockquote><blockquote type="cite">else something needs to be configured to identify where the fonts are?<br></blockquote><blockquote type="cite">I using:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> &nbsp;Fedora 16<br></blockquote><blockquote type="cite"> &nbsp;python 2.7.2<br></blockquote><blockquote type="cite"> &nbsp;IPython 0.13.dev (from a couple of days ago)<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I'll include the errors at the end.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Thanks!<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">-Mike<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">elf.defaultFamily[fontext]))<br></blockquote><blockquote type="cite">/usr/lib/python2.7/site-packages/matplotlib/font_manager.py:1252: &nbsp;<br></blockquote><blockquote type="cite">UserWarning: findfont: Could not match :family=Bitstream Vera &nbsp;<br></blockquote><blockquote type="cite">Sans:style=normal:variant=normal:weight=normal:stretch=normal:size=10. &nbsp;<br></blockquote><blockquote type="cite">Returning /usr/s<br></blockquote><blockquote type="cite">hare/fonts/thai-scalable/Waree-Oblique.ttf<br></blockquote><blockquote type="cite"> &nbsp;UserWarning)<br></blockquote><blockquote type="cite">/usr/lib/python2.7/site-packages/matplotlib/font_manager.py:1242: &nbsp;<br></blockquote><blockquote type="cite">UserWarning: findfont: Font family ['STIXSizeThreeSym'] not found. &nbsp;<br></blockquote><blockquote type="cite">Falling back to Bitstream Vera Sans<br></blockquote><blockquote type="cite"> &nbsp;(prop.get_family(), self.defaultFamily[fontext]))<br></blockquote><blockquote type="cite">/usr/lib/python2.7/site-packages/matplotlib/font_manager.py:1242: &nbsp;<br></blockquote><blockquote type="cite">UserWarning: findfont: Font family ['STIXSizeFourSym'] not found. &nbsp;<br></blockquote><blockquote type="cite">Falling back to Bitstream Vera Sans<br></blockquote><blockquote type="cite"> &nbsp;(prop.get_family(), self.defaultFamily[fontext]))<br></blockquote><blockquote type="cite">/usr/lib/python2.7/site-packages/matplotlib/font_manager.py:1242: &nbsp;<br></blockquote><blockquote type="cite">UserWarning: findfont: Font family ['STIXSizeFiveSym'] not found. &nbsp;<br></blockquote><blockquote type="cite">Falling back to Bitstream Vera Sans<br></blockquote><blockquote type="cite"> &nbsp;(prop.get_family(), self.defaultFamily[fontext]))<br></blockquote><blockquote type="cite">/usr/lib/python2.7/site-packages/matplotlib/font_manager.py:1242: &nbsp;<br></blockquote><blockquote type="cite">UserWarning: findfont: Font family ['STIXSizeTwoSym'] not found. &nbsp;<br></blockquote><blockquote type="cite">Falling back to Bitstream Vera Sans<br></blockquote><blockquote type="cite"> &nbsp;(prop.get_family(), self.defaultFamily[fontext]))<br></blockquote><blockquote type="cite">/usr/lib/python2.7/site-packages/matplotlib/font_manager.py:1242: &nbsp;<br></blockquote><blockquote type="cite">UserWarning: findfont: Font family ['STIXNonUnicode'] not found. &nbsp;<br></blockquote><blockquote type="cite">Falling back to Bitstream Vera Sans<br></blockquote><blockquote type="cite"> &nbsp;(prop.get_family(), self.defaultFamily[fontext]))<br></blockquote><blockquote type="cite">/usr/lib/python2.7/site-packages/matplotlib/font_manager.py:1252: &nbsp;<br></blockquote><blockquote type="cite">UserWarning: findfont: Could not match :family=Bitstream Vera &nbsp;<br></blockquote><blockquote type="cite">Sans:style=italic:variant=normal:weight=normal:stretch=normal:size=10. &nbsp;<br></blockquote><blockquote type="cite">Returning /usr/s<br></blockquote><blockquote type="cite">hare/fonts/thai-scalable/Waree-Oblique.ttf<br></blockquote><blockquote type="cite"> &nbsp;UserWarning)<br></blockquote><blockquote type="cite">/usr/lib/python2.7/site-packages/matplotlib/font_manager.py:1252: &nbsp;<br></blockquote><blockquote type="cite">UserWarning: findfont: Could not match :family=Bitstream Vera &nbsp;<br></blockquote><blockquote type="cite">Sans:style=normal:variant=normal:weight=bold:stretch=normal:size=10. &nbsp;<br></blockquote><blockquote type="cite">Returning /usr/sha<br></blockquote><blockquote type="cite">re/fonts/thai-scalable/Waree-Oblique.ttf<br></blockquote><blockquote type="cite"> &nbsp;UserWarning)<br></blockquote><blockquote type="cite">/usr/lib/python2.7/site-packages/matplotlib/font_manager.py:1242: &nbsp;<br></blockquote><blockquote type="cite">UserWarning: findfont: Font family ['cmb10'] not found. Falling back &nbsp;<br></blockquote><blockquote type="cite">to Bitstream Vera Sans<br></blockquote><blockquote type="cite"> &nbsp;(prop.get_family(), self.defaultFamily[fontext]))<br></blockquote><blockquote type="cite">/usr/lib/python2.7/site-packages/matplotlib/font_manager.py:1242: &nbsp;<br></blockquote><blockquote type="cite">UserWarning: findfont: Font family ['cmtt10'] not found. Falling back &nbsp;<br></blockquote><blockquote type="cite">to Bitstream Vera Sans<br></blockquote><blockquote type="cite"> &nbsp;(prop.get_family(), self.defaultFamily[fontext]))<br></blockquote><blockquote type="cite">/usr/lib/python2.7/site-packages/matplotlib/font_manager.py:1242: &nbsp;<br></blockquote><blockquote type="cite">UserWarning: findfont: Font family ['cmmi10'] not found. Falling back &nbsp;<br></blockquote><blockquote type="cite">to Bitstream Vera Sans<br></blockquote><blockquote type="cite"> &nbsp;(prop.get_family(), self.defaultFamily[fontext]))<br></blockquote><blockquote type="cite">/usr/lib/python2.7/site-packages/matplotlib/font_manager.py:1242: &nbsp;<br></blockquote><blockquote type="cite">UserWarning: findfont: Font family ['cmex10'] not found. Falling back &nbsp;<br></blockquote><blockquote type="cite">to Bitstream Vera Sans<br></blockquote><blockquote type="cite"> &nbsp;(prop.get_family(), self.defaultFamily[fontext]))<br></blockquote><blockquote type="cite">/usr/lib/python2.7/site-packages/matplotlib/font_manager.py:1242: &nbsp;<br></blockquote><blockquote type="cite">UserWarning: findfont: Font family ['cmsy10'] not found. Falling back &nbsp;<br></blockquote><blockquote type="cite">to Bitstream Vera Sans<br></blockquote><blockquote type="cite"> &nbsp;(prop.get_family(), self.defaultFamily[fontext]))<br></blockquote><blockquote type="cite">/usr/lib/python2.7/site-packages/matplotlib/font_manager.py:1242: &nbsp;<br></blockquote><blockquote type="cite">UserWarning: findfont: Font family ['cmr10'] not found. Falling back &nbsp;<br></blockquote><blockquote type="cite">to Bitstream Vera Sans<br></blockquote><blockquote type="cite"> &nbsp;(prop.get_family(), self.defaultFamily[fontext]))<br></blockquote><blockquote type="cite">/usr/lib/python2.7/site-packages/matplotlib/font_manager.py:1242: &nbsp;<br></blockquote><blockquote type="cite">UserWarning: findfont: Font family ['cmss10'] not found. Falling back &nbsp;<br></blockquote><blockquote type="cite">to Bitstream Vera Sans<br></blockquote><blockquote type="cite"> &nbsp;(prop.get_family(), self.defaultFamily[fontext]))<br></blockquote><br>_______________________________________________<br>IPython-User mailing list<br><a href="mailto:IPython-User@scipy.org">IPython-User@scipy.org</a><br>http://mail.scipy.org/mailman/listinfo/ipython-user<br></div></blockquote></div><br></body></html>