Currently the graph redraws every animation cycle regardless of if there is incoming data.
The usage isn't too high, but users will expect the program to be using less while it's 'not doing anything' from their point of view. It's also a good practice in general.
We can either try to slow down the animation while there is no input, or we can turn on blitting, but only while there is no input since that breaks the graph if used in general. Needs further testing to determine best method.
Currently the graph redraws every animation cycle regardless of if there is incoming data.
The usage isn't too high, but users will expect the program to be using less while it's 'not doing anything' from their point of view. It's also a good practice in general.
We can either try to slow down the animation while there is no input, or we can turn on blitting, but only while there is no input since that breaks the graph if used in general. Needs further testing to determine best method.