From c84c94c13af70a7aa0eb5c8095d3959d7edb0bec Mon Sep 17 00:00:00 2001 From: Luke Campagnola Date: Tue, 12 Feb 2013 23:10:25 -0500 Subject: [PATCH] minor fixes --- graphicsItems/GraphItem.py | 4 ++-- parametertree/Parameter.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/graphicsItems/GraphItem.py b/graphicsItems/GraphItem.py index bf03fef6..be6138ce 100644 --- a/graphicsItems/GraphItem.py +++ b/graphicsItems/GraphItem.py @@ -1,6 +1,6 @@ from .. import functions as fn -from GraphicsObject import GraphicsObject -from ScatterPlotItem import ScatterPlotItem +from .GraphicsObject import GraphicsObject +from .ScatterPlotItem import ScatterPlotItem import pyqtgraph as pg import numpy as np diff --git a/parametertree/Parameter.py b/parametertree/Parameter.py index c8e19f16..9a7ece25 100644 --- a/parametertree/Parameter.py +++ b/parametertree/Parameter.py @@ -615,7 +615,7 @@ class Parameter(QtCore.QObject): if attr in self.names: import traceback traceback.print_stack() - print "Warning: Use of Parameter.subParam is deprecated. Use Parameter.param(name) instead." + print("Warning: Use of Parameter.subParam is deprecated. Use Parameter.param(name) instead.") return self.param(attr) else: raise AttributeError(attr)