Previously those classes were pretty printed using long Unicode symbols,
which worked erratically on different terminals. This commit uses more
standard characters.
Things are now printed like this:
```
{g∘f:A₁——▶C₁: ∅, id:A₁——▶A₁: ∅, id:B——▶B: ∅, id:C₁——▶C₁: ∅, f:A₁——▶B: ∅,
g:B——▶C₁: ∅}
══▶ {g∘f:A₁——▶C₁: {unique}}
```
Thanks to @asmeurer for the suggestion!
You can merge this Pull Request by running:
git pull https://github.com/scolobb/sympy long-unicode-arrows
Or you can view, comment on it, or merge it online at:
https://github.com/sympy/sympy/pull/1440
-- Commit Summary --
* Fix long arrows in Unicode pretty printing of category theoretic classes.
-- File Changes --
M sympy/printing/pretty/pretty.py (4)
M sympy/printing/pretty/tests/test_pretty.py (16)
-- Patch Links --
https://github.com/sympy/sympy/pull/1440.patch
https://github.com/sympy/sympy/pull/1440.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/sympy/sympy/pull/1440
--
You received this message because you are subscribed to the Google Groups
"sympy-patches" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sympy-patches?hl=en.