()
| 83 | |
| 84 | |
| 85 | def test_no_warnings(): |
| 86 | fig, ax = plt.subplots() |
| 87 | X, Y = np.meshgrid(np.arange(15), np.arange(10)) |
| 88 | U = V = np.ones_like(X) |
| 89 | phi = (np.random.rand(15, 10) - .5) * 150 |
| 90 | ax.quiver(X, Y, U, V, angles=phi) |
| 91 | fig.canvas.draw() # Check that no warning is emitted. |
| 92 | |
| 93 | |
| 94 | def test_zero_headlength(): |