Skip to content

ENH: LogLocator: check for correct dimension of subs added #12860

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

Merged
merged 3 commits into from
Aug 25, 2019

Conversation

jor-
Copy link
Contributor

@jor- jor- commented Nov 21, 2018

Some checks with explanatory error messages are added to the subs method of the LogLocator.

@jklymak
Copy link
Member

jklymak commented Nov 29, 2018

This needs tests of the possible errors.

Not quite clear on the use case here. Argument checking is fine, but this is relatively obscure API and it seems we can trust that the user has read the doc string. I assume if these strictures aren’t followed an error pops up a little further down the line. Is that error too mysterious that we need these checks?

@jklymak jklymak added this to the v3.1 milestone Dec 4, 2018
@jklymak jklymak modified the milestones: v3.1.0, v3.2.0 Feb 22, 2019
@tacaswell
Copy link
Member

@jor- I took the liberty of rebasing this on current master, adding a test, and force-pushing. I hope you do not mind.

@anntzer anntzer merged commit cf45de8 into matplotlib:master Aug 25, 2019
@jor-
Copy link
Contributor Author

jor- commented Sep 3, 2019

@tacaswell : Thanks for finishing this.

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.

5 participants