[Matplotlib-users] Matplotlib Backend Problem!

Hello matplotlib community,

I am working with spyder(Python 3.7). Yesterday I created a virtual environment for tensorflow. But after that, when I tried to import matplotlib.pyplot as plt, it shows the following error: ModuleNotFoundError: No module named ‘matplotlib.artist’. I googled and tried different ways to solve the issue like reinstalling…But nothing helped me to solve the issue.
Specifications:
Windows 10
matplotlib version installed 3.2.2
Obtained Matplotlib from anaconda

Hoping to help in resolving the issue asap.
Thanks in advance

Here is the detailed view of the error
Command in spyder:
import matplotlib.pyplot as plt

Error:

IPython 7.19.0 – An enhanced Interactive Python.

···

Regards,
Suchitra