()
| 248 | |
| 249 | @image_comparison(['quiver_xy.png'], remove_text=True, style='_classic_test') |
| 250 | def test_quiver_xy(): |
| 251 | # simple arrow pointing from SW to NE |
| 252 | fig, ax = plt.subplots(subplot_kw=dict(aspect='equal')) |
| 253 | ax.quiver(0, 0, 1, 1, angles='xy', scale_units='xy', scale=1) |
| 254 | ax.set_xlim(0, 1.1) |
| 255 | ax.set_ylim(0, 1.1) |
| 256 | ax.grid() |
| 257 | |
| 258 | |
| 259 | def test_quiverkey_angles(): |