Toggle shapes with buttons

Iā€™d like to toggle different shapes by clicking buttons, using plotly. Do you know how to do it? Thanks in advance.