Set path attr in case ErrorBarItem initialized without data

This commit is contained in:
Kenneth Lyons 2019-05-03 18:45:15 -07:00
parent 51b3201564
commit 2817b95c93

View File

@ -59,6 +59,7 @@ class ErrorBarItem(GraphicsObject):
x, y = self.opts['x'], self.opts['y'] x, y = self.opts['x'], self.opts['y']
if x is None or y is None: if x is None or y is None:
self.path = p
return return
beam = self.opts['beam'] beam = self.opts['beam']