Figure of dcc.Graph is created in the following way:
go.Scatter(x=df[‘Date’], y=df[col[‘id’]], name=‘Column name’),
How do I create a dataframe back from the figure object passed in the callback function as an Input?
Tha dataframe has the following format
Date | Column name
I would like to
- Create a dataframe from figure
- Modify/append the dataframe
- Return new figure
I will appreciate your help.