update numpydoc output, and fix the example