CBSE Class 12 Informatics Practices Question 38 of 147

Plotting with Pyplot — Question 3

Back to all questions
3
Question

Question 3

For 2D plotting using a Python library, which library interface is often used ?

  1. seaborn
  2. plotly
  3. matplotlib
  4. matplotlib.pyplot
Answer

matplotlib.pyplot

Reason — The matplotlib.pyplot interface is commonly used for 2D plotting in Python using the Matplotlib library.