Hi! I'm using pyqtgraph with pyqt5 for a gui. I have a slight issue in 
that I have now enable autorange so that I dont manually have to adjust the 
axis. What I do is that after I have buffered enough elements (say 250) I 
start popping old data at the start of the list and pushing new data to the 
end to keep a fixed list size of 250.

 Problem is that the autorange seems to think that my list is growing and 
although it displays the correct data, the x-axis grows.

So in effect the displayed data is being updated and displayed, but the x 
axis is only adjusting the range to incorporate the new data(thus growing 
the x-axis in the positive direction) but not adjusting the x-axis to 
account for the data that has been removed/popped from the start of the 
list.

I have a feeling I'm incorrectly incorporating something, however I cant 
figure out where my error is.

Any help will be appreciated!

code : https://bpa.st/7SMQ

-- 
You received this message because you are subscribed to the Google Groups 
"pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyqtgraph/9d8ca8c9-25df-4163-8477-04bd3316af4bn%40googlegroups.com.

Reply via email to