Hello
I am creating my first Plotly FigureWidget but have some troubles getting the legends of its subplots correctly positioned.
The legends get all listed up on the right side of the FigureWidget (see below).
What I would like is that the legends appear on the respective subplots or just next to them.
The structure of my code is as follows:
β¦
subplots = make_subplots(rows=4, cols=5, specs=β¦)
f = go.FigureWidget(subplots)
β¦
fig1_Pp = go.Scatter(β¦)
f.add_trace(fig1_Pp, β¦)
β¦
vb = HBox([slider, f])
display(vb)
I tried the a method using βlegendgroupsβ explained here but it didnβt work. I am not quite sure why.
Thanks for your help in advance,
Martin