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

Skip to content

Commit 6134061

Browse files
committed
Remove unused icon_filename, window_icon globals.
On Gtk4, these have never been part of a released version, and can be directly removed.
1 parent 5656d11 commit 6134061

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)