Allow to set axes.grid.which in rcparams
add cleanup decorator
Merge pull request #2110 from Carreau/fix-rc-grid

Fix rc grid parameter inconsistency