holoviews icon indicating copy to clipboard operation
holoviews copied to clipboard

Add scalebar support

Open hoxbro opened this issue 7 months ago • 3 comments

Fixes #5948

I'm not entirely sure what plot classes need to have a scalebar option: all of them or a selective few. For now, I have added it to RGB to start with.

Also, I am not sure how many of the Scalebar options we should have available.

import holoviews as hv
hv.extension("bokeh")

hv.RGB.load_image("5948_pollen.png").opts(scalebar=True, scale_opts={"background_fill_alpha": 1})

image

image_download

hoxbro avatar Nov 30 '23 12:11 hoxbro