Installation of Matplotlib, Plotly, and Mayavi on Windows, Linux, and Mac OS.
Please follow the steps below for each operating system:
Windows
Windows
Matplotlib:
- Open the command prompt by pressing Windows+R and then type
cmd
and hit enter. - Type
pip install matplotlib
in the command prompt. - Wait for the installation to complete.
Plotly:
- Open the command prompt by pressing Windows+R and then type
cmd
and hit enter. - Type
pip install plotly
in the command prompt. - Wait for the installation to complete.
Mayavi:
- Download and install the Anaconda distribution from https://www.anaconda.com/products/individual.
- Open the Anaconda prompt.
- Type
conda install mayavi
in the Anaconda prompt. - Wait for the installation to complete.
Linux
Linux
Matplotlib:
- Open the terminal.
- Type
sudo apt-get install python3-matplotlib
and hit enter. - Wait for the installation to complete.
Plotly:
- Open the terminal.
- Type
pip install plotly
and hit enter. - Wait for the installation to complete.
Mayavi:
- Open the terminal.
- Type
sudo apt-get install mayavi2
and hit enter. - Wait for the installation to complete.
Mac OS
Mac OS
Matplotlib:
- Open the terminal.
- Type
pip install matplotlib
and hit enter. - Wait for the installation to complete.
Plotly:
- Open the terminal.
- Type
pip install plotly
and hit enter. - Wait for the installation to complete.
Mayavi:
- Download and install the Anaconda distribution from https://www.anaconda.com/products/individual.
- Open the Anaconda prompt.
- Type
conda install mayavi
in the Anaconda prompt. - Wait for the installation to complete.
That’s it! You have now installed Matplotlib, Plotly, and Mayavi on your Windows, Linux, and Mac OS operating systems.