Results 2 comments of Dav

I can confirm there is still a massive memory leak (~5 MB per plot; probably the size of the data to plot) if you loop plots, even if you close...

Found a solution: force call the Python Garbage collector from time to time (or after each plot) `PyRun_SimpleString("import gc; gc.collect()");`