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 bb85590 commit d0612fbCopy full SHA for d0612fb
lib/matplotlib/tests/test_image.py
@@ -441,11 +441,18 @@ def test_zoom_and_clip_upper_origin():
441
ax.set_xlim(-0.5, 2.0)
442
443
444
+@cleanup
445
def test_nonuniformimage_setcmap():
446
ax = plt.gca()
447
im = NonUniformImage(ax)
448
im.set_cmap('Blues')
449
450
451
+def test_nonuniformimage_setnorm():
452
+ ax = plt.gca()
453
+ im = NonUniformImage(ax)
454
+ im.set_norm(plt.Normalize())
455
+
456
if __name__=='__main__':
457
import nose
458
nose.runmodule(argv=['-s','--with-doctest'], exit=False)
0 commit comments