Start building

plotly.graph_objs.table Module

Functions

plotly.graph_objs.table.Cells([align=], [fill=], [font=], [format=], [height=], [line=], [prefix=], [suffix=], [values=]) → Cells

Create a new ‘Cells’ object

  • align - Sets the horizontal alignment of the `text` within the box. Has an effect only if `text` spans two or more lines (i.e. `text` contains one or more <br> HTML tags) or if an explicit width is set to override the text width.

  • format - Sets the cell value formatting rule using d3 formatting mini-languages which are very similar to those in Python. For numbers, see: https://github.com/d3/d3-format/tree/v1.4.5#d3-format.

  • height - The height of cells.

  • prefix - Prefix for cell values.

  • suffix - Suffix for cell values.

  • values - Cell values. `values[m][n]` represents the value of the `n`th point in column `m`, therefore the `values[m]` vector length for all columns must be the same (longer vectors will be truncated). Each value must be a finite number or a string.


plotly.graph_objs.table.Domain([column=], [row=], [x=], [y=]) → Domain

Create a new ‘Domain’ object

  • column - If there is a layout grid, use the domain for this column in the grid for this table trace.

  • row - If there is a layout grid, use the domain for this row in the grid for this table trace.

  • x - Sets the horizontal domain of this table trace (in plot fraction).

  • y - Sets the vertical domain of this table trace (in plot fraction).


plotly.graph_objs.table.Header([align=], [fill=], [font=], [format=], [height=], [line=], [prefix=], [suffix=], [values=]) → Header

Create a new ‘Header’ object

  • align - Sets the horizontal alignment of the `text` within the box. Has an effect only if `text` spans two or more lines (i.e. `text` contains one or more <br> HTML tags) or if an explicit width is set to override the text width.

  • format - Sets the cell value formatting rule using d3 formatting mini-languages which are very similar to those in Python. For numbers, see: https://github.com/d3/d3-format/tree/v1.4.5#d3-format.

  • height - The height of cells.

  • prefix - Prefix for cell values.

  • suffix - Suffix for cell values.

  • values - Header cell values. `values[m][n]` represents the value of the `n`th point in column `m`, therefore the `values[m]` vector length for all columns must be the same (longer vectors will be truncated). Each value must be a finite number or a string.


plotly.graph_objs.table.Hoverlabel([align=], [bgcolor=], [bordercolor=], [font=], [namelength=], [showarrow=]) → Hoverlabel

Create a new ‘Hoverlabel’ object

  • align - Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines

  • bgcolor - Sets the background color of the hover labels for this trace

  • bordercolor - Sets the border color of the hover labels for this trace.

  • font - Sets the font used in hover labels.

  • namelength - Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis.

  • showarrow - Sets whether or not to show the hover label arrow/triangle pointing to the data point.


plotly.graph_objs.table.Legendgrouptitle([font=], [text=]) → Legendgrouptitle

Create a new ‘Legendgrouptitle’ object

  • font - Sets this legend group's title font.

  • text - Sets the title of the legend group.


Globals






Do you still have questions?

Our Community Forum is full of helpful information and Anvil experts.

plotly.graph_objs.table