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

Method set_array

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

Retained for backwards compatibility - use set_data instead. Parameters ---------- A : array-like

(self, A)

Source from the content-addressed store, hash-verified

667 self.stale = True
668
669 def set_array(self, A):
670 """
671 Retained for backwards compatibility - use set_data instead.
672
673 Parameters
674 ----------
675 A : array-like
676 """
677 # This also needs to be here to override the inherited
678 # cm.ScalarMappable.set_array method so it is not invoked by mistake.
679
680 self.set_data(A)
681
682 def get_interpolation(self):
683 """

Callers 15

plot_surfaceMethod · 0.45
plot_trisurfMethod · 0.45
set_dataMethod · 0.45
figimageMethod · 0.45
streamplotFunction · 0.45
_process_colorsMethod · 0.45
set_UVCMethod · 0.45
set_UVCMethod · 0.45
scatterMethod · 0.45
hexbinMethod · 0.45
pcolorMethod · 0.45
pcolormeshMethod · 0.45

Calls 1

set_dataMethod · 0.95

Tested by 1

test_remove_from_figureFunction · 0.36