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

Method on_save

imagepy/ui/plotwindow.py:194–198  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

192 self.Close()
193
194 def on_save(self, event):
195 para = {'path':'./'}
196 filt = 'PNG files (*.png)|*.png'
197 IPy.getpath('Save..', filt, 'save', para)
198 self.canvas.save(para['path'])
199
200 def on_closing(self, event):
201 PlotManager.remove(self.GetTitle())

Callers

nothing calls this directly

Calls 1

saveMethod · 0.80

Tested by

no test coverage detected