Guard against zero px width
parent
3a7e00e287
commit
ba78d563b8
|
@ -408,7 +408,7 @@ class FastAppendCurve(pg.GraphicsObject):
|
||||||
|
|
||||||
self._in_ds = False
|
self._in_ds = False
|
||||||
|
|
||||||
elif should_ds:
|
elif should_ds and px_width:
|
||||||
x_out, y_out = self.downsample(
|
x_out, y_out = self.downsample(
|
||||||
x_out,
|
x_out,
|
||||||
y_out,
|
y_out,
|
||||||
|
|
Loading…
Reference in New Issue