add custom title function to suit y label positioning.
added distutils stuff, changed layout