Skip to content

Commit

Permalink
Merge pull request #669 from JamesKunstle/fix-package-version-pie
Browse files Browse the repository at this point in the history
fix package version pie w/ correct columns
  • Loading branch information
cdolfi authored Mar 14, 2024
2 parents 02fb07a + a7811b5 commit 3960993
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 3960993

Please sign in to comment.