Fixed issue where setData only updated opts if data is given

This commit is contained in:
HashSplat 2017-08-09 14:36:50 -04:00
parent c247aa3989
commit ae9bce665c

View File

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