pywcsgrid2 : matplotlib with astronomical fits images


pywcsgrid2 is my personal project to display astronomical fits images
using matplotlib.

While there are other tools, my approach is to extend the capability
of the matplolib, rather than building something new on top of it.
pywcsgrid2 provides a custom Axes class (derived from the matplotlib's
original Axes) whose main functionality improvement is to draw ticks,
ticklabels, and grids in an appropriate sky coordinate.




* Matplotlib 0.99 version (

* kapteyn package ( or pywcs
(, svn version is required)

* pyfits

And it is only supported in linux and mac os X (although pywcsgrid2
itself is written in pure python).


Home page :

Overview doc. :

Download :

github :

Unfortunately, the code is documented rather sparsely (with poor
english), but I hope the above overview gives enough idea on how to

pywcsgrid2 is still in development, and there will be bug fixes and
improvements. While a downloadable tar file is available, installing
from the git repository is recommended if you're familiar with it.

For questions, bug reports or feature suggestions, please email me or
use the issue tracker in the github.