using Matplotlib 3.10.1, this instruction is not accepted anymore :
in set_val
self.poly.xy[2] = val, 1
~~~~~~~~~~~~^^^
TypeError: 'tuple' object does not support item assignment
though this is typically what is suggested above. I am not an expert in these tools, just a program which was handed over to me. How can I solve this ?
Thanks