minor fix to scaling of grid-density plot