Minor changes to make code compatibile with both Python 2 and Python 3.
"print 'foo'" becomes "print('foo')
relative imports no longer supported e.g. "from utilities import plotting" becomes "from resonator_tools.utilities import plotting"
a couple of other minor changes
To maintain compatibility with old and new, please use print() function and absolute imports in future commits. You can also run code through the 2to3 command line utility to locate incompatible commands.
Changes to matplotlib handling have not been included in this pull request as I cannot test backward compatibility. Some warnings may appear in matplotlib >=2.0 but plotting still behaves as expected.
Minor changes to make code compatibile with both Python 2 and Python 3.
To maintain compatibility with old and new, please use print() function and absolute imports in future commits. You can also run code through the 2to3 command line utility to locate incompatible commands.
Changes to matplotlib handling have not been included in this pull request as I cannot test backward compatibility. Some warnings may appear in matplotlib >=2.0 but plotting still behaves as expected.