Informatics Practices

Which of the following is not a valid plotting function of Pyplot ?

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

PyPlot

3 Likes

Answer

line()

Reason — The line() function is not a valid plotting function of Pyplot. In Matplotlib's Pyplot module, the correct function for creating line plots is plot().

Answered By

1 Like


Related Questions