diff --git a/tools/longitudinal_maneuvers/generate_report.py b/tools/longitudinal_maneuvers/generate_report.py index f038469e94..aed972f606 100755 --- a/tools/longitudinal_maneuvers/generate_report.py +++ b/tools/longitudinal_maneuvers/generate_report.py @@ -121,6 +121,7 @@ def report(platform, route, _description, CP, ID, maneuvers): buffer = io.BytesIO() fig.savefig(buffer, format='webp') + plt.close(fig) buffer.seek(0) builder.append(f"\n") builder.append("\n")