def onMake3D(self, iEvent): frame = cPlt3D.cPlotFrame(self, title="Plot{}".format(len(self.m_PlotFrames) + 1), size=(700, 550)) frame.initPanel(style=wx.SIMPLE_BORDER, pos=(0, 0), size=(700, 550)) frame.Show() #frame.m_PlotPanel.m_Axes.figure.canvas.draw() self.m_PlotFrames.append(frame) self.switchFocus(frame)
def onMake3D(self, iEvent): frame = cPlt3D.cPlotFrame( self, title="Plot{}".format(len(self.m_PlotFrames) + 1), size=(700, 550)) frame.initPanel(style=wx.SIMPLE_BORDER, pos=(0, 0), size=(700, 550)) frame.Show() #frame.m_PlotPanel.m_Axes.figure.canvas.draw() self.m_PlotFrames.append(frame) self.switchFocus(frame)
def __init__(self): self.m_App = wx.App(redirect=False) self.m_PlotFrame = cPlt3D.cPlotFrame(None, title="Bayesact Simulator", size=(700, 550)) self.m_PlotFrame.initPanel(style=wx.SIMPLE_BORDER, pos=(0, 0), size=(700, 550)) self.m_PlotBayesactSim = cPlotBayesactSim(self.m_PlotFrame, eEPA.evaluation, eEPA.potency, eEPA.activity) self.m_Thread = None self.m_ThreadExists = False self.m_LearnerSamples = [] self.m_SimulatorSamples = []