Hi,
I've been messing around with it alot now.. but I still can't get a colorbar
on my image plot..
I think i got close with this:
img is an image in a numpy.ndarray
a = self.fig.gca() # Get the current axes
a.imshow( img, cmap = cm.gray )
self.fig.colorbar(img)
But that gives me the error "numpy.ndarray doesn't have attribute
autoscale"..
It does show a colorbar, but it's plain white and goes from 0.0 to 1.0
btw, im using wxPython.
Does anyone here know how it's done properly?
Thanks!
Soren
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users