Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix IndexError in cursor_demo.py. #5289

Merged
merged 1 commit into from Oct 22, 2015

Conversation

anntzer
Copy link
Contributor

@anntzer anntzer commented Oct 20, 2015

An out-of-bounds error could be triggered before by bringing the mouse all
the way to the right of the graph, making searchsorted return len(self.x)
instead of len(self.x) - 1.

An out-of-bounds error could be triggered before by bringing the mouse all
the way to the right of the graph, making `searchsorted` return `len(self.x)`
instead of `len(self.x) - 1`.
@mdboom mdboom added this to the next point release (1.5.0) milestone Oct 20, 2015
@mdboom
Copy link
Member

mdboom commented Oct 20, 2015

👍

mdboom added a commit that referenced this pull request Oct 22, 2015
@mdboom mdboom merged commit b791d76 into matplotlib:master Oct 22, 2015
@anntzer anntzer deleted the cursor_demo-IndexError branch April 24, 2022 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants