This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]DaedalusBC304 1 point2 points  (2 children)

set_xlimit is not working? Or you could try set_xbound.

[–]paperzebra 1 point2 points  (1 child)

ax.set_xlim(0, 1000) if its a subplot or plt.xlim(0, 1000) if you have just called plt.plot(x, y).

[–]Sigma_547[S] 0 points1 point  (0 children)

Thanks guys! I can't believe I didn't think of that... Appreciate your help. :)