ENH: function to offset spines

I updated the docs and added some unit tests.

Closes #123