Black Lives Matter. Please consider donating to Black Girls Code today.

Disable animations in plotly Sunburst in Python

I have a Sunburst chart built with plotly (python) and I’m looking into disabling the animation when an intermediate slice is clicked. Here is an example I found on how to do it on JS:

but I’m having trouble figuring out how to translate this into python’s API. Is there a way to do this?

Thanks!