Esempio n. 1
0
 def test_write_image(self):
     im_arr = ImageArray(dummy_image(10.0, 4))
     im_arr.write_image("with_cmap", cmap_name="hot")
     im_arr.write_image("channel_1.png", channel=1)
Esempio n. 2
0
 def test_write_image(self):
     im_arr = ImageArray(dummy_image(10.0, 4))
     im_arr.write_image('with_cmap', cmap_name='hot')
     im_arr.write_image('channel_1.png', channel=1)