Skip to content
This repository was archived by the owner on Jan 19, 2026. It is now read-only.

Commit 8152c43

Browse files
cahlheimcopybara-github
authored andcommitted
No public description
PiperOrigin-RevId: 574171649 Change-Id: I44e4657e4cbaa9a76b05d9c9c1fdd47345ecb190
1 parent f23b092 commit 8152c43

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

lightweight_mmm/plot.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -868,9 +868,12 @@ def plot_bars_media_metrics(
868868
y=metric.mean(axis=0),
869869
yerr=quantile_bounds,
870870
fmt="none",
871-
c="black")
871+
c="black",
872+
)
872873
ax.set_xticks(range(len(channel_names)))
873-
ax.set_xticklabels(channel_names, rotation=45)
874+
ax.set_xticklabels(
875+
channel_names, rotation=60, ha="right", rotation_mode="anchor"
876+
)
874877
fig.suptitle(
875878
f"Estimated media channel {metric_name}. \n Error bars show "
876879
f"{np.round(lower_quantile, 2)} - {np.round(upper_quantile, 2)} "

0 commit comments

Comments
 (0)