8000 Improve tkagg icon resolution · matplotlib/matplotlib@2798b4e · GitHub
[go: up one dir, main page]

Skip to content

Commit 2798b4e

Browse files
committed
Improve tkagg icon resolution
1 parent b03370a commit 2798b4e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

lib/matplotlib/backends/_backend_tk.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,8 @@ def new_figure_manager_given_figure(cls, num, figure):
880880
# icon. Tkinter doesn't allow colour icons on linux systems, but
881881
# tk>=8.5 has a iconphoto command which we call directly. See
882882
# http://mail.python.org/pipermail/tkinter-discuss/2006-November/000954.html
883-
icon_fname = str(cbook._get_data_path('images/matplotlib.ppm'))
883+
icon_fname = str(cbook._get_data_path(
884+
'images/matplotlib_128.ppm'))
884885
icon_img = tk.PhotoImage(file=icon_fname, master=window)
885886
try:
886887
window.iconphoto(False, icon_img)

0 commit comments

Comments
 (0)
0