On Dec 1, 2007 7:47 PM, hjc520070 <[EMAIL PROTECTED]> 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 ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users