CBSE Class 12 Informatics Practices Question 55 of 147

Plotting with Pyplot — Question 20

Back to all questions
20
Question

Question 20

Which argument of bar() lets you set the thickness of bar ?

  1. thick
  2. thickness
  3. width
  4. barwidth
Answer

width

Reason — The width argument allows to control the thickness of the bars in a bar chart created using the bar() function in Matplotlib.