CBSE Class 12 Informatics Practices Question 64 of 147

Plotting with Pyplot — Question 29

Back to all questions
29
Question

Question 29

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

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