Pindahkan X-Ticks ke tengah setiap nampan

ticks = [(patch._x0 + patch._x1)/2 for patch in patches]
Chunxiao Wang