How to change box plot code to Area Plot?

Below is my code for boxplot and it works. But I want to change it to area plot and couldn’t work. Could anyone can help me how to put the date to fit for area Plot? Thank
"

rc("font", family="serif",size=12)
x_ticks=["Neutral"," "," "," "," "," "," "," "," "," ", "High"]
l_ticks=[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]
X_label="Risk aversion"
#*******************************************
figure()

boxplot(dropdims(sum(Pi_i_gen,dims=2),dims=2)',0, "")
boxplot(dropdims(sum(Pi_j_gen,dims=2),dims=2)',0, "")
ylabel("€");xlabel(X_label);xticks(l_ticks,x_ticks)
plot(l_ticks,sum(EPi_i_gen,dims=2),color="black", label= "Profit conventional");
plot(l_ticks,sum(EPi_j_gen,dims=2),color="green", label= "Profit RES");

legend()
ticklabel_format(style="sci", axis="y", scilimits=(0,0))
savefig("Compttitve_profit_gen_CVaR.pdf", bbox_inches="tight")```