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

Class SimpleGrid

wrappers/Python/CoolProp/GUI/CoolPropGUI.py:175–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173
174
175class SimpleGrid(wx.grid.Grid):
176 def __init__(self, parent, ncol=20, nrow=8):
177 wx.grid.Grid.__init__(self, parent)
178
179 self.CreateGrid(ncol, nrow)
180 [self.SetCellValue(i, j, '0.0') for i in range(20) for j in range(8)]
181
182
183class SaturationTableDialog(wx.Dialog):

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected