Is there a way to remove single or selected traces from the data property of a figure? I am asking because I dont want to reset the complete figure each time a callback adjusts the data property. It seems that it works for javascript:
Hi @Madison01, unfortunately you have to update the figure as a whole, so this is not possible at the moment. You can extend the data of a trace as described here but I donβt think you can remove data. There have been previous discussions of this topic on the forum, see for example Extend (or append) data instead of update