Changed plotmpl.py/plot.py to not treat missing values as discontinuities

This commit is contained in:
Christopher Haster
2022-11-09 23:04:22 -06:00
parent 559e174660
commit 6fce9e5156
2 changed files with 10 additions and 12 deletions

View File

@@ -230,12 +230,11 @@ def dataset(results, x=None, y=None, define=[]):
# find ys
if y is not None:
if y not in r:
y_ = None
else:
try:
y_ = dat(r[y])
except ValueError:
y_ = None
continue
try:
y_ = dat(r[y])
except ValueError:
continue
else:
y_ = None