MCPcopy Create free account
hub / github.com/ColdGrub1384/Pyto / set_data

Method set_data

site-packages/matplotlib/image.py:1209–1213  ·  view source on GitHub ↗

Set the image array.

(self, A)

Source from the content-addressed store, hash-verified

1207 unsampled=unsampled, round_to_pixel_border=False)
1208
1209 def set_data(self, A):
1210 """Set the image array."""
1211 cm.ScalarMappable.set_array(self,
1212 cbook.safe_masked_invalid(A, copy=True))
1213 self.stale = True
1214
1215
1216class BboxImage(_ImageBase):

Callers 1

test_figureimage_setdataFunction · 0.95

Calls 1

set_arrayMethod · 0.45

Tested by 1

test_figureimage_setdataFunction · 0.76