Skip to content

Commit

Permalink
Fix #672
Browse files Browse the repository at this point in the history
  • Loading branch information
ocefpaf committed Sep 14, 2015
1 parent 67f5eb9 commit 271e852
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cartopy/mpl/geoaxes.py
Expand Up @@ -1428,7 +1428,7 @@ def quiver(self, x, y, u, v, *args, **kwargs):
elif t != self.projection:
# Transform the vectors if the projection is not the same as the
# data transform.
if x.ndim == 1 and y.ndim == 1:
if (x.ndim == 1 and y.ndim == 1) and (u.ndim != 1 and v.ndim != 1):
x, y = np.meshgrid(x, y)
u, v = self.projection.transform_vectors(t, x, y, u, v)
return matplotlib.axes.Axes.quiver(self, x, y, u, v, *args, **kwargs)
Expand Down

0 comments on commit 271e852

Please sign in to comment.