CBSE Class 12 Informatics Practices Question 29 of 73

Data Visualization using Matplotlib — Question 6

Back to all questions
6
Question

Question 6

Which of the following methods should be employed in the code to display a plot()?

  1. show()
  2. display()
  3. execute()
  4. plot()
Answer

show()

Reason — In Matplotlib, the show() method is used to display a plot.