Black Lives Matter. Please consider donating to Black Girls Code today.

Maximized window for 3D plot

Whatever way I try to plot a 3D plot the plot always comes as small. Sure I can zoom it but I want to show the initial plot large, filling the window. How do I do that?

Setting layout.width: window.innerWidth and layout.height = window.innerHeight should do the trick.

1 Like