Python – Embeds PyQtGraph into the Tkinter GUI

Embeds PyQtGraph into the Tkinter GUI… here is a solution to the problem.

Embeds PyQtGraph into the Tkinter GUI

I

have a Tkinter GUI that I’ve been using for a while and it has live plotting capabilities that are currently built into matplotlib. However, I found matplotlib to be too slow (it seemed to lag over time, as if filling the buffer of the input dataframe), so I was thinking about switching my plot to PyQtGraph. Can I put it into my Tkinter app?

Solution

No, you cannot embed a PyQtGraph object in a tkinter application.

Related Problems and Solutions