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

Skip to content

Commit 694b3bf

Browse files
committed
TEST: convert all to PEP8 style
1 parent a7ca1a4 commit 694b3bf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/matplotlib/tests/test_contour.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -374,17 +374,17 @@ def test_circular_contour_warning():
374374
extensions=['png'], remove_text=True, style='mpl20')
375375
def test_contourf_log_extension():
376376
# Test that contourf with lognorm is extended correctly
377-
fig = plt.figure(figsize=(10,5))
377+
fig = plt.figure(figsize=(10, 5))
378378
fig.subplots_adjust(left=0.05, right=0.95)
379379
ax1 = fig.add_subplot(131)
380380
ax2 = fig.add_subplot(132)
381381
ax3 = fig.add_subplot(133)
382382

383383
# make data set with large range e.g. between 1e-8 and 1e10
384-
data_exp = np.linspace(-8,10,1200)
385-
data = np.power(10, data_exp).reshape(30,40)
384+
data_exp = np.linspace(-8, 10, 1200)
385+
data = np.power(10, data_exp).reshape(30, 40)
386386
# make manual levels e.g. between 1e-4 and 1e-6
387-
levels_exp = np.arange(-4.,7.)
387+
levels_exp = np.arange(-4., 7.)
388388
levels = np.power(10., levels_exp)
389389

390390
# original data

0 commit comments

Comments
 (0)