tracinginsights commited on
Commit
3c8396f
1 Parent(s): ca97e90

Update pages/Penalty_Points.py

Browse files
Files changed (1) hide show
  1. pages/Penalty_Points.py +8 -1
pages/Penalty_Points.py CHANGED
@@ -2,4 +2,11 @@ import streamlit as st
2
  from repo_directory import Penalty_Points
3
  from repo_directory import button
4
 
5
- Penalty_Points.plot()
 
 
 
 
 
 
 
 
2
  from repo_directory import Penalty_Points
3
  from repo_directory import button
4
 
5
+ _, drivers, n = Penalty_Points.get_data()
6
+
7
+ #Remove drivers
8
+ DRIVERS_REMOVED = st.multiselect(
9
+ 'Select Drivers to remove',
10
+ drivers)
11
+
12
+ Penalty_Points.plot(DRIVERS_REMOVED)