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

Method OnTSPlot

wrappers/Python/CoolProp/GUI/CoolPropGUI.py:463–468  ·  view source on GitHub ↗
(self, event, mnuItem)

Source from the content-addressed store, hash-verified

461 PH.Show()
462
463 def OnTSPlot(self, event, mnuItem):
464 # Make a p-h plot instance in a new frame
465 # Get the label (Fluid name)
466 Fluid = self.TSPlot.FindItemById(event.Id).Label
467 TS = TSPlotFrame(Fluid)
468 TS.Show()
469
470
471if __name__ == '__main__':

Callers 1

buildMethod · 0.95

Calls 1

TSPlotFrameClass · 0.85

Tested by

no test coverage detected