Which Matplotlib function creates a bar chart?
-
A
plt.bar()
Correct answer
-
B
plt.chart()
-
C
plt.column()
-
D
plt.graph()
Correct answer
A. plt.bar()
19 views
Explanation
plt.bar() creates vertical bar charts to compare categorical data.
Doubts & discussion
Not sure why the answer is A? Ask here and get an explanation.
Ask a doubt about this MCQ