[Matplotlib-users] IPython FITS file plotting problem
jenshnielsen at gmail.com
Fri Jul 1 12:03:07 EDT 2016
Sure. The bug report is up at at
In the mean time you can either switch to 1.5.x or change the code to
plt.imshow(Z_read.astype('<f8'), origin = "lower")
On Fri, 1 Jul 2016 at 16:49 Halder, Anik <a.halder at jacobs-university.de>
> Hi Jens,
> Thank you so very much for your help.
> Unfortunately I'm really am not too familiar with github. Will it be
> possible for you to open a discussion there and send me the link?
> Will be very obliged if you could do so.
> Thank you once again,
> *From:* Jens Nielsen [jenshnielsen at gmail.com]
> *Sent:* Friday, July 01, 2016 5:21 PM
> *To:* Halder, Anik; matplotlib-users at python.org
> *Subject:* Re: [Matplotlib-users] IPython FITS file plotting problem
> I can reproduce your issue with matplotlib 2 beta1 but not with 1.51, See
> https://gist.github.com/jenshnielsen/86d4a86d8f667fadddc09f88c5fb87e6 I
> think this relates to the dtype of the data (see the last two cells of my
> notebook) can you open an issue for this at github? It seems like the fits
> data is converted from float32 to big endian float8.
> On Fri, 1 Jul 2016 at 15:23 anikhalder <a.halder at jacobs-university.de>
>> Dear all,
>> I am facing a problem while running a script ( please find the attached
>> files - I am attaching both the ipython notebook version and also the
>> script ).
>> I am trying to plot an array of values, write it into a FITS file format,
>> read it back again and plot it ---> I don't get the same plots!
>> I shall be highly obliged if you can kindly help me with this.
>> The following are the versions of my packages and compiler:
>> matplotlib : '2.0.0b1'
>> numpy : '1.11.0'
>> astropy : u'1.1.2'
>> python : 2.7
>> Anik Halder
>> View this message in context:
>> Sent from the matplotlib - users mailing list archive at Nabble.com.
>> Matplotlib-users mailing list
>> Matplotlib-users at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Matplotlib-users