Skip to content

Commit 29b7d10

Browse files
use equal axes in helpers.plot_analysis.py
1 parent 4e8e86b commit 29b7d10

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

python/petsird/helpers/plot_scanner.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,7 @@ def draw_BoxShape(ax, box: petsird.BoxShape) -> None:
5353
det_els.object.shape,
5454
),
5555
)
56+
# make axis "equal"
57+
ax.set_aspect("equal", adjustable="datalim")
58+
ax.set_box_aspect([1., 1., 1.])
5659
plt.show()

0 commit comments

Comments
 (0)