<div id="comment:0"></div> In #28850 we added an error message when taking the polar of non-polar polytopes. We also added a keyword `in_affine_span`, which restricts the polar construction to the affine span of the polytope. As this is likely the output a user wants, we improve the error message. We also mark a doctest a long time. CC: @jplab @LaisRast Component: **geometry** Keywords: **polytopes, polar** Author: **Jonathan Kliem** Branch/Commit: **[`47a846e`](https://github.com/sagemath/sagetrac-mirror/commit/47a846e13adfe7872b5ab1299748507f9475bb00)** Reviewer: **Jean-Philippe Labbé** _Issue created by migration from https://trac.sagemath.org/ticket/29074_