Spaces:
Sleeping
Sleeping
Update appStore/vulnerability_analysis.py
Browse files
appStore/vulnerability_analysis.py
CHANGED
@@ -130,23 +130,14 @@ def vulnerability_display():
|
|
130 |
st.write("df_label_count")
|
131 |
|
132 |
# Bar chart
|
133 |
-
fig = px.bar(
|
134 |
x='Label',
|
135 |
y='Count',
|
136 |
title='How many references have been found to each group?',
|
137 |
labels={'Count': 'Frequency'})
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
# names="Label",
|
142 |
-
# values="Count",
|
143 |
-
# title='Label Counts',
|
144 |
-
# hover_name="Count",
|
145 |
-
# color_discrete_sequence=px.colors.qualitative.Plotly
|
146 |
-
# )
|
147 |
-
|
148 |
-
# #Show plot
|
149 |
-
# st.plotly_chart(fig, use_container_width=True)
|
150 |
|
151 |
# ### Table
|
152 |
st.write(df[df['groups_column'].apply(lambda x: 'Other' not in x)])
|
|
|
130 |
st.write("df_label_count")
|
131 |
|
132 |
# Bar chart
|
133 |
+
fig = px.bar(df_vul,
|
134 |
x='Label',
|
135 |
y='Count',
|
136 |
title='How many references have been found to each group?',
|
137 |
labels={'Count': 'Frequency'})
|
138 |
+
|
139 |
+
#Show plot
|
140 |
+
st.plotly_chart(fig, use_container_width=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
141 |
|
142 |
# ### Table
|
143 |
st.write(df[df['groups_column'].apply(lambda x: 'Other' not in x)])
|