Better to use show rather than savefig in the examples.