From f85a1015ad3bda9817a93c7d620e99e1415ae7be Mon Sep 17 00:00:00 2001 From: KIU Shueng Chuan Date: Sat, 17 Jul 2021 18:28:09 +0800 Subject: [PATCH] fix GLTextItem to use relative imports --- pyqtgraph/opengl/items/GLTextItem.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyqtgraph/opengl/items/GLTextItem.py b/pyqtgraph/opengl/items/GLTextItem.py index 59a4741d..b1b1b6c0 100644 --- a/pyqtgraph/opengl/items/GLTextItem.py +++ b/pyqtgraph/opengl/items/GLTextItem.py @@ -1,8 +1,8 @@ from OpenGL.GL import * import numpy as np -from pyqtgraph.Qt import QtCore, QtGui -from pyqtgraph.opengl.GLGraphicsItem import GLGraphicsItem -import pyqtgraph.functions as fn +from ...Qt import QtCore, QtGui +from .. GLGraphicsItem import GLGraphicsItem +from ... import functions as fn __all__ = ['GLTextItem']