Skip to content

Commit

Permalink
Fix interactive plotting in double_integrator_minimum_time.py
Browse files Browse the repository at this point in the history
  • Loading branch information
calcmogul committed Apr 5, 2024
1 parent d8141f0 commit 37e6f8e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions motion-planning/double_integrator_minimum_time.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,6 @@ def main():

if "--noninteractive" in sys.argv:
latex.savefig(figname)
else:
plt.show()

# Plot inputs
labels = ["Acceleration (m/s²)"]
Expand All @@ -102,8 +100,9 @@ def main():

if "--noninteractive" in sys.argv:
latex.savefig(figname)
else:
plt.show()

if "--noninteractive" not in sys.argv:
plt.show()


if __name__ == "__main__":
Expand Down

0 comments on commit 37e6f8e

Please sign in to comment.