forked from M-Labs/artiq
1
0
Fork 0

applets: style

This commit is contained in:
Robert Jördens 2016-04-08 01:22:53 +08:00 committed by Sebastien Bourdeauducq
parent 001f6d6fab
commit 9ceca44dbe
2 changed files with 2 additions and 3 deletions

View File

@ -1,6 +1,5 @@
#!/usr/bin/env python3.5
import numpy as np
import PyQt5 # make sure pyqtgraph imports Qt5
import pyqtgraph

View File

@ -23,7 +23,7 @@ def _compute_ys(histogram_bins, histograms_counts):
class XYHistPlot(QtWidgets.QSplitter):
def __init__(self, args):
QtWidgets.QSplitter.__init__(self)
self.resize(1000,600)
self.resize(1000, 600)
self.setWindowTitle("XY/Histogram")
self.xy_plot = pyqtgraph.PlotWidget()