[Matplotlib-users] Strange behavior with basemap.interp() and masked arrays

2013-06-21 Thread Goodman, Alexander (398J-Affiliate)
Hi, I am trying to use basemap's interp function for regridding purposes, and I need to be able to handle masked arrays. Using bilinear or nearest-neighbor interpolation (order=1, order=0), it seems to work fine for masked arrays. However, none of the elements get masked after using cubic spline i

Re: [Matplotlib-users] 3D-projection scatter plot with legend

2013-06-21 Thread Benjamin Root
Looks like you found a bug. It works properly with ax.plot(), but not for scatter(). Strange... As for contour(), it doesn't get a legend entry in the 2D case, so I wouldn't expect it to get a legend entry in the 3D case either. Could you file a bug report on github for this, please? Cheers! B

[Matplotlib-users] 3D-projection scatter plot with legend

2013-06-21 Thread Thomas Goebel
Hi list, i am plotting some data using scatter and contour method while using projection 3d. Now i want to label these two plots, but i get the following warning: " UserWarning: No labeled objects found. Use label='...' kwarg on individual plots. warnings.warn("No labeled objects