|
From: Michael D. <md...@st...> - 2012-10-10 12:23:33
|
It's a known bug, fixed since 1.1.1. https://github.com/matplotlib/matplotlib/issues/1211 BTW: If you're running the Debian package, how come the version is a release candidate? (1.1.1rc2) Mike On 10/09/2012 04:32 PM, Nikolaus Rath wrote: > Hello, > > For some reason, my matplotlib isn't able to print percent signs ('%') > properly: > > [1] inspiron:~/tmp# cat mplbug.py > > import matplotlib > import matplotlib.pyplot as plt > import numpy as np > > print matplotlib.__version__ > plt.plot(np.arange(10), np.arange(10)**2) > plt.xlabel('Percent [%]') > plt.savefig('mplbug.pdf') > > [0] inspiron:~/tmp# python mplbug.py > 1.1.1rc2 > > I have attached the resulting PDF. For some reason, the slash in the > percent sign becomes a triangle that partially covers the upper left > circle. > > Known bug? Any workarounds that don't require upgrading (I'd like to > stick with the Debian package)? > > > Thanks, > > -Nikolaus > > > > ------------------------------------------------------------------------------ > Don't let slow site performance ruin your business. Deploy New Relic APM > Deploy New Relic app performance management and know exactly > what is happening inside your Ruby, Python, PHP, Java, and .NET app > Try New Relic at no cost today and get our sweet Data Nerd shirt too! > http://p.sf.net/sfu/newrelic-dev2dev > > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |