MAINT: Remove use of deprecated from examples and docs.

Committed this fast on the run, so I need to check it again before merging.