check for plotting 1 categorical value