missing import of pg

CI passed because of the way the example gets invoked.
This commit is contained in:
KIU Shueng Chuan 2021-06-29 12:58:57 +08:00
parent 96f7ce1325
commit f9f5d46589
1 changed files with 2 additions and 2 deletions

View File

@ -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()