From: John H. <jd...@gm...> - 2007-12-05 14:50:58
|
On Dec 1, 2007 7:47 PM, hjc520070 <jia...@16...> wrote: > > The following run well . But I just want to make the image, with the x and y > as axis and z as the image value ,show on the figure. In the pylab , we can > just give a command "imshow" ,But here , I fail to do it , I have try > ax.imshow() again and again ,but fail. Can sb give me some advice . Thank > you . You cannot import pylab and use the FigureCanvasWx at the same time. Please follow the lead of examples/embedding_in_wx*.py if you want to use matplotlib in a wxpython GUI. Using pylab at the same time as the API is undefined and unsupported. JDH |