Problem plotting table in Dash, it appears as a graph!

Hi and thanks for the Help!

I have a live stream of sensor data and each packet has 20 columns.

I want to push the data from python script to dash at a certain refresh rate.

I am trying to add elements to one side of the table queue so that it appears like a live stream of data.

I couldn’t figure out a way to just print 40 lines of stings on dash anyways, please have a look at the code I currently have.

import dash_core_components as dcc
import dash_html_components as html
import plotly.graph_objs as go
import dash
import sys

from dash.dependencies import Output, Input

from collections import deque

import dash_table_experiments as dtable
import dash_table

app = dash.Dash()

app.layout = html.Div([

dcc.Interval(id='graph-update', interval=1*500),
dcc.Graph(id='visitors1',figure = go.Figure(data = trace1))

])

@app.callback(Output(‘visitors1’, ‘figure’), [Input(‘graph-update’, ‘n_intervals’)])
def cope_some(n):
trace1=[go.Table(type = ‘table’,
columnorder = [1,2,3],
columnwidth=[10,30,5],
header=dict(values=[‘A Scores’, ‘B Scores’, ‘C Scores’]),
cells=dict(values=[[100, 90, 80, 90],[95, 85, 75, 95],[95, 85, 75, 95]]))]
layout = go.Layout(title=f"Entry Draft", height=600)

return {'data': [trace1],"layout": layout}

app.run_server(debug=False, port=8050)