CBSE Class 12 Informatics Practices Question 56 of 147

Plotting with Pyplot — Question 21

Back to all questions
21
Question

Question 21

To change the width of bars in a bar chart, which of the following arguments with a float value is used ?

  1. hwidth
  2. width
  3. breath
  4. barwidth
Answer

width

Reason — The width argument with a float value is used to change the width of bars in a bar chart created using the bar() function in Matplotlib.