Animation without interpolation

I am using plotly.express.line to do an animation. Is it possible to make the transition from frame to frame without interpolation? I am trying with fig.update_layout(transition={'easing': bla_bla_bla}) but cannot make it.