From b3a412d06d8a533d47c4debed393b842b6f39f73 Mon Sep 17 00:00:00 2001 From: sai8951 Date: Mon, 23 Dec 2024 14:54:31 +0900 Subject: [PATCH] fix: AP axis xyz-lines in sagittal image --- ants/plotting/plot_ortho.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ants/plotting/plot_ortho.py b/ants/plotting/plot_ortho.py index 5fa35e06..d9c3fa5a 100644 --- a/ants/plotting/plot_ortho.py +++ b/ants/plotting/plot_ortho.py @@ -367,7 +367,7 @@ def reorient_slice(x, axis): if xyz_lines: # add lines l = mlines.Line2D( - [yz_slice.shape[0] - xyz[1], yz_slice.shape[0] - xyz[1]], + [xyz[1], xyz[1]], [xyz_pad, yz_slice.shape[0] - xyz_pad], color=xyz_color, alpha=xyz_alpha,