diff options
Diffstat (limited to 'eitControl.py')
-rw-r--r-- | eitControl.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/eitControl.py b/eitControl.py index 7dfc594..536cf37 100644 --- a/eitControl.py +++ b/eitControl.py @@ -73,7 +73,6 @@ class Experiment: self.dataPlot = pg.PlotWidget(name='Plot1') d2.addWidget(self.dataPlot) - self.dataPlot.setBackground(None) self.dataPlot.showGrid(x=True, y=True) self.dataPlot.addLegend() @@ -231,6 +230,8 @@ if __name__ == '__main__': args = parser.parse_args() app = QtGui.QApplication([]) + pg.setConfigOption('background', 'w') + pg.setConfigOption('foreground', 'k') mw = QtGui.QMainWindow() mw.setWindowTitle('pyqtgraph example: PlotWidget') mw.resize(800,800) |