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

Method report

imagepy/tools/Measure/coordinate_tol.py:51–55  ·  view source on GitHub ↗
(self, title)

Source from the content-addressed store, hash-verified

49 dc.DrawText('(%.1f,%.1f)'%(i[0]*unit, i[1]*unit), x, y)
50
51 def report(self, title):
52 unit = 1 if self.unit is None else self.unit[0]
53 rst = [(x*unit, y*unit) for x,y in self.body]
54 titles = ['OX', 'OY']
55 IPy.show_table(pd.DataFrame(rst, columns=titles), title)
56
57class Plugin(Tool):
58 """Define the coordinate class plugin with the event callback functions"""

Callers 1

mouse_downMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected