I created a Treemap figure with plotly. I like it. I was able to visualize the graph in chrome. fig.show() automatically opens the chrome tab. My problem is related to updating the graph. I need to update the data of the graph periodically. I could do it with update_traces. However, when I use fig.show(), it opens a new browser tab. I would like to keep only one browser tab open for the graph. How do I 1) update the graph in the existing browser tab or 2) close the graph in the existing browser tab when the new tab opens?
Thanks,