Shift around docstrings in certain examples

Fixes#2038 . This PR is regarding the issue "Shift around docstrings in certain examples"