[matplotlib-devel] bug with pylab.text?

2010-01-29 Thread John Palmieri
I think I've found a bug in matplotlib. I use Sage, which is based on Python and included matplotlib. sage: import pylab sage: pylab.text(0.2, 0.2, r"$\left(2a = b\right)$") # note \left( and \right) work sage: pylab.text(0.2, 0.5, r"$(2 \, a = b)$") # note \, works sage: pylab.savefig('

[matplotlib-devel] matplotlib: two issues with MPLCONFIGDIR

2010-10-28 Thread John Palmieri
trac/ticket/10159> for our fix: we replace those lines by try: os.mkdir(texcache) except OSError, e: assert e.errno==errno.EEXIST, 'Cannot create %s.' % texcache (and also add "import errno" at the beginning of the file). I'd be happy to hear a