How to plot multiple lines on the same y-axis using Plotly Express in Python
Short answer: fig = px.line(df, x=’Date’, y=df.columns[1:-6]) Where df.columns are the column names of the columns returned as a list, or a subset of the columns using, for example, df.columns[1:-6] The details Your code works fine But if you specifically do not want to apply the (somewhat laborious) add_trace() function to each line, you can … Read more