8000 ENH: make antialiased gifs for Tk, and remove unused image files by efiring · Pull Request #6627 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

ENH: make antialiased gifs for Tk, and remove unused image files #6627

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 23, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
make antialiased gifs for Tk, and remove unused image files
  • Loading branch information
efiring committed Jun 22, 2016
commit f57ad723581efd61772e13e69cd998e30fcd8ba4
2 changes: 1 addition & 1 deletion lib/matplotlib/backends/backend_tkagg.py
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ def release(self, event):
def set_cursor(self, cursor):
self.window.configure(cursor=cursord[cursor])

def _Button(self, text, file, command, extension='.ppm'):
def _Button(self, text, file, command, extension='.gif'):
img_file = os.path.join(rcParams['datapath'], 'images', file + extension)
im = Tk.PhotoImage(master=self, file=img_file)
b = Tk.Button(
Expand Down
Binary file added lib/matplotlib/mpl-data/images/back.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed lib/matplotlib/mpl-data/images/back.ppm
Binary file not shown.
160 changes: 0 additions & 160 deletions lib/matplotlib/mpl-data/images/back.xpm

This file was deleted.

Binary file added lib/matplotlib/mpl-data/images/back_large.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed lib/matplotlib/mpl-data/images/back_large.ppm
Binary file not shown.
Binary file added lib/matplotlib/mpl-data/images/filesave.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed lib/matplotlib/mpl-data/images/filesave.ppm
Binary file not shown.
Loading
0