updating ticks and categories through callbacks instead of callthroughs
limited the number of labels to draw in categorical plots
now only displays a small number of ticks for categorical data. Currently set at 10. Maybe this should have a UI slider?
make sure the ticks get changed as with the setters
need to redraw after changing ticks