Skip to content

Commit

Permalink
Merge pull request #762 from sai8951/fix/plot_ortho
Browse files Browse the repository at this point in the history
BUG: vertical line (xyz-lines) in sagittal image of plot_ortho is flipped
  • Loading branch information
cookpa authored Feb 5, 2025
2 parents c816d99 + b3a412d commit 78b0062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ants/plotting/plot_ortho.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 78b0062

Please sign in to comment.