Can't compelte the test due to an error

hi there. I’ve got this error while trying to run my code with replit. What can be wrong? The output gives me an error. ModeuleNotFoundError: No module name ‘matplotlib’. Is there a workaround for it? Also it’s not the first time it happened to me. The code runs good on Colab

my code

Try updating the Python version to 3.8 in the pyproject.toml file. That seems to work for me.