Yes, the wording in the docstring is imprecise - shape is more accurate than aspect ratio. As for the rest - where is the shape explicitly computed?