While matplotlib works well for displaying static graphs and charts, sometimes we may need to display a continuous (live) waveform on a graph. This requires repeatedly retrieving and displaying samples of incoming data (an audio stream, for example). An interesting way to display such a continuously varying waveform is to use the ‘Animation’ classes built […]