diff --git a/swh/scanner/plot.py b/swh/scanner/plot.py
--- a/swh/scanner/plot.py
+++ b/swh/scanner/plot.py
@@ -250,7 +250,6 @@
hierarchical_df = build_hierarchical_df(
dirs_df, levels_columns, metrics_columns, str(root)
)
- known_avg = dirs_df["known"].sum() / dirs_df["contents"].sum()
fig = go.Figure()
fig.add_trace(
@@ -260,7 +259,10 @@
values=hierarchical_df["contents"],
branchvalues="total",
marker=dict(
- colors=hierarchical_df["known"], colorscale="RdBu", cmid=known_avg
+ colors=hierarchical_df["known"],
+ colorscale="matter",
+ cmid=50,
+ showscale=True,
),
hovertemplate="""%{label}
Files: %{value}