First let me say how much I appreciate matplotlib and the matplotlib community.
I currently have a wxPython application which embeds a matplotlib window using the WXAgg backend. I use this
application to generate plots based on some simple user inputs. After I get the plot looking the way I like, I have
a "Save Plot" button which basically calls self.canvas.print_figure(filename,...). This works great for saving to
JPG and PNG format. What I'd like to do is be able to save to PS or EPS format. Is this possible?
It seems like there is an switch_backend() function which might be of help. Before I go down that route, I'd like to know
if it is possible to use the WXAgg backend for normal plotting to the screen and then switch_backend(PS), redraw the
plot, save using print_figure() or savefig() to a *.ps file, and then switch_backend(WXAgg) to resume interactive
plotting on the screen.