You have to call display(fig) or no window will open. That doesn’t happen just because you create a Figure
display(fig)
Figure