provide a way to customize y-lim