Sets the image container size horizontally. The image will be sized based on the `position` value .
When `xref` is set to `paper`, units are sized relative to the plot width. When `xref` ends with ` domain`,
units are sized relative to the axis width.