In [14]:
from ipyaladin import Aladin
from ipywidgets import Layout, Box, widgets
a = Aladin(layout=Layout(width='33.33%'), target='M 81', fov=0.3)
b = Aladin(layout=Layout(width='33.33%'), survey='P/DSS2/red')
c = Aladin(layout=Layout(width='33.33%'), survey='P/2MASS/color')
# synchronize target between 3 widgets
widgets.jslink((a, 'target'), (b, 'target'))
widgets.jslink((b, 'target'), (c, 'target'))
# synchronize FoV (zoom level) between 3 widgets
widgets.jslink((a, 'fov'), (b, 'fov'))
widgets.jslink((b, 'fov'), (c, 'fov'))
items = [a, b, c]
box_layout = Layout(display='flex',
flex_flow='row',
align_items='stretch',
border='solid',
width='100%')
box = Box(children=items, layout=box_layout)
box