in trend_getter/holidays.py [0:0]
def plot_countries(self):
for country, df in self.dau_dfs.items():
plot(
df,
[
Line("dau", "#ff9900", "DAU"),
Line("expected", "black", "Detrended DAU", opacity=0.5),
],
f"Holiday Detrended DAU ({country})",
"DAU",
)
plot(
df,
[
Line("dau_28ma", "#ff9900", "DAU 28MA"),
Line("edau_28ma", "black", "Detrended DAU 28MA", opacity=0.5),
],
f"Holiday Detrended DAU 28MA ({country})",
"DAU 28MA",
)
plot(
df,
[
Line("dau_yoy", "#ff9900", "DAU YoY"),
Line("edau_yoy", "black", "Detrended DAU YoY", opacity=0.5),
],
f"Holiday Detrended DAU YoY ({country})",
"DAU YoY",
)