def parse_graph_section(config_obj, section, outdir_default, indir_default):
graph_timezone = None<EOL>graphing_library = CONSTANTS.DEFAULT_GRAPHING_LIBRARY<EOL>crossplots = []<EOL>if config_obj.has_option(section, '<STR_LIT>'):<EOL><INDENT>graphing_library = config_obj.get(section, '<STR_LIT>')<EOL><DEDENT>if config_obj.has_option(section, '<STR_LIT>'):<EOL><INDENT>graphs_string = config_obj.get(section, '<STR_LIT>')<EOL>crossplots = graphs_string.split()<EOL><DEDENT>if config_obj.has_option(section, '<STR_LIT>'):<EOL><INDENT>outdir_default = config_obj.get(section, '<STR_LIT>')<EOL><DEDENT>if config_obj.has_option(section, '<STR_LIT>'):<EOL><INDENT>outdir_default = config_obj.get(section, '<STR_LIT>')<EOL><DEDENT>if config_obj.has_option(section, '<STR_LIT>'):<EOL><INDENT>indir_default = config_obj.get(section, '<STR_LIT>')<EOL><DEDENT>if config_obj.has_option(section, '<STR_LIT>'):<EOL><INDENT>graph_timezone = config_obj.get(section, '<STR_LIT>')<EOL>if graph_timezone not in ("<STR_LIT>", "<STR_LIT>", "<STR_LIT>"):<EOL><INDENT>logger.warn('<STR_LIT>' + graph_timezone + '<STR_LIT>')<EOL>graph_timezone = "<STR_LIT>"<EOL><DEDENT><DEDENT>return graphing_library, crossplots, outdir_default, indir_default, graph_timezone<EOL>
Parse the GRAPH section of the config to extract useful values
:param config_obj: ConfigParser object
:param section: Section name
:param outdir_default: Default output directory passed in args
:param indir_default: Default input directory passed in args
:return: List of options extracted from the GRAPH section