Skip to content

Commit eece9e1

Browse files
committed
Change in the distribution plot
1 parent 0267df8 commit eece9e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

panels/4_distribution.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def subplot_distribution(fig, title, value_dist, value_std, pos=1, col=None):
147147

148148
a2 = fig.add_subplot(312)
149149
w = 1
150-
n, bins, patches = a2.hist(value_dist, n_bin , rwidth=w, fc = col, alpha=0.5)
150+
n, bins, patches = a2.hist(value_dist.compressed(), n_bin , rwidth=w, fc = col, alpha=0.5)
151151
a2.set_ylabel('n. of flies')
152152
a2.set_xlim((0, 1440))
153153
a2.set_ylim(min(n)*1.1, max(n)*1.1)

0 commit comments

Comments
 (0)