How to Plot horizontal bar plot in seaborn?

how do we draw a horizontal bar plot using seaborn.

A simple example:

import seaborn as sns

x=[1,2,3]

y=[10,30,50]

sns.barplot(x=x,y=y,orient = “h”) # orient default is “v”