Make ticks passable argument to data