Informatics Practices

Which of the following plotting functions does not plot multiple data series ?

  1. plot()
  2. bar()
  3. pie()
  4. barh()

PyPlot

1 Like

Answer

pie()

Reason — The pie() function in Matplotlib's Pyplot module can plot only one data sequence. On the other hand, functions like plot(), bar(), and barh() can plot multiple data series in a single chart.

Answered By

3 Likes


Related Questions