Ask Your Question
2

Choose figsize for 3D plots

asked 2022-03-21 19:39:14 +0100

gpires gravatar image

updated 2022-03-21 20:31:50 +0100

slelievre gravatar image

Apparently the option figsize does not work in 3D.

sage: var('x, y')
sage: W = plot3d(x^2 + y^2, (x, -2, 2), (y, -2, 2))
sage: show(W, figsize=6)

Any suggestions?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-03-24 16:40:50 +0100

cav_rt gravatar image

The output size in jupyter notebook can be changed using this workaround.

edit flag offensive delete link more

Comments

It looks like this workaround does not work in a sagecell.

gpires gravatar imagegpires ( 2022-03-26 21:44:40 +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: 2022-03-21 19:39:14 +0100

Seen: 254 times

Last updated: Mar 24 '22