|
From: Jeff W. <js...@fa...> - 2011-11-28 15:52:20
|
On 11/22/11 12:51 PM, Dave Xia wrote: > Hi, > > I am a new user of matplotlib Basemap. I tried to draw the latitude > with interval 0.1 degree using drawparallels, but failed. I wonder if > the drawparallels can draw latitude lines with small interval instead > of integer values. (drawmeridian can work with small interval 0.1). > > Does anyone have any idea to fix this issue? > > Thanks! > > Dave Confirmed. This is now fixed in github master. It's a one-liner, so you can manually patch your source if you prefer. Just change line 2067 in lib/mpl_toolkits/basemap/__init__.py from if t is not None: linecolls[int(lat)][1].append(t) to if t is not None: linecolls[lat][1].append(t) Regards, Jeff |