Skip to content
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.

Commit

Permalink
Removed Issue #8
Browse files Browse the repository at this point in the history
- removed issue #8 where it was mentioned inside the insert_chart function
  • Loading branch information
aloftus23 committed Sep 2, 2021
1 parent 521a999 commit 1429cb2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/pe_reports/pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ def insert_chart(slide, df_loc, col_names, chart_type, size, x, y, cx, cy, stack
"""Insert charts into the PowerPoint."""
chart = CategoryChartData()
try:
# TODO: Remove hard-coded file locations
# Issue 8: https://github.com/cisagov/pe-reports/issues/8
df = pd.read_csv(df_loc).fillna(0)
chart.categories = list(df.columns.values)
chart.add_series(col_names[0], list(df.loc[0]))
Expand Down

0 comments on commit 1429cb2

Please sign in to comment.