Plotly pane not resizing verticaly when in a FloatPanel layout


Anyone knows how to make a plotly pane vertically resizable when imbedded in a FloatPanel ?
Here is a sample code that does not work for me (when run from CLI).

import panel as pn
import pandas as pd
import numpy as np
import as px

fig = px.line(pd.DataFrame(np.random.randn(50,3), columns=list('abc')))
fig.layout.autosize = True
plot = pn.pane.Plotly(fig)
floatpanel = pn.layout.FloatPanel(plot)


Thank you very much