Guard against zero px width

m4_corrections
Tyler Goodlet 2022-04-06 17:10:19 -04:00
parent b30b4bb555
commit dfed6cb8e9
1 changed files with 1 additions and 1 deletions

View File

@ -408,7 +408,7 @@ class FastAppendCurve(pg.GraphicsObject):
self._in_ds = False
elif should_ds:
elif should_ds and px_width:
x_out, y_out = self.downsample(
x_out,
y_out,