I'm trying to build a very simple plot in plotly express with custom dimensions but cannot get the result I want.
My image is an array with dimensions 300 and 5000, I want it to be stretched into a smaller dimension, such that it looks big on a screen.
It is super easy to do in matplotlib, but I get weird results in plotly. This is what I have using matplotlib:
plt.figure(figsize=(20, 10), dpi=80)
image = np.random.random([300, 5000])
plt.imshow(image, vmin=0, vmax=1, cmap='gray_r', aspect='auto')



