These are chat archives for astropy/astropy

Jun 2016
Michael Schmid
Jun 21 2016 07:25 UTC
hi, i have a issue, i dont know if this is the right place to ask but it is worth a shot

File "C:\Users\lapguest\Anaconda3\lib\site-packages\", line 177, in _initialize_astropy
from .utils import _compiler

ImportError: cannot import name '_compiler'

im trying to import a fits file

my code is

from import fits
hdulist ='input.fits.fits')
scidata = hdulist[0].data

Nathan Goldbaum
Jun 21 2016 14:30 UTC
this might be relevant for people working with astropy's units: matplotlib/matplotlib#6622
it's a PR that makes matplotlib's imshow command work correctly when passed an array with units attached
Adam Ginsburg
Jun 21 2016 15:11 UTC
ngoldbaum: :+1: