MCPcopy Create free account
hub / github.com/Image-Py/imagepy / set_info

Method set_info

imagepy/ui/tableframe.py:36–38  ·  view source on GitHub ↗
(self, tps)

Source from the content-addressed store, hash-verified

34 print('Table Panel Del')
35
36 def set_info(self, tps):
37 self.lab_info.SetLabel('%sx%s; %.2fK'%(tps.data.shape+(tps.get_nbytes()/1024.0,)))
38 if not self.handle is None: self.handle(tps)
39
40 def on_test(self, event):
41 print(self.grid.GetSelectedCols(), self.grid.GetSelectedRows())

Callers

nothing calls this directly

Calls 2

get_nbytesMethod · 0.45
handleMethod · 0.45

Tested by

no test coverage detected