sagemath / sage

Main repository of SageMath
https://www.sagemath.org
Other
1.44k stars 481 forks source link

ascii_art doesn't support generic functions #23315

Open kcrisman opened 7 years ago

kcrisman commented 7 years ago
%display ascii_art
f=function('f'); f(x)^2

doesn't look right. See this ask.sagemath question.

Component: user interface

Issue created by migration from https://trac.sagemath.org/ticket/23315

kcrisman commented 7 years ago

Description changed:

--- 
+++ 
@@ -1,11 +1,6 @@
-
-```
-f=function('f'); f(x)^2
-```
-then 

%display ascii_art -f +f=function('f'); f(x)^2

-doesn't look good, apparently.  See [this ask.sagemath question](https://stackoverflow.com/questions/44681371/pretty-printing-with-sagemath-command-line/).
+doesn't look right.  See [this ask.sagemath question](https://stackoverflow.com/questions/44681371/pretty-printing-with-sagemath-command-line/).