Skip to content

Commit

Permalink
fix bug caused by changes to tract profile conflicting with new tract…
Browse files Browse the repository at this point in the history
… profile vizualization
  • Loading branch information
36000 committed Jul 1, 2020
1 parent 4dee417 commit 76e56b8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions AFQ/viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,8 +467,7 @@ def visualize_tract_profiles(tract_profiles, scalar="dti_fa", min_fa=0.0,
ax = axes[positions[bundle][0], positions[bundle][1]]
fa = tract_profiles[
(tract_profiles["bundle"] == bundle)
& (tract_profiles["scalar"] == scalar)
]['profiles'].values
][scalar].values
ax.plot(fa, 'o-', color=COLOR_DICT[bundle])
ax.set_ylim([min_fa, max_fa])
ax.set_yticks([0.2, 0.4, 0.6])
Expand Down

0 comments on commit 76e56b8

Please sign in to comment.