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 ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users