Skip to content
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
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
* text=auto
*.ppm binary
*.svg binary
*.svg linguist-language=true
lib/matplotlib/_version.py export-subst
3 changes: 2 additions & 1 deletion lib/matplotlib/backends/_backend_tk.py
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,8 @@ def new_figure_manager_given_figure(cls, num, figure):
# icon. Tkinter doesn't allow colour icons on linux systems, but
# tk>=8.5 has a iconphoto command which we call directly. See
# http://mail.python.org/pipermail/tkinter-discuss/2006-November/000954.html
icon_fname = str(cbook._get_data_path('images/matplotlib.ppm'))
icon_fname = str(cbook._get_data_path(
'images/matplotlib_128.ppm'))
icon_img = tk.PhotoImage(file=icon_fname, master=window)
try:
window.iconphoto(False, icon_img)
Expand Down
Binary file removed lib/matplotlib/mpl-data/images/matplotlib.ppm
Binary file not shown.
4 changes: 4 additions & 0 deletions lib/matplotlib/mpl-data/images/matplotlib_128.ppm

Large diffs are not rendered by default.