pm5_battery_test: merge nieldk version and add test scenarios
This commit is contained in:
2 files changed
+151
-58
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user