Removed pyqtgraph keyword argument that only works on development build

This commit is contained in:
Luke Hubmayer-Werner 2018-12-10 17:27:59 +10:30
parent f14a5a47ed
commit 1e2d301abb
1 changed files with 2 additions and 1 deletions

View File

@ -23,9 +23,10 @@ from pyqtgraph.Qt import QtCore, QtGui
import pyqtgraph as pg import pyqtgraph as pg
app = QtGui.QApplication([]) app = QtGui.QApplication([])
win = pg.GraphicsLayoutWidget(show=True) win = pg.GraphicsLayoutWidget()
win.resize(2000,600) win.resize(2000,600)
win.setWindowTitle('Scatter Plot') win.setWindowTitle('Scatter Plot')
win.show()
p5 = win.addPlot(title="Scatter Plot") p5 = win.addPlot(title="Scatter Plot")
p5.plot(positions[:,:,0], pen=None, symbol='s', symbolPen=None, symbolSize=10, symbolBrush=(100, 100, 255, 250)) p5.plot(positions[:,:,0], pen=None, symbol='s', symbolPen=None, symbolSize=10, symbolBrush=(100, 100, 255, 250))