Skip to main contentSkip to solution

Matplotlib is used in python for___________.

Solution

✅ Correct Option: 2

Matplotlib is a Python library for plotting. It creates static, animated and interactive charts such as line plots, bar charts, histograms and scatter plots, which is data visualization.


Option 3: data is stored with files, databases or structures like lists and DataFrames (Pandas), not by Matplotlib.

Option 4: file handling is done with built-in functions like open(), not with Matplotlib.

Quick memory trick: NumPy is for numerical arrays, Pandas for data analysis, Matplotlib for plots.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question