You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Quantity.__format__ with unicode or console does not typeset the unit correctly #14398
As noted by @olebole in #14393, if one formats a Quantity with unicode or console format, the result is bad: the denominator gets put under the value. I think this was an oversight when @eerovaher introduced allowing __format__ to take format as an argument in #13050 -- although the underlying problem is likely that the formatters use line breaks which do not keep pieces together (see below).
Activity
mhvk commentedon Feb 17, 2023
Fixed by #14393, since now the default style is
inline=True, so that no fraction is used any more.