missing import of pg
CI passed because of the way the example gets invoked.
This commit is contained in:
parent
96f7ce1325
commit
f9f5d46589
@ -6,10 +6,10 @@ Very basic 3D graphics example; create a view widget and add a few items.
|
||||
## Add path to library (just for examples; you do not need this)
|
||||
import initExample
|
||||
|
||||
from pyqtgraph.Qt import QtCore, QtGui, mkQApp
|
||||
import pyqtgraph as pg
|
||||
import pyqtgraph.opengl as gl
|
||||
|
||||
app = mkQApp("GLViewWidget Example")
|
||||
pg.mkQApp("GLViewWidget Example")
|
||||
w = gl.GLViewWidget()
|
||||
w.opts['distance'] = 20
|
||||
w.show()
|
||||
|
Loading…
x
Reference in New Issue
Block a user