Ask Your Question

pretty_print in interact labels

asked 2018-01-25 23:31:39 +0200

Boston gravatar image

I have written the following interact.

How cant I get the labels right? For instance, I'd rather have $N_0$ rather than N0.

Can I achieve this with pretty_print?

edit retag flag offensive close merge delete


It looks fine for me. I see the 0 in indices as expected. Did you install mathjax properly?

vdelecroix gravatar imagevdelecroix ( 2018-01-25 23:59:07 +0200 )edit

One was hidden left to the input box.

tmonteil gravatar imagetmonteil ( 2018-01-26 17:37:22 +0200 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-01-26 17:36:54 +0200

tmonteil gravatar image

The only place where the N0 is not wtitten properly is on the input box. You ca fix it by replacing



N0=input_box(default=1, label='$N_0$')

See this modified interact

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


Asked: 2018-01-25 23:31:39 +0200

Seen: 296 times

Last updated: Jan 26 '18