I have a three-level bokeh.models.FactorRangeone that I use to draw ticks on vbar-plot. The problem is that in general there are dozens of factors, and lower-level labels are very closely related.
I can use plot.xaxis.formatter = bokeh.models.PrintfTickFormatter(format='')to suppress drawing labels at the lowest level, but this seems like an ugly hack. In addition, I need the labels of the second level labels to be rotated, but it plot.xaxis.major_label_orientation = ...only affects the ticks of the lower level (as it does plot.xaxis.formatter).
How to manage each level bokeh.models.FactorRangeindividually?
source
share