KnowledgeBoat Logo
|

Informatics Practices

Which function would you use to set the limits for x-axis of the plot ?

  1. limits()
  2. xlimits()
  3. xlim()
  4. lim()

PyPlot

3 Likes

Answer

xlim()

Reason — The xlim() function is used to set the limits for the x-axis of a plot in Matplotlib.

Answered By

1 Like


Related Questions