Using ABCMeta and auto figure dimensions