Skip to content

Commit

Permalink
Update views.py format
Browse files Browse the repository at this point in the history
  • Loading branch information
JusticeV452 committed Apr 16, 2024
1 parent c8339f3 commit 5da30db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/app/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ def PieChart(request, example_id=None):
}
return render(request, 'index.html', context)


def BarChart(request, example_id=None):
"""
Displays Bar Chart for data from election campaign finance
Expand All @@ -84,6 +85,7 @@ def BarChart(request, example_id=None):
}
return render(request, 'index.html', context)


def FinanceSankey(request, example_id=None):
"""
Displays FinanceSankey for data from election campaign finance
Expand Down

0 comments on commit 5da30db

Please sign in to comment.