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

Skip to content

Commit 11226f8

Browse files
authored
Merge pull request #6627 from efiring/icon_antialias
ENH: make antialiased gifs for Tk, and remove unused image files
2 parents fbe8ad8 + f57ad72 commit 11226f8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+1
-1543
lines changed

lib/matplotlib/backends/backend_tkagg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,7 @@ def release(self, event):
738738
def set_cursor(self, cursor):
739739
self.window.configure(cursor=cursord[cursor])
740740

741-
def _Button(self, text, file, command, extension='.ppm'):
741+
def _Button(self, text, file, command, extension='.gif'):
742742
img_file = os.path.join(rcParams['datapath'], 'images', file + extension)
743743
im = Tk.PhotoImage(master=self, file=img_file)
744744
b = Tk.Button(
608 Bytes
Loading
-1.7 KB
Binary file not shown.

lib/matplotlib/mpl-data/images/back.xpm

Lines changed: 0 additions & 160 deletions
This file was deleted.
799 Bytes
Loading
-6.76 KB
Binary file not shown.
723 Bytes
Loading
-1.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)