[Matplotlib-users] Simultaneous plots with Matplotlib "QObject/thread" error

John Robson John.Robson at usp.br
Fri Sep 9 02:40:54 EDT 2016


Hi all,

I have some Flask pages that plot charts using Matplotlib, they work 
very well, but when running them simultaneously they break the site, 
with errors like:

"QObject: Cannot create children for a parent that is in a different 
thread."

"QObject::~QObject: Timers cannot be stopped from another thread"

I wonder how to safely use Matplolib with Flask (with several 
simultaneous users plotting charts all the time)?

Thank you,
John



More information about the Matplotlib-users mailing list