Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Python by (50.2k points)

Can anyone tell me how to install Matplotlib in Python?

1 Answer

0 votes
by (108k points)

For installing the Matplotib package, first, you have to open the Anaconda prompt and write the following: 

conda install matplotlib

Or

pip install matplotlib

This code will help you install the Matplotlib package in the Anaconda environment. Now, after installing the package, go to the Jupyter Notebook and write the following code to import the package:

import matplotlib.pyplot as plt

If you are looking for an online course to learn Python, I recommend this Python Certification program by Intellipaat.

Related questions

0 votes
1 answer
asked Jan 5, 2021 in Python by ashely (50.2k points)
0 votes
1 answer
0 votes
1 answer

Browse Categories

...