Ask Your Question
1

Unicode art as the default printing

asked 2020-04-22 03:50:21 +0100

tomcho gravatar image

I installed Sagemath versio 9.0 using conda and and I'm trying to improve the display style. Right now the display style is something like:

sage: x^2
x^2

In a previous computer I used to get pretty printing by default in Sage. I can reproduce the behavior using unicode_art:

sage: unicode_art(z^2)
 2
z

But I'd like this to be the default behavior. I know this must be simple but I cannot find that on the docs (probably because I'm searching using the wrong terms or something).

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
4

answered 2020-04-22 08:48:55 +0100

FrédéricC gravatar image

updated 2020-04-22 08:49:13 +0100

The magic command is

%display unicode_art

and

%display plain

to come back.

edit flag offensive delete link more

Comments

... or %display default to come back

Juanjo gravatar imageJuanjo ( 2020-04-23 01:29:48 +0100 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2020-04-22 03:50:21 +0100

Seen: 1,741 times

Last updated: Apr 22 '20