Adapting axis ticks offsets