8000 Merge pull request #20994 from anntzer/g4i · matplotlib/matplotlib@5e9620b · GitHub
[go: up one dir, main page]

Skip to content

Commit 5e9620b

Browse files
authored
Merge pull request #20994 from anntzer/g4i
Remove unused icon_filename, window_icon globals.
2 parents d99681b + 8d3d594 commit 5e9620b

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

lib/matplotlib/backends/backend_gtk4.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -658,14 +658,6 @@ def trigger(self, *args, **kwargs):
658658
clipboard.set(pb)
659659

660660

661-
# Define the file to use as the GTk icon
662-
if sys.platform == 'win32':
663-
icon_filename = 'matplotlib.png'
664-
else:
665-
icon_filename = 'matplotlib.svg'
666-
window_icon = str(cbook._get_data_path('images', icon_filename))
667-
668-
669661
backend_tools.ToolSaveFigure = SaveFigureGTK4
670662
backend_tools.ToolConfigureSubplots = ConfigureSubplotsGTK4
671663
backend_tools.ToolRubberband = RubberbandGTK4

0 commit comments

Comments
 (0)
0