Histogram was not visible due to incorrect ylims.