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

Skip to content

Commit cd5a116

Browse files
Merge pull request #31217 from rcomer/quiver-mid
DOC: use pivot='middle' instead of 'mid' in quiver demo
2 parents 67ebfc9 + af8352d commit cd5a116

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

galleries/examples/images_contours_and_fields/quiver_demo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
# %%
3131

3232
fig2, ax2 = plt.subplots()
33-
ax2.set_title("pivot='mid'; every third arrow; units='inches'")
33+
ax2.set_title("pivot='middle'; every third arrow; units='inches'")
3434
Q = ax2.quiver(X[::3, ::3], Y[::3, ::3], U[::3, ::3], V[::3, ::3],
35-
pivot='mid', units='inches')
35+
pivot='middle', units='inches')
3636
qk = ax2.quiverkey(Q, 0.9, 0.9, 1, r'$1 \frac{m}{s}$', labelpos='E',
3737
coordinates='figure')
3838
ax2.scatter(X[::3, ::3], Y[::3, ::3], color='r', s=5)

0 commit comments

Comments
 (0)