mirror of
https://github.com/littlefs-project/littlefs.git
synced 2025-10-16 05:56:33 +08:00
Changed plotmpl.py/plot.py to not treat missing values as discontinuities
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user