KnowledgeBoat Logo
|

Informatics Practices

Choose the correct statement to print the label in the line chart.

  1. pl.xlabel("some values")
  2. pl.xlable("some values")
  3. pl.plotlabel("some values")
  4. None of these

PyPlot

2 Likes

Answer

pl.xlabel("some values")

Reason — In matplotlib, pl.xlabel("some values") is used to set the label for the x-axis of a plot.

Answered By

2 Likes


Related Questions