Ask Your Question
1

Unicode art as the default printing

asked 2020-04-21 20:50:21 -0500

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 01:48:55 -0500

FrédéricC gravatar image

updated 2020-04-22 01:49:13 -0500

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-22 18:29:48 -0500 )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-21 20:50:21 -0500

Seen: 48 times

Last updated: Apr 21