Bring Drag & Drop to Dash with Dashboard Engine. 💫 Learn how at our next webinar!

Issue with add_layout_image onto log scale axis

Hey there,
I’ve been trying to replicate this example in Python.
It works well as long as I use linear axis scale, but with log scale, the add_layout_image places the image at the wrong position:

fig.add_layout_image(source=pimages[0], 
                      x=.001, xref='x', sizex=1, xanchor='left',
                      y=1, yref='paper', sizey=1, yanchor='top',
                      layer='below', visible=True)

If x axis is in log scale, the image will be plotted at x=1, no matter how small I set the position in the initial function. Is this a bug or am I doing something wrong? And is there a better way to do it?
Edit: Note that for x >> 1, the image will be plotted at a different position than 1, but I didn’t really follow how accurate it was.