fix doc typos
TST: restore matplotlib defaults before testing