The vert
paramter to boxplot is deprecated since matplotlib 3.11. The new way to change the orientation of a boxplot is to use the orientation='horizontal'
- see docs
import matplotlib.pyplot as plt
a = [10,20,30,40,50,60]
plt.boxplot(a,orientation="horizontal")
plt.show()