DOC: suppress warning + fix reshape example
Merge pull request #8034 from jorisvandenbossche/doc-fixes4

DOC: suppress warning + fix reshape example