API docs gardening
Fix formatting in docstring
Merge pull request #7025 from takluyver/master

API docs gardening