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

Skip to content

Commit 6d6da09

Browse files
committed
use single quote
1 parent 60fad74 commit 6d6da09

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/matplotlib/tests/test_quiver.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -349,14 +349,14 @@ def draw_quiverkey_zorder_argument(fig, zorder=None):
349349
ax.set_ylim(0.5, 5.5)
350350
if zorder is None:
351351
ax.quiverkey(q, 4, 4, 25,
352-
coordinates='data', label="U", color="blue")
352+
coordinates='data', label='U', color='blue')
353353
ax.quiverkey(q, 5.5, 2, 20,
354-
coordinates='data', label="V", color="blue", angle=90)
354+
coordinates='data', label='V', color='blue', angle=90)
355355
else:
356356
ax.quiverkey(q, 4, 4, 25,
357-
coordinates='data', label="U", color="blue", zorder=zorder)
357+
coordinates='data', label='U', color='blue', zorder=zorder)
358358
ax.quiverkey(q, 5.5, 2, 20,
359-
coordinates='data', label="V", color="blue", angle=90, zorder=zorder)
359+
coordinates='data', label='V', color='blue', angle=90, zorder=zorder)
360360

361361

362362
def draw_quiverkey_setzorder(fig, zorder=None):
@@ -371,9 +371,9 @@ def draw_quiverkey_setzorder(fig, zorder=None):
371371
ax.set_xlim(0.5, 5.5)
372372
ax.set_ylim(0.5, 5.5)
373373
qk1 = ax.quiverkey(q, 4, 4, 25,
374-
coordinates='data', label="U", color="blue")
374+
coordinates='data', label='U', color='blue')
375375
qk2 = ax.quiverkey(q, 5.5, 2, 20,
376-
coordinates='data', label="V", color="blue", angle=90)
376+
coordinates='data', label='V', color='blue', angle=90)
377377
if zorder is not None:
378378
qk1.set_zorder(zorder)
379379
qk2.set_zorder(zorder)

0 commit comments

Comments
 (0)