rewrite example as doctest
Merge pull request #1146 from jkettleb/cube_doc

small correction to documentation in iris.cube