From f9f5d46589c7473ec4edbe9795667c078d33ecac Mon Sep 17 00:00:00 2001 From: KIU Shueng Chuan Date: Tue, 29 Jun 2021 12:58:57 +0800 Subject: [PATCH] missing import of pg CI passed because of the way the example gets invoked. --- examples/GLViewWidget.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/GLViewWidget.py b/examples/GLViewWidget.py index 5bc23ba6..910fa8eb 100644 --- a/examples/GLViewWidget.py +++ b/examples/GLViewWidget.py @@ -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()