minor fixes

This commit is contained in:
Luke Campagnola 2013-02-12 23:10:25 -05:00
parent 9f55a27fdd
commit 4dbc411d19
2 changed files with 3 additions and 3 deletions

View File

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

View File

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