How to plot an image?

I have an image (eg, a 3d array with width, height, and 3 color channels). How can I plot that image, similar to MATLAB’s imshow? Would I be correct in saying the closest I can do now is convert it to grayscale and plot that as a heatmap?

Unfortunately, plotly doesn’t currently offer an imshow function.

You’ll need to convert you color channels into a heatmap z 2D array.

Now it is possible to plot images using the the layour.image feature.

See demo here:

We have an imshow function now