The class method in the title is expecting a dictionary with values of type list, and this is not documented, nor it is intuitive.
plt.bar(range(3), [1, 3, 2], tick_label=['very long tick labels'] * 3) plt.tick_params(rotation=30) The rotated labels do not "point" to the ticks anymore, which can make it difficult to see which ...