Skip to content

Commit

Permalink
Backport PR matplotlib#29035: FIX: Don't set_wmclass on GTK3
Browse files Browse the repository at this point in the history
  • Loading branch information
greglucas authored and meeseeksmachine committed Oct 29, 2024
1 parent 3d3565b commit befcf72
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/matplotlib/backends/_backend_gtk.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ def __init__(self, canvas, num):
super().__init__(canvas, num)

if gtk_ver == 3:
self.window.set_wmclass("matplotlib", "Matplotlib")
icon_ext = "png" if sys.platform == "win32" else "svg"
self.window.set_icon_from_file(
str(cbook._get_data_path(f"images/matplotlib.{icon_ext}")))
Expand Down

0 comments on commit befcf72

Please sign in to comment.