Category Archives: Tips
I’ve long struggled with modifying the fonts for matplotlib plots from the default “Bitstream Vera Sans” until I found this post recently. The steps outlined there worked quite well for changing the general font used for the plots, but escaped … Continue reading
One thing I noticed with my homebrew installation of matplotlib was that the interactive plotting was disabled by default. Turning it on was a simple matter of finding and editing the matplotlibrc file: I set the following lines: # backend … Continue reading
Homebrew appears to be a nice replacement for MacPorts for installing unix applications not provided by Apple. It puts installed libraries in their own folders in /usr/local/Cellar/ and then sym-links the executables to /usr/local/bin/. It also appears to provide a … Continue reading
I came across a number of compile problems when trying to install PyMC with the latest STSCI_PYTHON and Python2.7. The main problem appears to stem from the version of gfortran that the install scripts found in /sw/bin, perhaps shipped with … Continue reading
See this post at AstroBetter.
Python-sao is an interface for communicating with DS9 via Python. Installing with STSCI_PYTHON is done as follows: This is the error you get if you don’t set CC=gcc-4.0: