Which Matplotlib function creates a subplot?
-
A
plt.subplot()
Correct answer
-
B
plt.sub()
-
C
plt.grid()
-
D
plt.axes()
Correct answer
A. plt.subplot()
15 views
Explanation
plt.subplot() creates and returns a subplot axes positioned in a grid within the figure.
Doubts & discussion
Not sure why the answer is A? Ask here and get an explanation.
Ask a doubt about this MCQ