Change xlim/ylim of already drawn plot after rotation

Hi all,
I am trying to rotate 2D array of already drawn plot in jupyter notebook.Here is the code:

import holoviews as hv
import panel as pn

m=10
n=3

xlim = (-.5m/n,.5m/n) if m>n else (-.5,.5)
ylim = (-.5n/m,.5n/m) if n>m else (-.5,.5)
pipe = Pipe(data=)

h = hv.DynamicMap(hv.Image, streams=[pipe]).opts(xlim=xlim,ylim=ylim, width=500, height=500)
pipe.send(np.random.randint(100,size=(m,n)))
h
And that’s how I do rotating of data:
pipe.send(np.rot90(pipe.data, k=1, axes=(1,0)))

But I am still missing of how to change the xlim and ylim opt parameter of already existed plot? Could you please help me with that?

framewise=True maybe

1 Like

works like a charm, thank you!