Enable/Disable Polygons Dynamically

Hi,
I am trying to enable/disable polygons after the user has created them through the use of Annotators
The following are my snippets


The aim is to change the entry for a polygon under Visible to False and see the corresponding polygon disappear on the left plot. (and change Visible to True to enable the polygon back again)

I am not sure how to proceed.

regards,
Sharath

I also tried the following.


but was met with an error.