CBSE Class 12 Informatics Practices Question 24 of 73

Data Visualization using Matplotlib — Question 1

Back to all questions
1
Question

Question 1

Which Python package is used for 2D graphics?

  1. matplotlib.pyplot
  2. matplotlib.pip
  3. matplotlib.numpy
  4. matplotlib.plt
Answer

matplotlib.pyplot

Reason — A Python package matplotlib.pyplot is used for creating 2D graphics, including plots, charts, and graphs.