code: def extract_version():
      
      with open('ggplot/__init__.py') as fd:
          ns = {}
          for line in fd:
              if line.startswith('__version__'):
                  exec(line.strip(), ns)
                  return ns['__version__']
docs: Return ggplot.__version__ without importing ggplot.
      
      Extracts version from ggplot/__init__.py
      without importing ggplot, which requires dependencies to be installed.