Update matplotlib context manager example

try...finally should be used to catch any exception that happens in the
with block.
Correct typo in site footer