relative imports for Python 3 in figure modules