import matplotlib.pyplot as plt
from cycler import cycler
import pandas as pd
df = pd.read_csv("data.tsv", index_col=0 , sep = "\t").T
fig, ax = plt.subplots(figsize=(12, 5))
plt.rcParams'font.family' = 'sans-serif'
plt.rcParams'font.sans-serif' = 'Noto Sans'
plt.subplots_adjust(left=0.05, bottom=0.08, right=0.96, top=0.91)
ax.set_prop_cycle( plt.rcParams'axes.prop_cycle' )
ax.plot(df)
ax.fill_between( df.index ,0, df"Japan".values, color="lightblue", alpha=0.5)
ax.set_axisbelow(True)
ax.legend(df.columns, fontsize=12, ncol=8, loc='upper right', frameon=True, facecolor="#dddddd")
plt.title("Growth rates of Real GDP in Japan (OECD National Accounts)", fontsize=16)
plt.tick_params(labelsize=9, pad=4)
plt.ylabel("Annual growth rate (%)", fontsize=12)
plt.xticks(df.index, rotation=60, fontsize=7)
plt.yticks(fontsize=11)
plt.ylim([-5,12])
plt.margins(0.02)
plt.minorticks_on()
plt.grid(which='major',color='#999999',linestyle='-', axis="y")
plt.grid(which='minor',color='#eeeeee',linestyle='-', axis="y")
plt.savefig("image.svg")