old_contents: ### create temp folder if none exists #########################################
  
  
  import sys as _sys
  import os as _os
  
  import matplotlib as _matplotlib
  
  
  ### temp directory ############################################################
  
  
  _temp_dir = _os.path.join(_os.path.dirname(__file__), 'temp')
  if not _os.path.isdir(_temp_dir):
      _os.mkdir(_temp_dir)
  
  
  ### version ###################################################################
  
  
  # MAJOR.MINOR.PATCH (semantic versioning)
  # major version changes may break backwards compatibility
  __version__ = '2.12.0'
  
  # add git branch, if appropriate
  _directory = _os.path.dirname(__file__)
  _p = _os.path.join(_directory, '.git', 'HEAD')
  if _os.path.isfile(_p):
      with open(_p) as _f:
          __branch__ = _f.readline().rstrip().split(r'/')[-1]
      if __branch__ != 'master':
          __version__ += '-' + __branch__
  else:
      __branch__ = None
  
  
  ### import ####################################################################
  
  
  from . import artists
  from . import calibration
  from . import data
  from . import diagrams
  from . import fit
  from . import google_drive
  from . import kit
  from . import tuning
  from . import units
  
  
  ### rcparams ##################################################################
  
  if int(_sys.version.split('.')[0]) > 2 and int(_matplotlib.__version__.split('.')[0]) > 1:
      artists.apply_rcparams('fast')
  
new_contents: ### create temp folder if none exists #########################################
  
  
  import sys as _sys
  import os as _os
  
  import matplotlib as _matplotlib
  
  
  ### temp directory ############################################################
  
  
  _temp_dir = _os.path.join(_os.path.dirname(__file__), 'temp')
  if not _os.path.isdir(_temp_dir):
      _os.mkdir(_temp_dir)
  
  
  ### version ###################################################################
  
  
  # MAJOR.MINOR.PATCH (semantic versioning)
  # major version changes may break backwards compatibility
  __version__ = '2.12.0'
  
  # add git branch, if appropriate
  _directory = _os.path.dirname(_os.path.dirname(__file__))
  _p = _os.path.join(_directory, '.git', 'HEAD')
  if _os.path.isfile(_p):
      with open(_p) as _f:
          __branch__ = _f.readline().rstrip().split(r'/')[-1]
      if __branch__ != 'master':
          __version__ += '-' + __branch__
  else:
      __branch__ = None
  
  
  ### import ####################################################################
  
  
  from . import artists
  from . import calibration
  from . import data
  from . import diagrams
  from . import fit
  from . import google_drive
  from . import kit
  from . import tuning
  from . import units
  
  
  ### rcparams ##################################################################
  
  if int(_sys.version.split('.')[0]) > 2 and int(_matplotlib.__version__.split('.')[0]) > 1:
      artists.apply_rcparams('fast')
  
subject: return branch to version