aboutsummaryrefslogtreecommitdiffstats
path: root/examples/datavisualization
diff options
context:
space:
mode:
authorCristian Maureira-Fredes <cristian.maureira-fredes@qt.io>2018-06-18 13:15:27 +0200
committerCristian Maureira-Fredes <cristian.maureira-fredes@qt.io>2018-06-18 11:52:55 +0000
commit5d88488592f55aa8d81b3256a4e76cfdf1a7f050 (patch)
tree11a197a6fb2b17747edee52bfcd8e2a11e843207 /examples/datavisualization
parent59694f8bf1c2f81c00d15fffef3060509d2a4b63 (diff)
Remove semicolon from examples
Task-number: PYSIDE-712 Change-Id: Ib91e4fec88bdb7146e54c285c7f4da60deecb6cf Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'examples/datavisualization')
-rw-r--r--examples/datavisualization/bars3d.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/datavisualization/bars3d.py b/examples/datavisualization/bars3d.py
index e8b568f2..e2fa7320 100644
--- a/examples/datavisualization/bars3d.py
+++ b/examples/datavisualization/bars3d.py
@@ -68,18 +68,18 @@ class MainWindow(QMainWindow):
self.columnAxis.setTitle('Columns')
self.columnAxis.setTitleVisible(True)
self.columnAxis.setLabels(['Column1', 'Column2'])
- self.columnAxis.setLabelAutoRotation(30);
+ self.columnAxis.setLabelAutoRotation(30)
self.rowAxis = QtDataVisualization.QCategory3DAxis()
self.rowAxis.setTitle('Rows')
self.rowAxis.setTitleVisible(True)
self.rowAxis.setLabels(['Row1', 'Row2'])
- self.rowAxis.setLabelAutoRotation(30);
+ self.rowAxis.setLabelAutoRotation(30)
self.valueAxis = QtDataVisualization.QValue3DAxis()
self.valueAxis.setTitle('Values')
self.valueAxis.setTitleVisible(True)
- self.valueAxis.setRange(0, 5);
+ self.valueAxis.setRange(0, 5)
self.bars.setRowAxis(self.rowAxis)
self.bars.setColumnAxis(self.columnAxis)
@@ -104,8 +104,8 @@ class MainWindow(QMainWindow):
size = geometry.height() * 3 / 4
self.container.setMinimumSize(size, size)
- self.container.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding);
- self.container.setFocusPolicy(Qt.StrongFocus);
+ self.container.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding)
+ self.container.setFocusPolicy(Qt.StrongFocus)
self.setCentralWidget(self.container)
if __name__ == '__main__':