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

Skip to content

Commit 968eec4

Browse files
committed
Code style fixes.
1 parent 35c51d5 commit 968eec4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/matplotlib/tests/test_colors.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,9 @@ def gray_from_float_rgba():
205205
assert_raises(ValueError, gray_from_float_rgba)
206206

207207
def test_light_source_shading_color_range():
208-
# see also http://matplotlib.org/examples/pylab_examples/shading_example.html
208+
# see also
209+
#http://matplotlib.org/examples/pylab_examples/shading_example.html
210+
209211
from matplotlib.colors import LightSource
210212

211213
norm = mcolors.Normalize(vmin=0, vmax=50)
@@ -217,7 +219,7 @@ def test_light_source_shading_color_range():
217219
# shade data, creating an rgb array.
218220
rgb = ls.shade(Z, plt.cm.jet, norm=norm)
219221
# plot un-shaded and shaded images.
220-
plt.figure(figsize=(12,5))
222+
plt.figure(figsize=(12, 5))
221223
plt.subplot(121)
222224
plt.imshow(Z, cmap=plt.cm.jet, norm=norm)
223225
plt.title('imshow')

0 commit comments

Comments
 (0)