Fixed issue where setData only updated opts if data is given
This commit is contained in:
parent
c247aa3989
commit
ae9bce665c
@ -442,6 +442,8 @@ class PlotDataItem(GraphicsObject):
|
|||||||
|
|
||||||
|
|
||||||
if y is None:
|
if y is None:
|
||||||
|
self.updateItems()
|
||||||
|
profiler('update items')
|
||||||
return
|
return
|
||||||
if y is not None and x is None:
|
if y is not None and x is None:
|
||||||
x = np.arange(len(y))
|
x = np.arange(len(y))
|
||||||
|
Loading…
Reference in New Issue
Block a user