Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 34c0186

Browse filesBrowse files
dstansbyMeeseeksDev[bot]
authored andcommitted
Backport PR #13052: Small bug fix in image_slices_viewer
1 parent 0e0a40b commit 34c0186
Copy full SHA for 34c0186

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎examples/event_handling/image_slices_viewer.py

Copy file name to clipboardExpand all lines: examples/event_handling/image_slices_viewer.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def onscroll(self, event):
3232

3333
def update(self):
3434
self.im.set_data(self.X[:, :, self.ind])
35-
ax.set_ylabel('slice %s' % self.ind)
35+
self.ax.set_ylabel('slice %s' % self.ind)
3636
self.im.axes.figure.canvas.draw()
3737

3838

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.