Dynamically updating image using plotly.io.write_image

Hi, I have an interactive graph and I want to have an image on my page showing the previous state of the graph, so whenever it changes I take a picture of it using plotly.io.write_image to the source path of the image component.
This however causes the page to refresh because the assets change.

Is there a way to dynamically update an image on the dash html.Img() component, without refreshing the page?