How to set the actual background color of a hv.Image()?

I’m guessing what you’re asking for is the border_fill_color which has to be set via a hook currently:

hv.Image(np.random.rand(10, 10)).opts(hooks=[lambda p, _: p.state.update(border_fill_color='green')])

1 Like