Déplacez X-Ticks au milieu de chaque poubelle
ticks = [(patch._x0 + patch._x1)/2 for patch in patches]
Chunxiao Wang
ticks = [(patch._x0 + patch._x1)/2 for patch in patches]