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