Cant plot values wich are more than x axis

i am new to matplotlib and i am trying to plot internetspeed data. On my y axis
i have my internetspeed max 250 Mbps and on my x axis i want to have 24 hourers but i have 144 plotting points and i cant get the plots to be in the range off 24h.
Any Idea how i can solve this problem? By the way my y axis shows always 250Mbps dispite from the
highest plotting value

Thanks in advance


My first guess is that you are plotting strings rather than numbers (which we then treat as categorical values). That said, it is impossible to help you based on the information here, can you reduce your problem down to a minimal runnable example we can test?

ok thanks i will try it