Replaced save() by savefig() in example code.