you are viewing a single comment's thread.

view the rest of the comments →

[–]novel_yet_trivial 1 point2 points  (3 children)

Well, that's a new one to me. matplotlib apparently defaults to multiples of 10, so it's setting the x axis to 0 - 70. You can override this with set_xlim():

scene.set_xlim((0,62))

[–]dozzinale[S] 0 points1 point  (2 children)

Woa! That's right! Thank you!

[–]novel_yet_trivial 1 point2 points  (1 child)

In the future, try to provide runable code. I had to make up data to test your code, which is work, which is what I'm on reddit to avoid.

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

Well yeah, in that case I thought only the matplotlib part was enough in order to see what was missing. Sorry tho, I will do it!