79468923

Date: 2025-02-26 08:03:08
Score: 1
Natty:
Report link

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()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Szymon Szyszkowski