(I think) I stress tested matplotlib for real-time graping.
&amp;#x200B;

[Matplotlib Stress Test](https://i.redd.it/x3xvfvmeq4p81.gif)

It can run at 60 FPS if you push it to its limits, which is more than I need.

There are occasional hiccups, but I think it's fine.

I am developing a simple GUI for an open-source DAQ module called [PlainDAQ](https://www.crowdsupply.com/kuncu-teknoloji/plaindaq). Before I start, I decided to stress test it to see if it can handle fast changing waveforms.

I think this is pretty enough for my application

Here is the [code](https://github.com/AlperenAkkuncu/PlainDAQ/blob/main/Development/GUI/sinewave_stress_test.py)

**What more can I do to make it smoother? One guy in eevblog suggested me to look into garbage collection. What are your opinions?**