pm5_battery_test: merge nieldk version and add test scenarios

This commit is contained in:
Philippe Teuwen committed 2026-08-30 13:44:46 +02:00
1 parent 1d87a6c192
commit bf32513d1b
2 files changed
+151 -58

No files matched your search

+1 -1
View File
@@ -82,7 +82,7 @@ def plot(rows, output_path):
axes[-1].set_xlabel("Elapsed time (minutes)")
fig.suptitle("Battery status over time")
fig.tight_layout(rect=[0, 0, 1, 0.97])
fig.tight_layout(rect=(0.0, 0.0, 1.0, 0.97))
fig.savefig(output_path, dpi=150)
print(f"Saved plot to {output_path}")
return output_path