Skip to content

Commit

Permalink
fix package version pie w/ correct columns
Browse files Browse the repository at this point in the history
Signed-off-by: James Kunstle <[email protected]>
  • Loading branch information
JamesKunstle committed Mar 14, 2024
1 parent f2b718b commit be51d41
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def package_version_graph(repolist):
df = pd.DataFrame(df["dep_age"].value_counts().reset_index())

# graph generation
fig = px.pie(df, names="index", values="dep_age", color_discrete_sequence=color_seq)
fig = px.pie(df, names="dep_age", values="count", color_discrete_sequence=color_seq)
fig.update_traces(
textposition="inside",
textinfo="percent+label",
Expand Down

0 comments on commit be51d41

Please sign in to comment.