I have completed this project on my local machine in vscode and it works perfectly and also passes all the tests in vscode, but when I copy paste the same code on replit it gives me an error in draw_bar_plot function.
It would be very helpful if anyone could help me out.
Thanks in advance
Yes indeed it does not work. I logged out of my replit account and clicked on the link I provided in the question, but the code does not run.
if you can, please copy the code and try running it on your local machine by cloning the repository from freecodecamp’s github
git clone GitHub - freeCodeCamp/boilerplate-sea-level-predictor
The replit is now working.
The issue was with the versions of all packages, I updated all the packages to the latest version and voila! it’s now working!
Thanks!