Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7ca1a4 commit 694b3bfCopy full SHA for 694b3bf
lib/matplotlib/tests/test_contour.py
@@ -374,17 +374,17 @@ def test_circular_contour_warning():
374
extensions=['png'], remove_text=True, style='mpl20')
375
def test_contourf_log_extension():
376
# Test that contourf with lognorm is extended correctly
377
- fig = plt.figure(figsize=(10,5))
+ fig = plt.figure(figsize=(10, 5))
378
fig.subplots_adjust(left=0.05, right=0.95)
379
ax1 = fig.add_subplot(131)
380
ax2 = fig.add_subplot(132)
381
ax3 = fig.add_subplot(133)
382
383
# 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)
+ data_exp = np.linspace(-8, 10, 1200)
+ data = np.power(10, data_exp).reshape(30, 40)
386
# make manual levels e.g. between 1e-4 and 1e-6
387
- levels_exp = np.arange(-4.,7.)
+ levels_exp = np.arange(-4., 7.)
388
levels = np.power(10., levels_exp)
389
390
# original data
0 commit comments