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: handle non-native endian images #6674

Merged
merged 1 commit into from Jul 10, 2016

Conversation

tacaswell
Copy link
Member

In cbook.safe_mask_invalid also ensure that the data is in
native byte order.

close #6671 closes #6394

I can see a case to be made to split this functionality into a separate function, but doing it this way means only having to change the code in one place, not many.

@tacaswell tacaswell added this to the 2.0 (style change major release) milestone Jul 2, 2016
cmap='viridis')

ax1.imshow(Z.astype('<f8'), **kwargs),
ax2.imshow(Z.astype('>f8'), **kwargs),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the comma at the end?

@tacaswell
Copy link
Member Author

re worked to not use an if statement + a verbose comment.

Force-pushed with update.

In cbook.safe_mask_invalid also ensure that the data is in
native byte order.

close matplotlib#6671 closes matplotlib#6394
@QuLogic QuLogic merged commit f443b12 into matplotlib:v2.x Jul 10, 2016
@tacaswell tacaswell deleted the fix_imshow_endiannes branch July 10, 2016 00:40
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

4 participants