Q. Which Matplotlib function is used to create a basic line plot?

A
scatter()
B
plot()
C
bar()
D
hist()
Solution:

The plot() function in Matplotlib is used to create a basic line plot connecting data points.

Entri PDF Icon

Get Question Bank

Strengthen Your Practice with our comprehensive question bank.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!