Home>Article>Backend Development> How to install matplotlib in python

How to install matplotlib in python

(*-*)浩
(*-*)浩 Original
2019-06-24 15:38:42 25117browse

Matplotlib is a Python 2D plotting library that produces publication-quality graphics in a variety of hardcopy formats and in a cross-platform interactive environment.

How to install matplotlib in python

#First make sure python is installed, and then use pip to install the matplotlib module.(Recommended learning:Python video tutorial)

Enter the cmd window and execute python -m pip install -U pip setuptools to upgrade.

Then type python -m pip install matplotlib for automatic installation, and the system will automatically download the installation package.

After the installation is complete, you can use python -m pip list to view all modules installed on the machine to ensure that matplotlib has been installed successfully.

The displayed interface is:

How to install matplotlib in python

Find matplotlib, which means it has been installed successfully:

How to install matplotlib in python

For more Python-related technical articles, please visit thePython Tutorialcolumn to learn!

The above is the detailed content of How to install matplotlib in python. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:How to use python's idle Next article:How to use python's idle