Update examples with new python style guide API

Address issue #80

Update examples with new API from python style guide. Warning outputs need to
be handled before suppressed before documentation can be updated.