Przenieś X-tyłki na środek każdego kosza
ticks = [(patch._x0 + patch._x1)/2 for patch in patches]
Chunxiao Wang
ticks = [(patch._x0 + patch._x1)/2 for patch in patches]