When I try the test on my computer, I got this error message ~$ python -c "import matplotlib;matplotlib.test()" ...../usr/lib/pymodules/python2.7/matplotlib/font_manager.py:1242: UserWarning: findfont: Font family ['Bitstream Vera Sans'] not found. Falling back to Bitstream Vera Sans (prop.get_family(), self.defaultFamily[fontext])) /usr/lib/pymodules/python2.7/matplotlib/font_manager.py:1252: UserWarning: findfont: Could not match :family=Bitstream Vera Sans:style=normal:variant=normal:weight=normal:stretch=normal:size=medium. Returning /usr/share/matplotlib/mpl-data/fonts/ttf/cmb10.ttf UserWarning) /usr/lib/pymodules/python2.7/matplotlib/font_manager.py:1252: UserWarning: findfont: Could not match :family=Bitstream Vera Sans:style=normal:variant=normal:weight=normal:stretch=normal:size=12. Returning /usr/share/matplotlib/mpl-data/fonts/ttf/cmb10.ttf UserWarning) Warning: divide by zero encountered in log Warning: divide by zero encountered in log Warning: divide by zero encountered in log /usr/lib/pymodules/python2.7/matplotlib/font_manager.py:1252: UserWarning: findfont: Could not match :family=Bitstream Vera Sans:style=normal:variant=normal:weight=normal:stretch=normal:size=large. Returning /usr/share/matplotlib/mpl-data/fonts/ttf/cmb10.ttf UserWarning) /usr/lib/pymodules/python2.7/matplotlib/axes.py:2381: UserWarning: Attempting to set identical left==right results in singular transformations; automatically expanding. left=730139.0, right=730139.0 + 'left=%s, right=%s') % (left, right)) ====================================================================== ERROR: matplotlib.tests.test_axes.test_formatter_ticker ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/nose/case.py", line 187, in runTest self.test(*self.arg) File "/usr/lib/pymodules/python2.7/matplotlib/testing/decorators.py", line 32, in failer result = f(*args, **kwargs) File "/usr/lib/pymodules/python2.7/matplotlib/testing/decorators.py", line 126, in decorated_compare_images '(RMS %(rms).3f)'%err) ImageComparisonFailure: images not close: /home/picca/result_images/test_axes/formatter_ticker_001.png vs. /home/picca/result_images/test_axes/expected-formatter_ticker_001.png (RMS 20.396)
When I compare generated / expected pictures, the difference seems to be the font. PS: I already install the ttf-bitstream-vera package. so maybe matplotlib could not find the installed font. cheers, Frederic -- GPG public key 4096R/4696E015 2011-02-14 fingerprint = E92E 7E6E 9E9D A6B1 AA31 39DC 5632 906F 4696 E015 uid Picca Frédéric-Emmanuel <pi...@synchrotron-soleil.fr> GPG public key 1024D/A59B1171 2009-08-11 fingerprint = 1688 A3D6 F0BD E4DF 2E6B 06AA B6A9 BA6A A59B 1171 uid Picca Frédéric-Emmanuel <pi...@debian.org>
signature.asc
Description: PGP signature