Hey,
Up until recently I have been using mpl 0.90.1, and my application
worked fine. Yesterday I upgraded to 0.91.2 and am now getting the
following traceback:
File "application.
py", line 667, in plot
radial_plot_figure.savefig(png_file, dpi=self.dpi)
File "C:\Python25\Lib\site-packages\matplotlib\figure.py", line 770,
in savefig
self.canvas.print_figure(*args, **kwargs)
File "C:\Python25\Lib\site-packages\matplotlib\backends\backend_wxagg.py",
line 101, in print_figu
re
FigureCanvasAgg.print_figure(self, filename, *args, **kwargs)
File "C:\Python25\Lib\site-packages\matplotlib\backend_bases.py",
line 1202, in print_figure
self.figure.canvas.draw()
File "C:\Python25\Lib\site-packages\matplotlib\backends\backend_wxagg.py",
line 65, in draw
self.gui_repaint()
File "C:\Python25\Lib\site-packages\matplotlib\backends\backend_wx.py",
line 987, in gui_repaint
drawDC.DrawBitmap(self.bitmap, 0, 0)
File "C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\_gdi.py",
line 3387, in DrawBitmap
return _gdi_.DC_DrawBitmap(*args, **kwargs)
PyAssertionError: C++ assertion "hdcDst && hdcSrc" failed at
..\..\src\msw\dc.cpp(2559) in AlphaBlt(
): AlphaBlt(): invalid HDC
Does anyone have any suggestions to why this is happening?
Thanks.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users