Hi all,

the following shows a bug in the backend sate handling of mpl:

plot(range(10))
title(r'Foo $x=1$')
savefig('foo.eps')  # works fine, as expected.
savefig('foo.svg')  # doesn't work, that's OK: not implemented
savefig('foo.eps')  # now, this doesn't work anymore.   That's the bug.

Basically, when the SVG backend fails to properly generate the file
with latex strings, it fails to resstore something in the backend
state, and MPL ends up 'wedged'.  After that point, the only way to
get an EPS plot again seems to be to restart the session.

Cheers,

f

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to