Just to double-check, for safety: did you completely remove the atk-2009.11 directory before installing the 32-bit version? Otherwise, this kind of mixup can easily happen. Then try to install matplotlib, the 32-bit version, inside the fresh 32-bit ATK install.