Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0a909f9

Browse filesBrowse files
committed
pep8 compliance
1 parent 269190e commit 0a909f9
Copy full SHA for 0a909f9

File tree

Expand file treeCollapse file tree

1 file changed

+11
-12
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+11
-12
lines changed

‎lib/matplotlib/tests/test_axes.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_axes.py
+11-12Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -937,33 +937,32 @@ def test_transparent_markers():
937937
import nose
938938
nose.runmodule(argv=['-s','--with-doctest'], exit=False)
939939

940-
940+
941941
@image_comparison(baseline_images=['vline_hline_zorder',
942942
'errorbar_zorder'])
943943
def test_eb_line_zorder():
944944
x = range(10)
945-
945+
946946
# First illustrate basic pyplot interface, using defaults where possible.
947947
fig = plt.figure()
948948
ax = fig.gca()
949-
ax.plot(x,lw=10,zorder=5)
950-
ax.axhline(1,color='red',lw=10,zorder=1)
951-
ax.axhline(5,color='green',lw=10,zorder=10)
952-
ax.axvline(7,color='m',lw=10,zorder=7)
953-
ax.axvline(2,color='k',lw=10,zorder=3)
954-
949+
ax.plot(x, lw=10, zorder=5)
950+
ax.axhline(1, color='red', lw=10, zorder=1)
951+
ax.axhline(5, color='green', lw=10, zorder=10)
952+
ax.axvline(7, color='m', lw=10, zorder=7)
953+
ax.axvline(2, color='k', lw=10, zorder=3)
954+
955955
ax.set_title("axvline and axhline zorder test")
956956

957-
958957
# Now switch to a more OO interface to exercise more features.
959958
fig = plt.figure()
960959
ax = fig.gca()
961960
x = range(10)
962961
y = np.zeros(10)
963962
yerr = range(10)
964-
ax.errorbar(x,y,yerr=yerr,zorder=5,lw=5,color='r')
963+
ax.errorbar(x, y, yerr=yerr, zorder=5, lw=5, color='r')
965964
for j in range(10):
966-
ax.axhline(j,lw=5,color='k',zorder=j)
967-
ax.axhline(-j,lw=5,color='k',zorder=j)
965+
ax.axhline(j, lw=5, color='k', zorder=j)
966+
ax.axhline(-j, lw=5, color='k', qzorder=j)
968967

969968
ax.set_title("errorbar zorder test")

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.