Informatics Practices
Which argument should be set to display percentage share of each pie on a pie chart ?
- label
- autopct
- explode
- wedge
PyPlot
3 Likes
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%%".
Answered By
3 Likes
Related Questions
Which of the following functions can plot only one data series ?
- plot()
- bar()
- boxplot()
- pie()
Which argument must be provided to create wedges out of a pie chart ?
- label
- autopct
- explode
- wedge
Which function creates a box plot ?
- box()
- plot()
- boxplot()
- showbox()
Which argument of boxplot() is used to create a filled boxplot ?
- fill
- box
- patch_artist
- patch