MCPcopy Create free account
hub / github.com/Apress/modern-pyqt / initializeUI

Method initializeUI

ch03_data_visualization/pyqt_matplotlib.py:32–38  ·  view source on GitHub ↗

Initialize the window and display its contents.

(self)

Source from the content-addressed store, hash-verified

30 self.initializeUI()
31
32 def initializeUI(self):
33 """Initialize the window and display its contents."""
34 self.setMinimumSize(1000, 800)
35 self.setWindowTitle("3.2 - PyQt5 + Matplotlib")
36
37 self.setupChart()
38 self.show()
39
40 def setupChart(self):
41 """Set up the GUI's window and widgets that are embedded with Matplotlib figures."""

Callers 1

__init__Method · 0.95

Calls 1

setupChartMethod · 0.95

Tested by

no test coverage detected