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 ef62e5b

Browse filesBrowse files
authored
Merge pull request #29680 from sandyowlet/main
DOC: fix the bug of examples\event_handling
2 parents 35d841b + dbc846c commit ef62e5b
Copy full SHA for ef62e5b

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎galleries/examples/event_handling/data_browser.py

Copy file name to clipboardExpand all lines: galleries/examples/event_handling/data_browser.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def update(self):
8282
transform=ax2.transAxes, va='top')
8383
ax2.set_ylim(-0.5, 1.5)
8484
self.selected.set_visible(True)
85-
self.selected.set_data(xs[dataind], ys[dataind])
85+
self.selected.set_data([xs[dataind]], [ys[dataind]])
8686

8787
self.text.set_text('selected: %d' % dataind)
8888
fig.canvas.draw()

0 commit comments

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