Informatics Practices
Which of the following functions can plot only one data series ?
- plot()
- bar()
- boxplot()
- pie()
PyPlot
3 Likes
Answer
pie()
Reason — The pie() function in Matplotlib's Pyplot module can plot only one data series. On the other hand, functions like plot(), bar(), and boxplot() can plot multiple data series in a single chart.
Answered By
2 Likes
Related Questions
Which function is used to create a histogram ?
- histo()
- histogram()
- hist()
- histtype
Which argument in hist() is used to create a stacked bar type histogram ?
- histt
- histtype
- type
- barstacked
Which argument must be provided to create wedges out of a pie chart ?
- label
- autopct
- explode
- wedge
Which argument should be set to display percentage share of each pie on a pie chart ?
- label
- autopct
- explode
- wedge