How to redraw after update_traces using browser renderer

Hi,

I have a code wich is constantly producing new poses for objects, and would like to draw the new object poses periodically.

For that I would need to update the data in an initial drawing. I looked around and it seems that update_traces should do the trick, but I cannot get the html graph to change appearance after being redrawn.

Any ideas how to constantly (say for example in a for loop) redraw data in a scatter3d?

PS: I use python, but not jupyter …

Thanks in advance,
Miguel