You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We recommend marking all methods used by signal connections with a @QtCore.Slot() decorator. Not doing causes run-time overhead due to the method being added to the QMetaObject when creating the connection. This is particularly important for QObject classes registered with QML, where missing decorators can introduce bugs.
It could do that, but is that portable to PySide2 and PyQt? We would need compatibility with all Qt Python implementations, which may require lots of special casing.
Bug summary
https://doc.qt.io/qtforpython-6/tutorials/basictutorial/signals_and_slots.html#the-slot-class says
NavigationToolbar2QT
does not do that.Code for reproduction
Actual outcome
Expected outcome
Silence
Operating system
Windows 10 (also Ubuntu 23.10)
Matplotlib Version
3.8.0
Matplotlib Backend
QtAgg
Python version
Python 3.12.0
Jupyter version
irrelevant
Installation
pip
The text was updated successfully, but these errors were encountered: