Michael Droettboom wrote:
> Jeff Whitaker wrote:
>> Michael Droettboom wrote:
>>> Actually, this is the inverse error to the other one ;)  Keeping 
>>> track of which APIs are "current" is proving difficult.
>>>
>>> Try r4448...  Thanks for your patience.
>>>
>>> Cheers,
>>> Mike
>>
>> Mike:  That did it now, thanks!  
>
> Phew!
>
>> Now trying the basemap examples, I see that very often I assume that 
>> ax.get_position() returns a tuple, but now it returns a Bbox 
>> instance.  So, I get errors like this
>>
>> File "contour_demo.py", line 25, in <module>
>>    l,b,w,h=ax.get_position()
>> TypeError: 'Bbox' object is not iterable
>>
>> Is that an API change that I need to adjust to, or a bug?
>
> That's an API change.  There's a list of changes related to the 
> transforms branch at the top of API_CHANGES.  There's a lot of them, 
> but they all follow a pretty similar pattern.
>
> I've been secretly worried that these changes will make life difficult 
> for large bits of third-party code (like basemap).  If any of these 
> changes makes something much harder to do than it used to be, please 
> let me know, and we can find a solution.  None of this is set in 
> stone, obviously, since it's still and experimental branch.
>
> Cheers,
> Mike
>

Mike:  Ah - I should have seen that.  Looks like I might have to create 
a basemap-transforms branch.

-Jeff


-- 
Jeffrey S. Whitaker         Phone  : (303)497-6313
Meteorologist               FAX    : (303)497-6449
NOAA/OAR/PSD  R/PSD1        Email  : [EMAIL PROTECTED]
325 Broadway                Office : Skaggs Research Cntr 1D-124
Boulder, CO, USA 80303-3328 Web    : http://tinyurl.com/5telg


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to