Skip to content

Commit

Permalink
add plt.tight_layout
Browse files Browse the repository at this point in the history
  • Loading branch information
N720720 committed Feb 15, 2021
1 parent ec50be3 commit 6a2f001
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lindemann/trajectory/plt_plot.py
Expand Up @@ -11,7 +11,7 @@ def lindemann_vs_frames(indices: np.ndarray) -> str:
plt.xlabel("Frames")
plt.ylabel("Lindemann index")
plt.plot(np.arange(0, len(indices)), indices, "+")
# plt.tight_layout()
plt.tight_layout()
# plt.show()
plt.savefig("lindemann_per_frame.pdf")
return "lindemann_per_frame.pdf"

0 comments on commit 6a2f001

Please sign in to comment.