...available after a plt.hist · Issue #18890 · matplotlib/...
The labels returned by plt.xitcks() are a bunch of Text(0, 0, ''), and their number is not the same as the number of ticks seen on the plot. Note that I know that I can modifiy the xticks labels with matplotlib.