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 7cf45ce commit d5d814aCopy full SHA for d5d814a
setup.py
@@ -5,7 +5,7 @@
5
6
setuptools.setup(
7
name="matplotlib_backend_qtquick",
8
- version="0.0.4",
+ version="0.0.5",
9
author="Jovan Mitrevski",
10
author_email="j.p.mitrevski@gmail.com",
11
description="A QtQuick backend for matplotlib",
tests/testBackend.py
@@ -15,7 +15,6 @@
15
class DisplayBridge(QtCore.QObject):
16
""" A bridge class to interact with the plot in python
17
"""
18
- stateChanged = QtCore.Signal()
19
20
def __init__(self, parent=None):
21
super().__init__(parent)
@@ -38,7 +37,7 @@ def updateWithCanvas(self, canvas):
38
37
y = np.sin(x)
39
40
self.axes.plot(x, y)
41
- self.stateChanged.emit()
+ canvas.draw_idle()
42
43
44
class TestBackend(unittest.TestCase):
0 commit comments