#from __future__ import print_function
################################################
# Sample run_examples.py file to be used later #
################################################

# interactive=False
# import subprocess
# import os
# import matplotlib

# def test_everything(savedir=''):

#     matplotlib.use('TkAgg')
#     from matplotlib.pyplot import ion,ioff
#     if interactive:
#         ion()
#     else:
#         ioff()

#     curpath = os.getcwd()

#     dir_prefix = os.path.split(os.path.abspath(__file__))[0]
#     os.chdir(dir_prefix)
#     print 'curpath:',curpath
#     print 'dir_prefix:',dir_prefix
#     print "*****ammonia_fit_example.py*****"
#     execfile(os.path.join(dir_prefix,'ammonia_fit_example.py'),{'interactive':interactive,'savedir':savedir})

# 	print "Success!  Or at least, no exceptions..."
#     os.chdir(curpath)
