10000 Merge pull request #29682 from meeseeksmachine/auto-backport-of-pr-29… · matplotlib/matplotlib@9fe0dad · GitHub
[go: up one dir, main page]

Skip to content

Commit 9fe0dad

Browse files
authored
Merge pull request #29682 from meeseeksmachine/auto-backport-of-pr-29680-on-v3.10.x
Backport PR #29680 on branch v3.10.x (DOC: fix the bug of examples\event_handling)
2 parents d3cf53d + b4f94a4 commit 9fe0dad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

galleries/examples/event_handling/data_browser.py

Lines 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