cannot import name 'animation' from partially initialized module 'matplotlib'
simply update matplotlib using pip install --upgrade matplotlib worked for me.
Code:
from matplotlib import animation
Output:
ImportError: cannot import name 'animation' from partially initialized module 'matplotlib' (most likely due to a circular import)
The motplotlib version is 3.3.4