API: Add return_type kwarg to boxplot

update docs
DOC: Use shared docstring
TST: restore matplotlib defaults before testing