Getting Started with Matplotlib.

import matplotlib.pyplot as plt
import numpy as np
x = np.array([1,2,3,4])
y = np.array([10,8,9,7])
plt.plot(x,y)
plt.show()
#for bar
# plt.bar(x,y)

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How Offers and Promotions Influence Starbucks Sales

Setting up a Text Summarisation Project (Part 1)

The Power of NBA Data Science

Exploratory Data Analysis: Haberman’s Cancer Survival Dataset

What is Predictive Maintenance?

Using R and Python in Google Sheets Formulas

Tips for applying to X’s AI residency program

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
tech blog writer

tech blog writer

More from Medium

Benefits of Kaolin Clay and How to Use in Face Mask

Kaolin Clay Benefits PLUS How to use in Face Mask by Loving Essential Oils

I haven’t slept in three days.

These principles will change your Object Oriented Programing life

Paving your way to a perfect V-day: Plan for the Best. Day. Ever