forked from plotly/plotly.py
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_header.py
More file actions
65 lines (62 loc) · 2.48 KB
/
Copy path_header.py
File metadata and controls
65 lines (62 loc) · 2.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
import _plotly_utils.basevalidators
class HeaderValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(self, plotly_name='header', parent_name='table', **kwargs):
super(HeaderValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
data_class_str=kwargs.pop('data_class_str', 'Header'),
data_docs=kwargs.pop(
'data_docs', """
align
Sets the horizontal alignment of the `text`
within the box. Has an effect only if `text`
spans more 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.
alignsrc
Sets the source reference on plot.ly for align
.
fill
plotly.graph_objs.table.header.Fill instance or
dict with compatible properties
font
plotly.graph_objs.table.header.Font instance or
dict with compatible properties
format
Sets the cell value formatting rule using d3
formatting mini-language which is similar to
those of Python. See https://github.com/d3/d3-f
ormat/blob/master/README.md#locale_format
formatsrc
Sets the source reference on plot.ly for
format .
height
The height of cells.
line
plotly.graph_objs.table.header.Line instance or
dict with compatible properties
prefix
Prefix for cell values.
prefixsrc
Sets the source reference on plot.ly for
prefix .
suffix
Suffix for cell values.
suffixsrc
Sets the source reference on plot.ly for
suffix .
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.
valuessrc
Sets the source reference on plot.ly for
values .
"""
),
**kwargs
)