File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -205,7 +205,9 @@ def gray_from_float_rgba():
205205 assert_raises (ValueError , gray_from_float_rgba )
206206
207207def 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' )
You can’t perform that action at this time.
0 commit comments