Fix issue #811
This commit is contained in:
parent
2e69b9c5e6
commit
e4681b7201
@ -1014,7 +1014,10 @@ class ViewBox(GraphicsWidget):
|
||||
self.updateViewRange()
|
||||
self.update()
|
||||
self.sigStateChanged.emit(self)
|
||||
self.sigYRangeChanged.emit(self, tuple(self.state['viewRange'][ax]))
|
||||
if ax:
|
||||
self.sigYRangeChanged.emit(self, tuple(self.state['viewRange'][ax]))
|
||||
else:
|
||||
self.sigXRangeChanged.emit(self, tuple(self.state['viewRange'][ax]))
|
||||
|
||||
def invertY(self, b=True):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user