I have a main Python 3 PySide application, which sends data to an external .py Matplotlib plotting module. The external module generates a plot with the received data, saves the figure as Byte Data, and returns the Byte Data to the main application. The main application then 'shows' the plot in a QPixmap using QPixmap.loadFromData().
This works exactly as planned, but the refresh speeds are quite slow. I'd like to be able to updated the QPixmap up to 60fps, but am managing around 3-4 fps at present. Resourcing I've read on this issue pertains only to updating a graph within a loop or a simple internal function, but doesn't demonstrate how you can retain the plot axis, ticks and labels, and only update the plot points in an external module.
How can I increase the refresh rate of an external Matplotlib plot?