|
From: John H. <jdh...@ac...> - 2004-07-22 19:08:58
|
>>>>> "Jeffery" == Jeffery D Collins <Jef...@ve...> writes:
Jeffery> I'm getting an unexpected keyword error on 'extent'. Is
Jeffery> this keyword available in the latest release or just in
Jeffery> CVS?
I must be getting soft in the head. I thought this was in the 0.60.2
release, but you're right, it is not. Just checked the CHANGELOG.
There is a way to do it in 0.60.2, but it is deprecated in CVS.
Arggg.
Your choices
* wait for 0.61 (next week)
* build from CVS - best solution. Fixes some problems with image
extent plus image.origin='lower' reported earlier on
matplotlib-users.
* use the (deprecated in CVS/0.61)
im = imshow(A)
gca().set_image_extent(0, 25, 0, 25)
Sorry for the confusions,
JDH
|