8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c649f5 commit df3d882Copy full SHA for df3d882
examples/user_interfaces/embedding_in_qt4.py
@@ -64,10 +64,7 @@ class MyDynamicMplCanvas(MyMplCanvas):
64
def __init__(self, *args, **kwargs):
65
MyMplCanvas.__init__(self, *args, **kwargs)
66
timer = QtCore.QTimer(self)
67
- if use_pyside:
68
- timer.timeout.connect(self.update_figure)
69
- else:
70
- QtCore.QObject.connect(timer, QtCore.SIGNAL("timeout()"), self.update_figure)
+ timer.timeout.connect(self.update_figure)
71
timer.start(1000)
72
73
def compute_initial_figure(self):
0 commit comments