Matplotlib not working , shows the error message

No module named 'matplotlib.backends.registry'

Welcome, Nurul4 — happy to help get this sorted.

That error usually means your matplotlib version is older than the IPython/Jupyter version that’s trying to use it (the registry part was added in matplotlib 3.9). To confirm, could you run these and paste the output?

python -c "import matplotlib, sys; print(matplotlib.__version__, matplotlib.__file__); print(sys.executable)"
conda list matplotlib ipython

Also helpful: the full error message (everything above the last line), and whether you’re seeing this in Jupyter, a terminal, or running a script. That’ll tell us exactly where the mismatch is.