I've been using pyqtgraph for a few months now while developing a data analysis tool and I've run into an issue recently that I haven't been able to solve.
When I plot data that looks like this:

Then my application basically freezes. The data being plotted is switching between 0 & 1 at every other data point, but at this scale looks like a solid block of red. This causes things to slow down (or effectively halt).
If I zoom in on the data (which looks like this):
Then the application becomes responsive again. And if I plot a signal like this (zoomed at the same scale as the first image):
which has the same number of data points as the other signal, then the application is responsive, so it isn't an issue with the quantity of data, but with the way the data is being drawn (I believe).
Any hints/suggestions as to what might cause this?