The error ModuleNotFoundError: No module named 'matplotlib.backends.registry'
occurs when the matplotlib library is outdated, improperly installed, or there is a conflict between different versions of the library.So unistall matplotlib and reinstall it.
pip uninstall matplotlib
pip install --no-cache-dir matplotlib
Mine is working fine, screenshot attached.