Get Bokeh Update X_Range Background. This is a convenience method that simplifies adding a customjs callback to update one bokeh model property whenever another changes value. Let us know if this does not work for you.

Bokeh Categorical Vbar X Range Not Working Stack Overflow
Bokeh Categorical Vbar X Range Not Working Stack Overflow from i.stack.imgur.com
Since panel is built on bokeh internally, the bokeh model is simply inserted into the plot. Ideally, the categorical xaxis should be updated as well. The code can be found here however you still need to initialize the x_range with some sort of variable, so i think in the case of figure() using x_range=factors just to initialize should probably be fine.

From scratch, made another bokeh textures.

However, its python counterpart is more commonly used than others. Psfs are very sensitive to various lens properties and defects. It is possible to embed bokeh plots in django and flask apps. I have a bokeh circle plot with image in background that i would like to update x_range and y_range when i update the source data in the plot.