Skip to content

Commit

Permalink
Update figures with correct aspect ratio
Browse files Browse the repository at this point in the history
  • Loading branch information
itskalvik committed Sep 16, 2024
1 parent cdcb095 commit c0d1b36
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 16 deletions.
41 changes: 25 additions & 16 deletions examples/IPP.ipynb

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions sgptools/utils/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ def plot_paths(paths, candidates=None, title=None):
plt.legend(bbox_to_anchor=(1.0, 1.02))
if title is not None:
plt.title(title)
plt.gca().set_aspect('equal')
plt.xlabel('X')
plt.ylabel('Y')

Expand Down

0 comments on commit c0d1b36

Please sign in to comment.