[Python] TypeError: line() got an unexpected keyword argument 'markers'

Discussão em 'Python' iniciado por Stack, Fevereiro 20, 2025.

  1. Stack

    Stack Membro Participativo

    I'm trying to use "markers" for the line function with plotly 5.4.0

    import plotly.express as px

    df_temp = df_temp[df_temp.date_str.isin(selected_dates)]
    fig = px.line(df_temp, x='trialID', y='reaction_time', color='date_str', markers=True,
    title=f'Graph2. Intervention status: {status}')


    i get the error:

    TypeError: line() got an unexpected keyword argument 'markers'


    i read that it's about an update but i don't think it's that. does anyone know what it could be?

    Continue reading...

Compartilhe esta Página