CBSE Class 12 Informatics Practices Question 80 of 147

Plotting with Pyplot — Question 12

Back to all questions
12
Question

Question 12

The bar() function can also create horizontal bar charts.

Answer

False

Reason — The bar() function in Matplotlib's Pyplot library can create vertical bar charts, while the barh() function creates horizontal bar charts.