Add an optional third parameter to ticks to hide the corresponding grid line