Dear sirs/madams,There is bug on
>>> from pylab import *>>> from pylab import *>>> fig=figure(figsize=(8,8))>>>
>>> ax = fig.add_axes([0.1,0.1,0.7,0.7])>>> l,b,w,h =
>>> ax.get_position()Traceback (most recent call last): File "<interactive
>>> input>", line 1, in <module>TypeError: 'Bbox' object is not iterable>>>
>>> ax.get_position()Bbox(array([[ 0.1, 0.1], [ 0.8, 0.8]]))I suggest
>>> this;[l,b],[w,h]=ax.get_position().get_points()
As its is a bug onbasemap-0.9.5\examples\plotmap.py", line 34, in <module>
l,b,w,h = ax.get_position()TypeError: 'Bbox' object is not iterable best
regards
------------------------------------------------------------------------------
_______________________________________________
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel