Ask Your Question
0

Multiple tables in Notebook's output?

asked 2017-02-04 05:33:32 -0600

Eugene gravatar image

Hi!

Trying to print more than one table in the output of Sage's Notebook cell, with fancy-printing:

table([[0]])
table([[1]])

but only the last one is shown (checked in Firefox and Chrome in Linux). Currently found workaround is:

html.table([[0]])
html.table([[1]])

but it gives a deprecation warning, or:

html(table([[0]])._html_() + table([[0]])._html_())

which seems to work fine.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-02-04 10:17:48 -0600

kcrisman gravatar image

The output of table is just that, a table. There used to be a default show but it isn't for this new command. Try show(table([[0]])) and show(table([[1]])) and see what happens.

edit flag offensive delete link more

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: 2017-02-04 05:33:32 -0600

Seen: 27 times

Last updated: Feb 04