CLN: Simplify boxplot and modify its test
Merge pull request #7351 from sinhrks/boxcln

CLN: Simplify boxplot and tests