We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4de984 commit a9f3451Copy full SHA for a9f3451
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