Re: [matplotlib-devel] SVG backend bug when called with Latex

2007-05-15 Thread John Hunter
On 5/12/07, Fernando Perez <[EMAIL PROTECTED]> wrote: > 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('f

Re: [matplotlib-devel] SVG backend bug when called with Latex

2007-05-15 Thread Fernando Perez
On 5/15/07, John Hunter <[EMAIL PROTECTED]> wrote: > This was a bug where tkagg was switching backends to svg, but not > trapping the error and resetting the backend on failure. so you were > stuck in svg mode. Now we catch the error, switch the backend back to > tkagg, and then reraise. Note t

Re: [matplotlib-devel] SVG backend bug when called with Latex

2007-05-15 Thread John Hunter
On 5/15/07, Fernando Perez <[EMAIL PROTECTED]> wrote: > On 5/15/07, John Hunter <[EMAIL PROTECTED]> wrote: > > > This was a bug where tkagg was switching backends to svg, but not > > trapping the error and resetting the backend on failure. so you were > > stuck in svg mode. Now we catch the error