test script:
#! /usr/bin/python
import matplotlib.pyplot as pp; pp.loglog([1,2]); pp.show()
test script:
#! /bin/sh
grep ItalicAngle /usr/share/fonts/X11/Type1/*.afm | grep ","
patch:
--- matplotlib-1.1.1~rc2.orig/lib/matplotlib/afm.py
+++ matplotlib-1.1.1~rc2/lib/matplotlib/afm.py
@@ -48,7 +48,7 @@ from _mathtext_data import uni2type1
def _to_int(x):
return int(float(x))
-_to_float = float
+_to_float = lambda x: float(x.replace(',','.'))
_to_str = str
def _to_list_of_ints(s):
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]