this easy example from matplotlib throws the mentioned error:
https://matplotlib.org/stable/gallery/lines_bars_and_markers/barchart.html
I also cannot find any typo according to the documentation of set_xticks():
https://matplotlib.org/stable/api/_as_gen/matplotlib.axes.Axes.set_xticks.html
Can anyone provide clearification and some help, please?
Kind regards, Daniel