Skip to content

FIX: the new _AxesStack with np.array as input #9029

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

Closed
wants to merge 2 commits into from

Conversation

tacaswell
Copy link
Member

PR Summary

This adds a layer checking in the case where a numpy array is
passed as a value (either in args or kwargs).

fixes a bug that was in #7377 that I missed when I merged it.

PR Checklist

  • Has Pytest style unit tests
  • Code is PEP 8 compliant

This adds a layer checking in the case where a numpy array is
passed as a value (either in args or kwargs).
@tacaswell tacaswell added this to the 2.1 (next point release) milestone Aug 14, 2017
@tacaswell tacaswell added the Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions. label Aug 14, 2017
@tacaswell
Copy link
Member Author

The other option is to revert my merge of #7377

@QuLogic QuLogic requested a review from anntzer August 14, 2017 03:31
@anntzer
Copy link
Contributor

anntzer commented Aug 14, 2017

I would suggest just checking for pickle equality (in fact, one could just store the pickles of the keys instead of the keys themselves), which seems a lot simpler than adding another 30 lines to support a soon-to-be-deprecated behavior.

@tacaswell tacaswell closed this Aug 14, 2017
@tacaswell tacaswell deleted the fix_axesstack branch August 14, 2017 19:23
@tacaswell
Copy link
Member Author

Closing in favor of:

  1. reverting the merge of ENH: Switch to a private, simpler AxesStack. #7377
  2. deprecating the 'return an axes if one like it exists' functionality for 2.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants