Which of the following parameter is used to set to draw bars of histogram horizontally? code example

Example 1: plt normalized histogram

plt.hist(data, density=True)

Example 2: python matpotlib histplot

import matplotlib.pyplot as plt
plt.hist(x) #x is a array of numbers
plt.show()

Example 3: plt.hist bins

matplotlib.pyplot.hist(x, bins=None, range=None, density=False, weights=None, cumulative=False, bottom=None, histtype='bar', align='mid', orientation='vertical', rwidth=None, log=False, color=None, label=None, stacked=False, *, data=None, **kwargs)