Le 12/12/2020 à 11:10, Vlado Kršlin a écrit :
Added some imports into code ...
sobota, 12. december 2020 ob 10:35:22 UTC+1 je oseba Vlado Kršlin
napisala:
Hello, I put together few lines of code for showing temperature
graph. /*Everything works ok except xaxis is shown with all 46
numbers*/ which represent minuttes from now back. Is there any way
to reduce shown nubers, for example to show every tenth number?
Small piece of graph code is attached here to show issue.
With best regards, Vlado
--
Actually, "Everything works ok" /tout court/.
You, yourself demanded, what you have got:
*ticks = list(enumerate(timelist))*
Add after it, e. g.:
*ticks = ticks[::10]*
(unless I misunderstood your issue...)
======
Jerzy Karczmarczuk
/Caen, France/
--
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/e08aa4eb-7133-8b16-32f0-c38c800ad129%40gmail.com.