For example
from skimage import data
import numpy as np
import plotly.express as px
img = data.chelsea()
x = 10 * np.arange(img.shape[1])
fig = px.imshow(img, x=x)
fig.show()

RGB images (and single-channel images as well with binary_string=True) use go.Image, which does not accept x and y arguments. For xarrays in particular, it would be convenient to be able to use x and y.