First time here? Check out the FAQ!

Ask Your Question
1

Unicode art as the default printing

asked 4 years ago

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).

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
4

answered 4 years ago

FrédéricC gravatar image

updated 4 years ago

The magic command is

%display unicode_art

and

%display plain

to come back.

Preview: (hide)
link

Comments

... or %display default to come back

Juanjo gravatar imageJuanjo ( 4 years ago )

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: 4 years ago

Seen: 1,751 times

Last updated: Apr 22 '20