From: Paul K. <pki...@gm...> - 2008-07-27 12:43:51
|
On Sat, Jul 26, 2008 at 7:26 PM, John Hunter <jd...@gm...> wrote: > But this example revealed a serious problem for wxagg -- the wx > backend save method was getting triggered. So wxagg couuld display an > image, but if we try to save it, it fails because backend_wx's > print_figure is getting called. I fixed this by reversing the order > of the inheritance in FigureCanvasWXAgg so that FigureCanvasAgg is > first. *please test*. That one is my fault. I was having trouble getting start_event_loop and draw_idle from Wx to trigger from WxAgg. I have no explanation why it works now with Agg before Wx --- Agg should pick up the default draw_idle from Base so WxAgg shouldn't try to look for it in Wx. - Paul |