1from ipywidgets import widgets, Layout
2from IPython.display import display
3
4checkbox = widgets.Checkbox(value=False, disabled=False, layout=Layout(width='300px')) #just vary the Layout attribute according to your liking
5box = widgets.HBox([checkbox, label])
6display(box)
7