Hi folks,
I am trying to do something similar to:
from pylab import *
plot([1,2,3,4])
text(1,3,'a)')
savefig('test.eps')
I can't render the eps file because of the way that "a)" is recorded ["(a)"
will render, so its just a parsing issue]. I think, in the eps file "(a))
show" should read "(a\)) show" for the image will render.
Changing line 353 in backend_ps.py to
self._pswriter.write("(%s) show\n"%s.replace(')','\)').replace('(','\('))
would do the trick.
I'm using gentoo linux and matplotlib 0.71.
--
Darren
|