Run first Matplotlib program

In this lesson, learn how to run our first Matplotlib program after installing it. At the beginning of any Matplotlib program, we need to import the matplotlib library. Let’s see.

To run your first Matplotlib program on Anaconda, open a new Notebook after installing Anaconda shown before and import the library:

Before moving towards Plotting on Matplotlib, we will just print the current version we installed. Let us see the example:

Output


If you liked the tutorial, spread the word and share the link and our website Studyopedia with others.


For Videos, Join Our YouTube Channel: Join Now


How to Install Matplotlib on Anaconda
Matplotlib - PyPlot
Studyopedia Editorial Staff
Studyopedia Editorial Staff
[email protected]

We work to create programming tutorials for all.

No Comments

Post A Comment

Discover more from Studyopedia

Subscribe now to keep reading and get access to the full archive.

Continue reading