6.2.6 Tables
There are two methods to create a table in Plotly. One is plotly.graph_objects, the other is plotly.figure_factory
Graph Objects
1. Basic Table
import plotly.graph_objects as go
fig = go.Figure(data=[go.Table(header=dict(values=['Jonas', 'Melo']),
cells=dict(values=[[100, 90, 80, 85], [90, 85, 88, 65]]))
])
fig.show()
2. Customized Table

Figure Factory
3. Basic Table

4. Table with LaTeX

5. Customized Table


Last updated
Was this helpful?