Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/matplotlib/matplotlib
/ set_data
Method
set_data
lib/matplotlib/offsetbox.py:1254–1257 ·
view source on GitHub ↗
(self, arr)
Source
from the content-addressed store, hash-verified
1252
self.set_data(arr)
1253
1254
def
set_data(self, arr):
1255
self._data = np.asarray(arr)
1256
self.image.set_data(self._data)
1257
self.stale = True
1258
1259
def
get_data(self):
1260
return
self._data
Callers
1
__init__
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected