Fix bug where all data points are same height