10000 FIX: do not mutate Series input to Normalize() by tacaswell · Pull Request #5722 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

FIX: do not mutate Series input to Normalize() #5722

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
Dec 22, 2015

Conversation

tacaswell
Copy link
Member

This forces a copy in all cases. For input sequences which are base
python (list, tuple, deque, ...) this will cause a second un-needed copy
of all of the data, but will force the required copy in the case where
the the input values is enough ndarray-like for ma.asarray to re-use
memory.

closes #5427

This forces a copy in all cases.  For input sequences which are base
python (list, tuple, deque, ...) this will cause a second un-needed copy
of all of the data, but will force the required copy in the case where
the the input values is enough ndarray-like for `ma.asarray` to re-use
memory.

closes matplotlib#5427
@tacaswell tacaswell added this to the Critical bugfix release (1.5.1) milestone Dec 22, 2015
efiring added a commit that referenced this pull request Dec 22, 2015
FIX: do not mutate Series input to Normalize()
@efiring efiring merged commit 7a431e3 into matplotlib:v1.5.x Dec 22, 2015
@tacaswell tacaswell deleted the fix_norm_mutates_series branch December 22, 2015 22:58
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.

2 participants
0