How to plott data from array live?

Hello,

I have a sensor that writes 100 values to an array. Then I send these 100 values via BLE to a Python app, where they are then written to an Excel file and loaded into a table in a QT Designer window using Pandas. It works so far, but now I also want to plot the data live. I would like to use matplotlib for this.

How can I now implement a live plotter? Either I first plot the pandas frame live before it is loaded into my table (via while?), or I load the data for the plotter from the table, or I create a new pandas frame that plots the data for me and loads it when the 100 values are plotted I again 100 values from the table? What would make sense? Does anyone have example code?