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

Skip to content

Commit d4140f7

Browse files
committed
Use svg file for applicaiton icon on qt5
1 parent d50843e commit d4140f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/backends/backend_qt5.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ def __init__(self, canvas, num):
489489

490490
self.window.setWindowTitle("Figure %d" % num)
491491
image = os.path.join(matplotlib.rcParams['datapath'],
492-
'images', 'matplotlib.png')
492+
'images', 'matplotlib.svg')
493493
self.window.setWindowIcon(QtGui.QIcon(image))
494494

495495
# Give the keyboard focus to the figure instead of the

0 commit comments

Comments
 (0)