CBSE Class 12 Informatics Practices Question 50 of 73

Data Visualization using Matplotlib — Question 15

Back to all questions
15
Question

Question 15

Name the various methods used with pyplot object.

Answer

The various methods used with 'pyplot' object are as follows:

  1. Plotting methods — plot(), scatter(), bar(), hist() and pie().
  2. Labeling and titling methods — xlabel(), ylabel() and title().
  3. Legend methods — legend().
  4. axis methods — axis(), xlim(), ylim(), xticks() and yticks().
  5. grid methods — grid().
  6. figure and axes methods — figure(), subplots().
  7. display and save methods — show(), savefig() and close().