[matplotlib-devel] 'Polygon' object has no attribute '_paths'

2009-06-30 Thread Ch B Komaki
There is a problem on pylab ,WindowsTraceback (most recent call last):  File 
"\basemap-0.9.5\examples\plot_tissot.py", line 59, in     
m.drawmapboundary()  File 
"C:\Python25\Lib\site-packages\matplotlib\toolkits\basemap\basemap.py", line 
1227, in drawmapboundary    ax.add_collection(bound)  File 
"C:\Python25\Lib\site-packages\matplotlib\axes.py", line 1320, in 
add_collection    if collection._paths and 
len(collection._paths):AttributeError: 'Polygon' object has no attribute 
'_paths'


  --
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


[matplotlib-devel] TypeError: 'Bbox' object is not iterable

2009-06-30 Thread Ch B Komaki
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 ">> input>", 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 onbasemap-0.9.5\examples\plotmap.py", line 34, in     
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