forked from Imagelibrary/littlefs
scripts: plotmpl.py: Fixed -X/--xlim not considering all datasets
This was a simple typo. Unfortunately went unnoticed because the lingering dataset assigned in the above for loop made the results look mostly correct. Yay.
This commit is contained in:
@@ -1100,7 +1100,7 @@ def main(csv_paths, output, *,
|
|||||||
if y is not None))),
|
if y is not None))),
|
||||||
xlim_[1] if xlim_[1] is not None
|
xlim_[1] if xlim_[1] is not None
|
||||||
else max(it.chain([0], (x
|
else max(it.chain([0], (x
|
||||||
for r in subdatasets.values()
|
for dataset in subdatasets.values()
|
||||||
for x, y in dataset
|
for x, y in dataset
|
||||||
if y is not None))))
|
if y is not None))))
|
||||||
ax.set_ylim(
|
ax.set_ylim(
|
||||||
|
|||||||
Reference in New Issue
Block a user