1. Home
  2. Data Science
  3. Matplotlib
  4. Which Matplotlib function creates a scatter plot?

Added 16 Sep 2025

Which Matplotlib function creates a scatter plot?

  1. plt.plot()
  2. plt.scatter() Correct answer
  3. plt.point()
  4. plt.dot()

Correct answer

B. plt.scatter()

22 views

MCQSEXAM

Explanation

plt.scatter() creates scatter plots to show relationship between two numerical variables.

Reference

Asked in: Data Science Exams

https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.scatter.html

Preparing for an exam?

Doubts & discussion

Not sure why the answer is B? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Matplotlib MCQs

Practise all Matplotlib MCQs

Similar MCQs