Informatics Practices

Name the various methods used with pyplot object.

PyPlot

2 Likes

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().

Answered By

1 Like


Related Questions