# Interactive imshow with BG map (or BG image)

**URL:** https://community.plotly.com/t/interactive-imshow-with-bg-map-or-bg-image/84958
**Category:** 📊 Plotly Python
**Created:** [June 5, 2024, 8:21am UTC](https://community.plotly.com/t/interactive-imshow-with-bg-map-or-bg-image/84958 "2024-06-05T08:21:10Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![AIMPED](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/aimped/32/21758_2.png) [@AIMPED](https://community.plotly.com/u/AIMPED)
#### Post date: [June 6, 2024, 2:06pm UTC](https://community.plotly.com/t/interactive-imshow-with-bg-map-or-bg-image/84958/2 "2024-06-06T14:06:22Z")

</div>

This might be interesting:

> [@How to overlay two images with opacity](https://community.plotly.com/t/how-to-overlay-two-images-with-opacity/75916):
>
> I have a simple problem, I want to overlay two rgb images (np.arrays with three channels and same size) over each other, with opacity setting for the top so I can see both. fig\_visual\_check = go.Figure() fig\_visual\_check = fig\_visual\_check.add\_trace(go.Image(z=images\_merged\_visual[0], opacity=0.5)) fig\_visual\_check = fig\_visual\_check.add\_trace(go.Image(z=images\_merged\_visual[1], opacity=1)) fig\_visual\_check However, the result is just a black image. If I switch the order of opacities, I get …

---

_[View the full topic](https://community.plotly.com/t/interactive-imshow-with-bg-map-or-bg-image/84958)._
