Skip to content

Instantly share code, notes, and snippets.

@kervel
Created April 2, 2020 14:51
Show Gist options
  • Save kervel/858ff0bacfa0e225e881277fd7e5e8ae to your computer and use it in GitHub Desktop.
Save kervel/858ff0bacfa0e225e881277fd7e5e8ae to your computer and use it in GitHub Desktop.
def make_boxes():
vbox1 = widgets.VBox([widgets.Label('Left'), b1, b2])
vbox2 = widgets.VBox([widgets.Label('Right'), dropdown, radiobuttons])
return vbox1, vbox2
vbox1, vbox2 = make_boxes()
widgets.HBox([vbox1, vbox2])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment