Revision: 7745
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7745&view=rev
Author:   efiring
Date:     2009-09-11 20:48:10 +0000 (Fri, 11 Sep 2009)

Log Message:
-----------
Fix bug in quiver angle kwarg, found when input angle array is not 1-D

Modified Paths:
--------------
    branches/v0_99_maint/lib/matplotlib/quiver.py

Modified: branches/v0_99_maint/lib/matplotlib/quiver.py
===================================================================
--- branches/v0_99_maint/lib/matplotlib/quiver.py       2009-09-11 15:07:22 UTC 
(rev 7744)
+++ branches/v0_99_maint/lib/matplotlib/quiver.py       2009-09-11 20:48:10 UTC 
(rev 7745)
@@ -506,6 +506,7 @@
             theta = np.angle(uv)
         else:
             theta = ma.masked_invalid(self.angles, copy=False).filled(0)
+            theta = theta.ravel()
             theta *= (np.pi/180.0)
         theta.shape = (theta.shape[0], 1) # for broadcasting
         xy = (X+Y*1j) * np.exp(1j*theta)*self.width


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to