KnowledgeBoat Logo
|

Informatics Practices

The command used to give a heading to a graph is …………… .

  1. plt.show()
  2. plt.plot()
  3. plt.xlabel()
  4. plt.title()

PyPlot

1 Like

Answer

plt.title()

Reason — The plt.title() command is used in Matplotlib's Pyplot module to give a heading or title to a graph.

Answered By

1 Like


Related Questions