Which Matplotlib function creates a scatter plot?
-
A
plt.plot()
-
B
plt.scatter()
Correct answer
-
C
plt.point()
-
D
plt.dot()
Correct answer
B. plt.scatter()
22 views
Explanation
plt.scatter() creates scatter plots to show relationship between two numerical variables.
Doubts & discussion
Not sure why the answer is B? Ask here and get an explanation.
Ask a doubt about this MCQ