I am using plotly express to plot figures this way :
fig = px.line(df,
x=df.index,
y=df.columns
)
It displays the graph properly and shows all the columns by default (as lines in the graph) with option to uncheck (or check) them to disable showing whatever we want if needed. What I would like is to show the same graph but by default uncheking some of the columns initially and keep the option to check or uncheck them for visualization. This means that I cannot take only a subset of columns as new data frame to show as the other columns are still relevant. Did not find anything in the documentation unfortunately...
Thank you in advance.