Updating figures instead of recreating

Is there a method to update plotly figures in plotly python, instead of having to recreate it? I’m working on a 3d mesh, the colors of the vertices of which would update with certain callback triggers, but having to create the entire plot each time there’s a callback is making the application very slow.
So, I was wondering if there’s method to update the figure colors instead (there exists something in plotly js - plotly.newPlot and plotly.react, I think, but couldn’t find anything similar in python)