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
Issue plotting big endian images #6671
Milestone
Comments
It sounds like that should have fixed it however I can still reproduce it with 2.0.0b1+98.gc4fa469 which I just installed. |
It works on
|
More specifically:
Also, edited top post to include creation of |
Ok, this behavior makes sense. In [13]: matplotlib.cbook.safe_masked_invalid(Z.astype('>f8'), copy=True).data.dtype
Out[13]: dtype('>f8') numpy is happily copy, but not forcing the data to be native. I have a PR on the way. |
tacaswell
added a commit
to tacaswell/matplotlib
that referenced
this issue
Jul 2, 2016
In cbook.safe_mask_invalid also ensure that the data is in native byte order. close matplotlib#6671 closes matplotlib#6394
tacaswell
added a commit
to tacaswell/matplotlib
that referenced
this issue
Jul 2, 2016
In cbook.safe_mask_invalid also ensure that the data is in native byte order. close matplotlib#6671 closes matplotlib#6394
tacaswell
added a commit
to tacaswell/matplotlib
that referenced
this issue
Jul 2, 2016
In cbook.safe_mask_invalid also ensure that the data is in native byte order. close matplotlib#6671 closes matplotlib#6394
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Originally reported by Anik Halder on the mailing list http://matplotlib.1069221.n5.nabble.com/IPython-FITS-file-plotting-problem-tp47271.html
Consider this simple example:
Which produces:
And:
This works correctly in 1.5.1 so it looks like it's a regression in 2.x
The text was updated successfully, but these errors were encountered: