Skip to content

Commit

Permalink
Update nireports/reportlets/nuisance.py
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Markiewicz <[email protected]>
  • Loading branch information
jhlegarreta and effigies authored Feb 19, 2025
1 parent 4cf7119 commit faa8a3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nireports/reportlets/nuisance.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def plot_dist(
ax.set_xlabel(xlabel)

ax = fig.add_subplot(gsp[1, 0])
sns.displot(np.array(distribution).astype(np.double), ax=ax)
sns.histplot(np.array(distribution, dtype="f8"), kde=True, stat="density", kde_kws={"cut": 3}, ax=ax)
cur_val = np.median(data)
label = f"{cur_val:g}"
plot_vline(cur_val, label, ax=ax)
Expand Down

0 comments on commit faa8a3f

Please sign in to comment.