minor fixes
This commit is contained in:
parent
7fd3abbc5a
commit
c84c94c13a
@ -1,6 +1,6 @@
|
|||||||
from .. import functions as fn
|
from .. import functions as fn
|
||||||
from GraphicsObject import GraphicsObject
|
from .GraphicsObject import GraphicsObject
|
||||||
from ScatterPlotItem import ScatterPlotItem
|
from .ScatterPlotItem import ScatterPlotItem
|
||||||
import pyqtgraph as pg
|
import pyqtgraph as pg
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
|
||||||
|
@ -615,7 +615,7 @@ class Parameter(QtCore.QObject):
|
|||||||
if attr in self.names:
|
if attr in self.names:
|
||||||
import traceback
|
import traceback
|
||||||
traceback.print_stack()
|
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)
|
return self.param(attr)
|
||||||
else:
|
else:
|
||||||
raise AttributeError(attr)
|
raise AttributeError(attr)
|
||||||
|
Loading…
Reference in New Issue
Block a user