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

Method get_frame

imagepy/ui/plotwindow.py:138–142  ·  view source on GitHub ↗
(cls, title, gtitle='Graph', labelx='X-Unit', labely='Y-Unit')

Source from the content-addressed store, hash-verified

136
137 @classmethod
138 def get_frame(cls, title, gtitle='Graph', labelx='X-Unit', labely='Y-Unit'):
139 if PlotManager.get(title) == None:
140 PlotManager.add(cls(IPy.curapp, title))
141 PlotManager.get(title).set_title_label(gtitle, labelx, labely)
142 return PlotManager.get(title)
143
144 def __init__( self, parent, title):
145 wx.Frame.__init__ ( self, parent, id = wx.ID_ANY,

Callers 2

plotFunction · 0.80
plotwindow.pyFile · 0.80

Calls 3

set_title_labelMethod · 0.80
getMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected