Q. What do you understand by xlimit and ylimit? How are these linked to data being plotted?


Answer:-

If we need to have own limits specified for X and Y axes. For this, you can use xlim() and ylim() functions to set limits for X-axis and Y-axis respectively.

Both xlim() and ylim() are used as per following format :

<matplotlib.pyplot>.xlim(<xmin>, <xmax>) <matplotlib.pyplot>.ylim(<ymin>, <ymax>)

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post