KnowledgeBoat Logo
|

Informatics Practices

Which of the following functions can plot only one data series ?

  1. plot()
  2. bar()
  3. boxplot()
  4. 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