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

Skip to content

Commit 59db2ed

Browse files
committed
style compliance fixes
1 parent d75fb49 commit 59db2ed

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
@@ -2954,16 +2954,15 @@ def test_errorbar_offsets(fig_test, fig_ref):
29542954
ax_ref = fig_ref.subplots()
29552955
ax_test = fig_test.subplots()
29562956

2957-
29582957
for color, shift in zip('rgbk', [0, 0, 2, 7]):
29592958
y += .02
29602959

2961-
#Using feature in question
2960+
# Using feature in question
29622961
ax_test.errorbar(x, y, yerr, errorevery=(shift, 4),
2963-
capsize=4, c=color)
2962+
capsize=4, c=color)
29642963

2965-
#Using manual errorbars
2966-
#n.b. errorbar draws the main plot at z=2.1 by default
2964+
# Using manual errorbars
2965+
# n.b. errorbar draws the main plot at z=2.1 by default
29672966
ax_ref.plot(x, y, c=color, zorder=2.1)
29682967
ax_ref.errorbar(x[shift::4], y[shift::4], yerr[shift::4],
29692968
capsize=4, c=color, fmt='none')

0 commit comments

Comments
 (0)