Need to remove highlighted in pink on a selection of a rectangle in Plotly Annotation

Hello All,

I am new to plotly and I Need help regarding plotly Annotation.
Please refer to this link Image Annotations | Dash for Python Documentation | Plotly

When I draw and select a rectangle to change the height and width of the rectangle.
The rectangle is getting highlighted in pink color. I need to remove that pink color and make it transparent.

Can anybody help me with this?

Hi, just click in the middle of the rectangle.

Hi @AIMPED,
If I clicked in the middle of the rectangle then the selection is getting removed. I don’t to deselect Rectangle.

You want to delete the annotation?

No, I just don’t want pink color

You can set the default color for new shapes. In the following topic the user wanted to change the thickness, but you can use the same approach for the color.

1 Like