Weird image size issues xarray, hvplot.xarray, panel

I am having really weird image size issues with xarray and hvPlot
each combination I try has yet another display size!

The code is in HoloviewsPlayground/ImageData2xarray.ipynb at master · ea42gh/HoloviewsPlayground · GitHub

Here is one example of a color image and it’s conversion to grayscale:

Any mistake in my code that I don’t see?

You are missing data_aspect=1 for the grayscale image.

3 Likes

Thank you! I fixed the notebook…