How to label layouts in interact?

asked 2021-10-01 19:17:04 +0200

jaqatra gravatar image

updated 2021-10-02 00:21:32 +0200

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']]))
edit retag flag offensive close merge delete