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 0e0a40b commit 34c0186Copy full SHA for 34c0186
1 file changed
examples/event_handling/image_slices_viewer.py
@@ -32,7 +32,7 @@ def onscroll(self, event):
32
33
def update(self):
34
self.im.set_data(self.X[:, :, self.ind])
35
- ax.set_ylabel('slice %s' % self.ind)
+ self.ax.set_ylabel('slice %s' % self.ind)
36
self.im.axes.figure.canvas.draw()
37
38
0 commit comments