Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to label layouts in interact?

I have a function where input is two spheres. I want to label or title the left layout as FirstSphere and right layout as SecondSphere so people know which is which. Here is what I have now - @interact(layout=dict(top=[['w']],left=[['rOne'],['firstTheta'],['firstPhi]],right=[['rTwo','secondTheta','secondPhi']]))

How to label layouts in interact?

I have a function where input is two spheres. I want to label or title the left layout as FirstSphere and right layout as SecondSphere so people know which is which. Here is what I have now - @interact(layout=dict(top=[['w']],left=[['rOne'],['firstTheta'],['firstPhi]],right=[['rTwo','secondTheta','secondPhi']]))@interact(layout=dict(left=[['rOne'],['firstTheta'],['firstPhi]],right=[['rTwo','secondTheta','secondPhi']]))

How to label layouts in interact?

I have a function where input is two spheres. I want to label or title the left layout as FirstSphere and right layout as SecondSphere so people know which is which. Here is what I have now - @interact(layout=dict(left=[['rOne'],['firstTheta'],['firstPhi]],right=[['rTwo','secondTheta','secondPhi']]))-

 @interact(layout=dict(left=[['rOne'],['firstTheta'],['firstPhi]],right=[['rTwo','secondTheta','secondPhi']]))