On Nov 29, 2007 7:34 AM, hjc520070 <[EMAIL PROTECTED]> wrote:
>
> I just want to show a matplotlib.image.AxesImage on a figure. But It can't
> work properly. Can somebody help me? The code are following:  when I run it
> , It just show a white figure. But I Set it cm.Greens .It doesn't work .

AxesImage is not meant to be instantiated directly, but to be created
via ax.imshow, so I suggest you do that.  imshow will return and
AxesImage instance to you.  But it looks like your problem is you did
not add the image to the axes via ax.images.append.

For future reference, this type of question is probably best directed
to matplotlib-users, since the devel list is for matplotlib
development rather than usage.

Thanks,
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-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to