Check that it is possible to set all arrow UVC to the same numbers
()
| 328 | |
| 329 | |
| 330 | def test_quiver_setuvc_numbers(): |
| 331 | """Check that it is possible to set all arrow UVC to the same numbers""" |
| 332 | |
| 333 | fig, ax = plt.subplots() |
| 334 | |
| 335 | X, Y = np.meshgrid(np.arange(2), np.arange(2)) |
| 336 | U = V = np.ones_like(X) |
| 337 | |
| 338 | q = ax.quiver(X, Y, U, V) |
| 339 | q.set_UVC(0, 1) |
| 340 | |
| 341 | |
| 342 | def draw_quiverkey_zorder_argument(fig, zorder=None): |