Hi,
Running the simple attached test.py script creates a very simple
test.eps. Converting this to a pdf file with ps2pdf causes the
negative numbers to disappear (except the minus sign). Of course, the
PDF backend can be used from the start, but there are situations (e.g.
typesetting with LaTeX where one needs to include an EPS file, and the
final document will be a PDF file, in which case the negative numbers
disappear during the conversion). I have submitted a bug report:
https://sourceforge.net/tracker/?func=detail&aid=2883256&group_id=80706&atid=560720
Cheers,
Tom
import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as mpl
fig = mpl.figure()
ax = fig.add_subplot(111)
ax.set_xlim(-100.,100.)
ax.set_ylim(-100.,100.)
fig.savefig('test.eps')
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel