def get_xaxis_transform(self, which='grid'):
    assert (which in ['tick1', 'tick2', 'grid'])
    return self._xaxis_transform
def get_xaxis_transform(self, which='grid'):
    assert (which in ['tick1', 'tick2', 'grid'])
    return self._xaxis_transform