Skip to content

Commit

Permalink
No public description
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 574171649
Change-Id: I44e4657e4cbaa9a76b05d9c9c1fdd47345ecb190
  • Loading branch information
cahlheim authored and Copybara-Service committed Oct 17, 2023
1 parent f23b092 commit 8152c43
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lightweight_mmm/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -868,9 +868,12 @@ def plot_bars_media_metrics(
y=metric.mean(axis=0),
yerr=quantile_bounds,
fmt="none",
c="black")
c="black",
)
ax.set_xticks(range(len(channel_names)))
ax.set_xticklabels(channel_names, rotation=45)
ax.set_xticklabels(
channel_names, rotation=60, ha="right", rotation_mode="anchor"
)
fig.suptitle(
f"Estimated media channel {metric_name}. \n Error bars show "
f"{np.round(lower_quantile, 2)} - {np.round(upper_quantile, 2)} "
Expand Down

0 comments on commit 8152c43

Please sign in to comment.