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

Skip to content

Commit a6c6399

Browse files
committed
style compliance fixes
1 parent 258574d commit a6c6399

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
@@ -2995,16 +2995,15 @@ def test_errorbar_offsets(fig_test, fig_ref):
29952995
ax_ref = fig_ref.subplots()
29962996
ax_test = fig_test.subplots()
29972997

2998-
29992998
for color, shift in zip('rgbk', [0, 0, 2, 7]):
30002999
y += .02
30013000

3002-
#Using feature in question
3001+
# Using feature in question
30033002
ax_test.errorbar(x, y, yerr, errorevery=(shift, 4),
3004-
capsize=4, c=color)
3003+
capsize=4, c=color)
30053004

3006-
#Using manual errorbars
3007-
#n.b. errorbar draws the main plot at z=2.1 by default
3005+
# Using manual errorbars
3006+
# n.b. errorbar draws the main plot at z=2.1 by default
30083007
ax_ref.plot(x, y, c=color, zorder=2.1)
30093008
ax_ref.errorbar(x[shift::4], y[shift::4], yerr[shift::4],
30103009
capsize=4, c=color, fmt='none')

0 commit comments

Comments
 (0)