MCPcopy Create free account
hub / github.com/Persper/code-analytics / main

Function main

tools/excel_charts/draw_charts.py:108–123  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

106
107
108def main():
109 parser = argparse.ArgumentParser()
110 parser.add_argument('file', help='Excel file to draw charts in')
111 args = parser.parse_args()
112
113 wb = load_workbook(args.file)
114
115 for ws in wb.worksheets:
116 if ws.title == 'Stats':
117 continue
118 print('Drawing for ' + ws.title)
119 draw_ordered_ranks(ws)
120
121 draw_stats(wb)
122
123 wb.save(args.file)
124
125
126if __name__ == '__main__':

Callers 1

draw_charts.pyFile · 0.70

Calls 3

draw_ordered_ranksFunction · 0.85
draw_statsFunction · 0.85
saveMethod · 0.45

Tested by

no test coverage detected