CBSE Class 12 Informatics Practices Question 48 of 147

Plotting with Pyplot — Question 13

Back to all questions
13
Question

Question 13

Which of the following function will create a vertical bar chart ?

  1. plot()
  2. bar()
  3. plotbar()
  4. barh()
Answer

bar()

Reason — The bar() function will create a vertical bar chart.