From 432403f65ed986a782fb27bc9e17fed45dfcfced Mon Sep 17 00:00:00 2001 From: Antony Lee Date: Thu, 10 Jan 2019 16:50:23 +0100 Subject: [PATCH] Remove an outdated comment in backend_wx. wx definitely correctly sets the window icon on Linux... --- lib/matplotlib/backends/backend_wx.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/lib/matplotlib/backends/backend_wx.py b/lib/matplotlib/backends/backend_wx.py index 15f292c5ccc2..22801fb5f937 100644 --- a/lib/matplotlib/backends/backend_wx.py +++ b/lib/matplotlib/backends/backend_wx.py @@ -1180,15 +1180,6 @@ def __init__(self, num, fig): self.canvas.SetMinSize((2, 2)) - # give the window a matplotlib icon rather than the stock one. - # This is not currently working on Linux and is untested elsewhere. - # icon_path = os.path.join(matplotlib.rcParams['datapath'], - # 'images', 'matplotlib.png') - # icon = wx.IconFromBitmap(wx.Bitmap(icon_path)) - # for xpm type icons try: - # icon = wx.Icon(icon_path, wx.BITMAP_TYPE_XPM) - # self.SetIcon(icon) - self.figmgr = FigureManagerWx(self.canvas, num, self) self.Bind(wx.EVT_CLOSE, self._onClose) pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy