MCPcopy Create free account
hub / github.com/CoolProp/CoolProp / OnPsychPlot

Method OnPsychPlot

wrappers/Python/CoolProp/GUI/CoolPropGUI.py:440–450  ·  view source on GitHub ↗
(self, event=None)

Source from the content-addressed store, hash-verified

438 self.SetMenuBar(self.MenuBar)
439
440 def OnPsychPlot(self, event=None):
441
442 # Load the options
443 dlg = PsychOptions(None)
444 if dlg.ShowModal() == wx.ID_OK:
445 Tmin = float(dlg.Tmin.GetValue()) + 273.15
446 Tmax = float(dlg.Tmax.GetValue()) + 273.15
447 p = float(dlg.p.GetValue())
448 PPF = PsychPlotFrame(Tmin=Tmin, Tmax=Tmax, p=p, size=(1000, 700))
449 PPF.Show()
450 dlg.Destroy()
451
452 def OnSatTable(self, event):
453 TBL = SaturationTable(None)

Callers

nothing calls this directly

Calls 2

PsychOptionsClass · 0.85
PsychPlotFrameClass · 0.85

Tested by

no test coverage detected