How to put the legend outside of the plot area in Plots?

plotting

#1

In PyPlot, we can use bbox_to_anchor option. What is an equivalent in Plots?