How to handle syntax errors in @app.callback

Hello, I’m finishing an assingment of the IBM Data Analyst Course and i’m getting an error on the #app.calback an I can’t understand what is wrong.

The code is this:

The error is this:

However, the error message says the error is in the line 129, that is this:

Can you help me please?

Thank you,
Liliana Silva

Hi @lilianafrsilva welcome to the Dash community!
I see that you are missing a comma after State("plot4", "children") in the first image.

Yes, thank you very much!

1 Like