Skip to content

Commit

Permalink
Arnaud comments
Browse files Browse the repository at this point in the history
  • Loading branch information
frheault committed Jul 8, 2021
1 parent 03b8f4e commit 4846a99
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions scilpy/utils/metrics_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def compute_lesion_stats(map_data, lesion_atlas, single_label=True,
Parameters
------------
map_data : StatefulTractogram
map_data : np.ndarray
Either a binary mask (uint8) or a voxel labels map (int16).
lesion_atlas : np.ndarray (3)
Labelled atlas of lesion. Should be int16.
Expand Down Expand Up @@ -353,10 +353,6 @@ def plot_metrics_stats(means, stds, title=None, xlabel=None,
ax.plot(dim, mean, color="k", linewidth=5, solid_capstyle='round')

# Plot the std
# print(mean)
# print(mean - std)
# print(mean + std)
# print()
plt.fill_between(dim, mean - std, mean + std,
facecolor=fill_color, alpha=alpha)

Expand Down

0 comments on commit 4846a99

Please sign in to comment.