code: def getTheme(theme=None):
      """
      Returns a theme definition.
  
      To see the colors translated (hex) use
      cufflinks.getLayout(theme) instead.
      """
      if not theme:
          theme = auth.get_config_file()["theme"]
  
      theme = theme.lower()
      if theme in themes.THEMES:
          return updateColors(copy.deepcopy(themes.THEMES[theme]))
      else:
          raise Exception("Invalid Theme: {0}".format(theme))
  
imports: import copy
  import numpy
  import pandas
  import plotly.offline
  import plotly.figure_factory
  from plotly.graph_objs import Figure, Scatter, Line
  from plotly.subplots import make_subplots
  from .None import themes
  from .None import auth, ta
  from .colors import normalize, to_rgba
  from .utils import check_kwargs, deep_update, dict_replace_keyword, kwargs_from_keyword, merge_dict, is_list, make_list
label_desc: Use image node_id 1 for calling a global function with example usage: getTheme(theme) and returns: updateColors