Solutions to errors with APLpy show_regions()

Trying to display Ds9 region files on top of APLpy plots threw up two errors. Creating an aplpy.FITSFigure subplot using some standard code in a python script worked fine, until the line where the show_regions() call to pyregion encountered an … Read more

Posted in Code, Programming | Tagged , | Leave a comment

Creating figures from FITS images with APLpy

The Python module APLpy is a great tool for plotting professional-looking astro images. Short for Astronomical Plotting Library in Python, APLpy aims to produce publication-quality plots of astronomical images in FITS file format. As I’ve been using it a lot … Read more

Posted in Code | Tagged , , , | Leave a comment