Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70fdd6e commit 3e5aa3aCopy full SHA for 3e5aa3a
1 file changed
lib/matplotlib/quiver.py
@@ -702,7 +702,7 @@ def _h_arrows(self, length):
702
X0 = x0.take(ii)
703
Y0 = y0.take(ii)
704
Y0[3:-1] *= -1
705
- shrink = length / minsh if minsh > 0. else 0.
+ shrink = length / minsh if minsh != 0. else 0.
706
X0 = shrink * X0[np.newaxis, :]
707
Y0 = shrink * Y0[np.newaxis, :]
708
short = np.repeat(length < minsh, 8, axis=1)
0 commit comments