Hi @josemanuu welcome to the forum! You can add the image either as a layout image (https://plot.ly/python/images/) or as an image trace (https://plot.ly/python/imshow/) if you would like to interact more with the image (hover, selection, etc.). As for adding rectangles, you can add shapes to the figure, see https://plot.ly/python/shapes/. Or do you want to add the shapes by drawing (click and drag) on the image? The latter feature is not available yet with plotly/dash but we’re experimenting with it.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| How to add a background image to a dashboard - plotly | 2 | 1562 | March 31, 2020 | |
| Plot data points on an Image | 1 | 1267 | May 18, 2018 | |
| Embed image as plot background | 2 | 1329 | March 10, 2022 | |
| Unable to make a Background Image appear on Dash plot | 5 | 5739 | February 25, 2019 | |
| Overlaying image on top of a Plotly image using Dash | 2 | 4653 | April 22, 2020 |