Bokeh Dynamically Update xrange based on a ColumnDataSource
No, FactorRange objects are only configurable by setting the factors property of the range. It is not possible to link the factors property to a CDS directly. (Factor ranges support multi-level hierarchical levels, and that does not map naturally to CDS columns.) However, you can change the value of factors to whatever you need, in a CustomJS callback, or Python callback (if are making a Bokeh server application).
Is there a way to update the xaxis of a bar chart using a columndatasource object? I have a chart that updates the bars based off of what is selected, but I want the tick marks in the xaxis to only represent the values that are being displayed. So, I figured the best option would be to dynamically update the xrange as each new value is selected, similar to how the overall plot is changed based on this.