Skip to content

Fix incorrect value check in axes_grid. #15460

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 1 commit into from
Oct 21, 2019

Conversation

anntzer
Copy link
Contributor

@anntzer anntzer commented Oct 21, 2019

PR Summary

The mistake came in at https://github.com/matplotlib/matplotlib/pull/10091/files#diff-3ddd29752271f4c2798bdf132a2b4673L491, sorry about that.
This patch is necessary to make the example at #9778 runnable.
On the other hand I think the fact that this was in in mpl2.2 and 3.0 and 3.1 and no one has complained about it so far says something about the extent to which axes_grid is (un)used...
I guess it would be nice to backport this to 2.2.5 and 3.1.x as well, but again, no one has complained :)

PR Checklist

  • Has Pytest style unit tests
  • Code is Flake 8 compliant
  • New features are documented, with examples if plot related
  • Documentation is sphinx and numpydoc compliant
  • Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there)
  • Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way

@jklymak
Copy link
Member

jklymak commented Oct 21, 2019

Since this didn't fail, does it need a test?

@anntzer
Copy link
Contributor Author

anntzer commented Oct 21, 2019

sure, let's test that...

@jklymak jklymak modified the milestones: v3.2.0, v3.1.2 Oct 21, 2019
@jklymak
Copy link
Member

jklymak commented Oct 21, 2019

It'd be nice to check that the exception is raised, but this is still an improvement...

@jklymak
Copy link
Member

jklymak commented Oct 21, 2019

@meeseeksdev backport to v2.2.5

@lumberbot-app
Copy link

lumberbot-app bot commented Oct 21, 2019

Something went wrong ... Please have a look at my logs.

It seem that the branch you are trying to backport to does not exists.

@jklymak
Copy link
Member

jklymak commented Oct 21, 2019

@meeseeksdev backport to v2.2.x

meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Oct 21, 2019
@anntzer anntzer deleted the axes_grid-check branch October 21, 2019 22:55
@tacaswell tacaswell modified the milestones: v3.1.2, v2.2.5 Oct 22, 2019
tacaswell added a commit that referenced this pull request Oct 22, 2019
…460-on-v2.2.x

Backport PR #15460 on branch v2.2.x (Fix incorrect value check in axes_grid.)
tacaswell added a commit that referenced this pull request Oct 22, 2019
…460-on-v3.1.x

Backport PR #15460 on branch v3.1.x (Fix incorrect value check in axes_grid.)
tacaswell added a commit that referenced this pull request Oct 22, 2019
…460-on-v3.2.x

Backport PR #15460 on branch v3.2.x (Fix incorrect value check in axes_grid.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants