type ImageFit = 'contain' | 'cover' | 'stretch';
Experimental
How the image fills its box: Plotly sizing 'contain' → 'contain', 'fill' → 'cover', 'stretch' → 'stretch'.
sizing