Black Lives Matter. Please consider donating to Black Girls Code today.

Callback error info

Hello Everyone,

I have been checking the following link:
https://dash.plot.ly/datatable/editable

to have graph changing simultaneously as I do so for the respective table.

The problem I am facing is, I already have a callback for thr figure and even if I add another ‘Input’ to the same with the properties of ‘data’. I get an error when I run the script.

Callback:
@app.callback(
Output(‘Data-points’, ‘figure’),
[Input(‘Points’, ‘value’),
Input(‘pointTable’, ‘data’)])

Error:

Any help would be greatly appreciated.

Regards,
Swapnil.

Hi @swap700 it’s hard to help out with the error message being blanked out… :-). Please post the error message here (you can blank file paths if you wish) and also the code of you callback.

Hello Emmanuelle,

Apologies but thank you for getting back to me to the earliest. I did not have time to get back to the project but thanks to Friday :slight_smile: I could just work on it in the morning.

However, I did figure out how to bind the additional argument to the Input property value and it seems to be working fine now.

Thank you once again for your time, have a great weekend.