8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35d841b commit dbc846cCopy full SHA for dbc846c
galleries/examples/event_handling/data_browser.py
@@ -82,7 +82,7 @@ def update(self):
82
transform=ax2.transAxes, va='top')
83
ax2.set_ylim(-0.5, 1.5)
84
self.selected.set_visible(True)
85
- self.selected.set_data(xs[dataind], ys[dataind])
+ self.selected.set_data([xs[dataind]], [ys[dataind]])
86
87
self.text.set_text('selected: %d' % dataind)
88
fig.canvas.draw()
0 commit comments