From dae07c9d30765f3553688dc26c63e4a411fe7210 Mon Sep 17 00:00:00 2001 From: sai8951 Date: Tue, 24 Dec 2024 11:42:31 +0900 Subject: [PATCH] fix: vertical line in sagittal view is flipped --- ants/plotting/plot_ortho_stack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ants/plotting/plot_ortho_stack.py b/ants/plotting/plot_ortho_stack.py index f8cea10a..04152197 100644 --- a/ants/plotting/plot_ortho_stack.py +++ b/ants/plotting/plot_ortho_stack.py @@ -288,7 +288,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,