Skip to content

Commit

Permalink
fixed visualization angles
Browse files Browse the repository at this point in the history
  • Loading branch information
jyeatman committed Aug 23, 2023
1 parent f9b55a9 commit 22d169d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions AFQ/api/group.py
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,8 @@ def montage(self, bundle_name, size, view, direc, slice_pos=None):
slice_kwargs["z_pos"] = slice_pos

figure = viz_backend.visualize_volume(
b0,
best_scalar,
opacity=1.0,
flip_axes=flip_axes,
interact=False,
inline=False,
Expand All @@ -630,9 +631,9 @@ def montage(self, bundle_name, size, view, direc, slice_pos=None):
eye = {}
if view == "sagittal":
if direc == "left":
eye["x"] = 1
else:
eye["x"] = -1
else:
eye["x"] = 1
eye["y"] = 0
eye["z"] = 0
elif view == "coronal":
Expand Down

0 comments on commit 22d169d

Please sign in to comment.