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 “”, line 1, in
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
on
basemap-0.9.5\examples\plotmap.py", line 34, in
l,b,w,h = ax.get_position()
TypeError: ‘Bbox’ object is not iterable
best regards