Re: [Matplotlib-users] testing issue involving matplotlib

2014-04-16 Thread Benjamin Root
Hmmm, it isn't the same, but I wonder if it is related to the oddities around https://github.com/matplotlib/matplotlib/pull/2925 . What I mean is that in that case, none of our unit tests caught the problem, even though it should have. In your case, your unit tests is catching a similar problem, bu

Re: [Matplotlib-users] Fwd: Strange behaviour on plotting data on Ronbinson projection using Basemap

2014-04-16 Thread Chao YUE
Dear Phil, Thank you. This solves my problem. So the title of my mail is wrong, the behaviour is reasonable but I am using wrong coordinates. And also thanks to Jeff. Cheers, Chao On Wed, Apr 16, 2014 at 10:14 AM, Phil Elson wrote: > Hi Chao, > > The warning you are getting: > > WARNING: x c

Re: [Matplotlib-users] Fwd: Strange behaviour on plotting data on Ronbinson projection using Basemap

2014-04-16 Thread Phil Elson
Hi Chao, The warning you are getting: WARNING: x coordinate not monotonically increasing - contour plot may not be what you expect. If it looks odd, your can either adjust the map projection region to be consistent with your data, or (if your data is on a global lat/lon grid) use the shiftgrid f

Re: [Matplotlib-users] Issue with basemap.plot() when lon_0 nonzero

2014-04-16 Thread Phil Elson
Cool notebook. I took the liberty of giving it a go with cartopy, and you can see the results here http://nbviewer.ipython.org/gist/pelson/10822698 I'd agree that the issue you linked to does look very similar to the issue you are seeing, so I think this is very likely a bug. Cheers, On 16 Apri