How to change layout of legend2 with fig.update_layout()?
import plotly.express as px
import pandas as pd
numbers = pd.DataFrame([[1,2,3,4], [2,3,4,5], [5,7,8,8]])
asdf = px.line(numbers)
asdf = asdf.add_scatter(
x=[4,3],
y=[1,2],
legend="legend2"
)
asdf = asdf.update_layout(
legend_font=dict(size=20),
legend2_font=dict(size=20),
)
asdf