How to label layouts in interact?

asked 3 years ago

jaqatra gravatar image

updated 3 years ago

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']]))
Preview: (hide)