code: def get_option(name):
      
      d = globals()
  
      if name in {'get_option', 'set_option'} or name not in d:
          from ..exceptions import PlotnineError
          raise PlotnineError("Unknown option {}".format(name))
  
      return d[name]
docs: Get package option
  
      Parameters
      ----------
      name : str
          Name of the option