Figure: fixed bug in estimating histogram in arrays with Nan
Merge branch 'iss17-fix-figure-histo' into develop