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 6c3c28e

Browse filesBrowse files
authored
Merge pull request #13052 from pierrethibault/image_slices_viewer_bugfix
Small bug fix in image_slices_viewer
2 parents 0f03057 + a9f3451 commit 6c3c28e
Copy full SHA for 6c3c28e

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.