MCPcopy Create free account
hub / github.com/PyQt5/PyQt / __init__

Method __init__

Test/ChartView/ChartView.py:36–41  ·  view source on GitHub ↗
(self, file, parent=None)

Source from the content-addressed store, hash-verified

34class ChartView(QChartView):
35
36 def __init__(self, file, parent=None):
37 super(ChartView, self).__init__(parent)
38 self._chart = QChart()
39 self._chart.setAcceptHoverEvents(True)
40 self.setChart(self._chart)
41 self.initUi(file)
42
43 def initUi(self, file):
44 if isinstance(file, dict):

Callers

nothing calls this directly

Calls 1

initUiMethod · 0.95

Tested by

no test coverage detected