Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c9ea0c2

Browse files
committed
Fix masked array handling in quiver.py for numpy. (Numeric
and numarray support for masked arrays is broken in other ways when using quiver. I didn't pursue that.) - ADS svn path=/trunk/matplotlib/; revision=3122
1 parent 9a5b7c1 commit c9ea0c2

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

CHANGELOG

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2007-03-25 Fix masked array handling in quiver.py for numpy. (Numeric
2+
and numarray support for masked arrays is broken in other
3+
ways when using quiver. I didn't pursue that.) - ADS
14

25
2007-03-23 Made font_manager.py close opened files. - JKS
36

lib/matplotlib/quiver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ def _set_transform(self):
368368

369369
def _make_verts(self, U, V):
370370
uv = U+V*1j
371-
uv = nx.ravel(nx.ma.filled(uv, nx.nan))
371+
uv = nx.ravel(uv)
372372
a = nx.absolute(uv)
373373
if self.scale is None:
374374
sn = max(10, math.sqrt(self.N))

0 commit comments

Comments
 (0)