Cherry-picked changes from old contouring_weights branch
Whitespace cleanup
Docstring update
Added full support for weights to density contouring.
Fixed arcsin warning. Grid extents no longer extent beyond expected bounds
Added basic tests for density gridding
Moved pyplot import inside subplots to avoid automatic import of pyplot
Fix density gridding tests
Fixed schmidt contouring to precisely follow definition