Plotly`s Table error

Hello!
I noticed some trouble with table:
wnen Im trying to show table, table shows cells with only one word, for example “City” or “Country”,
but if i have a cell with two or more words, for example, “Player`s name”, i cant see it.

image

Is it possible to see all data?

Hey @Luidgi

Perhaps you’re not entering the cell values correctly? The below code seems to display all cells for me (example based on this one).

import plotly.plotly as py
import plotly.graph_objs as go

trace0 = go.Table(
  type = 'table',
  columnorder = [1,2],
  columnwidth = [80,400],
  header = dict(
    values = [['<b>Row<b>'],
             ['<b>DESCRIPTION</b>']],
    line = dict(color = '#506784'),
    fill = dict(color = '#119DFF'),
    align = ['left','center'],
    font = dict(color = 'white', size = 12),
    height = 40
  ),
  cells = dict(
    values = [["a","b","c"],["Word","Multiple Words","Many Many Words"]],
    line = dict(color = '#506784'),
    fill = dict(color = ['#25FEFD', 'white']),
    align = ['left', 'center'],
    font = dict(color = '#506784', size = 12),
    height = 30
    ))

data = [trace0]

py.iplot(data)
1 Like

Hm, its working in Jupyther, but still dont work in browser.
I`ll try to find the problem.

Anyway, thanks!