How to Install Matplotlib in Python and Run in Visual Studio Code

Publicado em: 03 Abril 2021
no canal de: Code Wizard
161,234
1.3k

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


Nesta página do site você pode assistir ao vídeo on-line How to Install Matplotlib in Python and Run in Visual Studio Code duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Code Wizard 03 Abril 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 161,234 vezes e gostou 1.3 mil espectadores. Boa visualização!