This Python program monitors and displays real-time system resource usage (CPU and memory) using a graphical interface. It shows the current percentage of CPU and memory usage as animated line graphs.
Running Matplotlib, you can see the image output in the left GUI area. I think this is not the best approach. Running Pygame, you can use a separate window to run Pygame, which I think is more in line ...