code: def _finalize_ticks(self, axis, element, xticks, yticks, zticks):
          
          yalignments = None
          if xticks is not None:
              ticks, labels, yalignments = zip(*sorted(xticks, key=lambda x: x[0]))
              xticks = (list(ticks), list(labels))
          super(BarPlot, self)._finalize_ticks(axis, element, xticks, yticks, zticks)
          if yalignments:
              for t, y in zip(axis.get_xticklabels(), yalignments):
                  t.set_y(y)
docs: Apply ticks with appropriate offsets.