Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 36a9881

Browse files
committed
added a modified version of erics memleak script for guis
svn path=/trunk/matplotlib/; revision=3134
1 parent e9cca0b commit 36a9881

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

unit/memleak_gui.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
#!/usr/bin/env python
22
'''
33
This illustrates a leak that occurs with any interactive backend.
4+
Run with :
5+
6+
> python memleak_gui.py -dGTKAgg # or TkAgg, etc..
7+
8+
You may need to edit cbook.report_memory to support your platform
49
5-
Run with : python memleak_gui.py -dGTKAgg # or TkAgg, etc..
610
'''
711
import os, sys, time
812
import gc

0 commit comments

Comments
 (0)