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

Skip to content

Commit 4523509

Browse files
committed
style compliance fixes
1 parent baafc99 commit 4523509

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

lib/matplotlib/tests/test_axes.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2911,16 +2911,15 @@ def test_errorbar_offsets(fig_test, fig_ref):
29112911
ax_ref = fig_ref.subplots()
29122912
ax_test = fig_test.subplots()
29132913

2914-
29152914
for color, shift in zip('rgbk', [0, 0, 2, 7]):
29162915
y += .02
29172916

2918-
#Using feature in question
2917+
# Using feature in question
29192918
ax_test.errorbar(x, y, yerr, errorevery=(shift, 4),
2920-
capsize=4, c=color)
2919+
capsize=4, c=color)
29212920

2922-
#Using manual errorbars
2923-
#n.b. errorbar draws the main plot at z=2.1 by default
2921+
# Using manual errorbars
2922+
# n.b. errorbar draws the main plot at z=2.1 by default
29242923
ax_ref.plot(x, y, c=color, zorder=2.1)
29252924
ax_ref.errorbar(x[shift::4], y[shift::4], yerr[shift::4],
29262925
capsize=4, c=color, fmt='none')

0 commit comments

Comments
 (0)