In today’s video we will create a simple graph by using the Matplotlib library for Python. We will install Matplotlib and run a simple program that builds a graph in VS Code (Visual Studio Code). The Matplotlib Python library is commonly used for data science, computer science, and mathematics courses. If you get the error: ModuleNotFoundError: No module named 'matplotlib', then you must install the Matplotlib library.
Steps to Install:
1. Make sure you have at least Python version 3.4 and above installed. To check what Python version you have installed, open your terminal and type the command python3 --version.
2. Next, visit matplotlib.org, click on installation, and copy the second command: python -m pip install -U matplotlib
3. Paste the command into the terminal. If this command doesn’t work change to: python3 -m pip install -U matplotlib
4. Once installed you can run the python program by typing: python3 nameofprogram.py
Get a free stock when you open a free account on Robinhood (up to $216.28)!
https://join.robinhood.com/nicholm12649
On this page of the site you can watch the video online How to Install Matplotlib in Python and Run in Visual Studio Code with a duration of hours minute second in good quality, which was uploaded by the user Code Wizard 03 April 2021, share the link with friends and acquaintances, this video has already been watched 161,234 times on youtube and it was liked by 1.3 thousand viewers. Enjoy your viewing!