Scalebar for panel <1 and bokeh <3

Dear all,

is that possible to plot scalebar for panel <1 and bokeh <3 since if I convert to latest panel and bokeh some function of my python file is not working and slow compare with my recent panel and bokeh.

What i want is to plot scale bar like this code:

import numpy as np

hv.extension("bokeh")

pollen = hv.RGB.load_image("../assets/pollen.png", bounds=(-10, -5, 10, 15)).opts(scalebar=True)
pollen



image
but plot in the old version of panel and bokeh
thanks

Unfortunate not. Scalebar support was added in Bokeh 3.2 or Bokeh 3.3.

If you have an MRE of this problem, please post an issue on Github.

thanks @Hoxbro , will try to convert mycode to bekeh >3.2 then.

I will investigate more detail why have slowness if use bokeh 3.3, not sure if there is some modification in the code needed so will make the script run more better.

thanks