0

I am trying to take an image stored on a web server and be able to add a hyper-link to it taking you back to the home page. Here is an example from plotly documentation on how to add an image to a graph:

fig.add_layout_image(
    dict(
        source="https://images.plot.ly/language-icons/api-home/python-logo.png",
        xref="x",
        yref="y",
        x=0,
        y=3,
        sizex=2,
        sizey=2,
        sizing="stretch",
        opacity=0.5,
        layer="below")

)

rpanai
  • 12,515
  • 2
  • 42
  • 64
Joey Lesus
  • 19
  • 8
  • Does this answer your question? [Plotly: treemap element with "href" not working](https://stackoverflow.com/questions/62955631/plotly-treemap-element-with-href-not-working) – rpanai Jul 27 '20 at 20:58
  • @rpanai No, it does not deal with hyperlinking an entire image. – Joey Lesus Jul 28 '20 at 13:41

0 Answers0