Skip to content

Commit 254a924

Browse files
authored
Merge pull request #11904 from meeseeksmachine/auto-backport-of-pr-11900-on-v3.0.x
Backport PR #11900 on branch v3.0.x
2 parents 1f10661 + 951613f commit 254a924

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/backends/backend_qt5.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -163,10 +163,10 @@ def cooperative_qwidget_init(self, *args, **kwargs):
163163
next_coop_init.__init__(self, *args, **kwargs)
164164

165165
@functools.wraps(__init__)
166-
def wrapper(self, **kwargs):
166+
def wrapper(self, *args, **kwargs):
167167
with cbook._setattr_cm(QtWidgets.QWidget,
168168
__init__=cooperative_qwidget_init):
169-
__init__(self, **kwargs)
169+
__init__(self, *args, **kwargs)
170170

171171
return wrapper
172172

0 commit comments

Comments
 (0)