CBSE Class 12 Informatics Practices Question 66 of 147

Plotting with Pyplot — Question 31

Back to all questions
31
Question

Question 31

Which argument should be set to display percentage share of each pie on a pie chart ?

  1. label
  2. autopct
  3. explode
  4. wedge
Answer

autopct

Reason — To view the percentage of share in a pie chart, we need to add an argument autopct with a format string, such as "%1.1F%%".