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

Skip to content

Commit f4be38c

Browse files
committed
Added files for TkAgg backend. Currently linux only.
svn path=/trunk/matplotlib/; revision=155
1 parent 9dcf399 commit f4be38c

13 files changed

Lines changed: 194 additions & 16 deletions

examples/backend_driver.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def drive(backend):
5454
lines.append(line)
5555
basename, ext = os.path.splitext(fname)
5656
outfile = basename + '_%s'%backend
57-
if backend in ('GTK', 'WX'):
57+
if backend in ('GTK', 'WX', 'TkAgg'):
5858
lines.append('show()')
5959
else:
6060
lines.append('savefig("%s", dpi=150)' % outfile)
@@ -63,7 +63,7 @@ def drive(backend):
6363
os.system('python %s' % tmpfile)
6464

6565
times = {}
66-
backends = ['PS', 'GD', 'Paint', 'Agg', 'Template']
66+
backends = ['PS', 'GD', 'Paint', 'Agg', 'TkAgg', 'Template']
6767
backends.extend([ 'GTK', 'WX'])
6868
#backends = [ 'Agg']
6969

images/stock_close.ppm

826 Bytes
Binary file not shown.

images/stock_down.ppm

826 Bytes
Binary file not shown.

images/stock_left.ppm

826 Bytes
Binary file not shown.

images/stock_refresh.ppm

826 Bytes
Binary file not shown.

images/stock_right.ppm

826 Bytes
Binary file not shown.

images/stock_save_as.ppm

826 Bytes
Binary file not shown.

images/stock_up.ppm

826 Bytes
Binary file not shown.

images/stock_zoom-in.ppm

826 Bytes
Binary file not shown.

images/stock_zoom-out.ppm

826 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)