combine niceRange and ytickPx