Search is not available for this dataset
identifier stringlengths 1 155 | parameters stringlengths 2 6.09k | docstring stringlengths 11 63.4k | docstring_summary stringlengths 0 63.4k | function stringlengths 29 99.8k | function_tokens list | start_point list | end_point list | language stringclasses 1
value | docstring_language stringlengths 2 7 | docstring_language_predictions stringlengths 18 23 | is_langid_reliable stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|---|---|---|
Tickformatstop.enabled | (self) |
Determines whether or not this stop is used. If `false`, this
stop is ignored even within its `dtickrange`.
The 'enabled' property must be specified as a bool
(either True, or False)
Returns
-------
bool
|
Determines whether or not this stop is used. If `false`, this
stop is ignored even within its `dtickrange`.
The 'enabled' property must be specified as a bool
(either True, or False) | def enabled(self):
"""
Determines whether or not this stop is used. If `false`, this
stop is ignored even within its `dtickrange`.
The 'enabled' property must be specified as a bool
(either True, or False)
Returns
-------
bool
"""
ret... | [
"def",
"enabled",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"enabled\"",
"]"
] | [
40,
4
] | [
52,
30
] | python | en | ['en', 'error', 'th'] | False |
Tickformatstop.name | (self) |
When used in a template, named items are created in the output
figure in addition to any items the figure already has in this
array. You can modify these items in the output figure by
making your own item with `templateitemname` matching this
`name` alongside your modifications ... |
When used in a template, named items are created in the output
figure in addition to any items the figure already has in this
array. You can modify these items in the output figure by
making your own item with `templateitemname` matching this
`name` alongside your modifications ... | def name(self):
"""
When used in a template, named items are created in the output
figure in addition to any items the figure already has in this
array. You can modify these items in the output figure by
making your own item with `templateitemname` matching this
`name` al... | [
"def",
"name",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"name\"",
"]"
] | [
61,
4
] | [
79,
27
] | python | en | ['en', 'error', 'th'] | False |
Tickformatstop.templateitemname | (self) |
Used to refer to a named item in this array in the template.
Named items from the template will be created even without a
matching item in the input figure, but you can modify one by
making an item with `templateitemname` matching its `name`,
alongside your modifications (includ... |
Used to refer to a named item in this array in the template.
Named items from the template will be created even without a
matching item in the input figure, but you can modify one by
making an item with `templateitemname` matching its `name`,
alongside your modifications (includ... | def templateitemname(self):
"""
Used to refer to a named item in this array in the template.
Named items from the template will be created even without a
matching item in the input figure, but you can modify one by
making an item with `templateitemname` matching its `name`,
... | [
"def",
"templateitemname",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"templateitemname\"",
"]"
] | [
88,
4
] | [
107,
39
] | python | en | ['en', 'error', 'th'] | False |
Tickformatstop.value | (self) |
string - dtickformat for described zoom level, the same as
"tickformat"
The 'value' property is a string and must be specified as:
- A string
- A number that will be converted to a string
Returns
-------
str
|
string - dtickformat for described zoom level, the same as
"tickformat"
The 'value' property is a string and must be specified as:
- A string
- A number that will be converted to a string | def value(self):
"""
string - dtickformat for described zoom level, the same as
"tickformat"
The 'value' property is a string and must be specified as:
- A string
- A number that will be converted to a string
Returns
-------
str
"... | [
"def",
"value",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"value\"",
"]"
] | [
116,
4
] | [
129,
28
] | python | en | ['en', 'error', 'th'] | False |
Tickformatstop.__init__ | (
self,
arg=None,
dtickrange=None,
enabled=None,
name=None,
templateitemname=None,
value=None,
**kwargs
) |
Construct a new Tickformatstop object
Parameters
----------
arg
dict of properties compatible with this constructor or
an instance of :class:`plotly.graph_objs.scatter.marker
.colorbar.Tickformatstop`
dtickrange
range [*mi... |
Construct a new Tickformatstop object
Parameters
----------
arg
dict of properties compatible with this constructor or
an instance of :class:`plotly.graph_objs.scatter.marker
.colorbar.Tickformatstop`
dtickrange
range [*mi... | def __init__(
self,
arg=None,
dtickrange=None,
enabled=None,
name=None,
templateitemname=None,
value=None,
**kwargs
):
"""
Construct a new Tickformatstop object
Parameters
----------
arg
dict... | [
"def",
"__init__",
"(",
"self",
",",
"arg",
"=",
"None",
",",
"dtickrange",
"=",
"None",
",",
"enabled",
"=",
"None",
",",
"name",
"=",
"None",
",",
"templateitemname",
"=",
"None",
",",
"value",
"=",
"None",
",",
"*",
"*",
"kwargs",
")",
":",
"sup... | [
172,
4
] | [
282,
34
] | python | en | ['en', 'error', 'th'] | False |
__init__ | (
self, data=None, layout=None, frames=None, skip_invalid=False, **kwargs
) |
Create a new :class:Figure instance
Parameters
----------
data
The 'data' property is a tuple of trace instances
that may be specified as:
- A list or tuple of trace instances
(e.g. [Scatter(...), Bar(...)])
- ... |
Create a new :class:Figure instance
Parameters
----------
data
The 'data' property is a tuple of trace instances
that may be specified as:
- A list or tuple of trace instances
(e.g. [Scatter(...), Bar(...)])
- ... | def __init__(
self, data=None, layout=None, frames=None, skip_invalid=False, **kwargs
):
"""
Create a new :class:Figure instance
Parameters
----------
data
The 'data' property is a tuple of trace instances
that may be specified as:
... | [
"def",
"__init__",
"(",
"self",
",",
"data",
"=",
"None",
",",
"layout",
"=",
"None",
",",
"frames",
"=",
"None",
",",
"skip_invalid",
"=",
"False",
",",
"*",
"*",
"kwargs",
")",
":",
"super",
"(",
"Figure",
",",
"self",
")",
".",
"__init__",
"(",
... | [
4,
4
] | [
583,
82
] | python | en | ['en', 'error', 'th'] | False |
add_area | (
self,
customdata=None,
customdatasrc=None,
hoverinfo=None,
hoverinfosrc=None,
hoverlabel=None,
ids=None,
idssrc=None,
legendgroup=None,
marker=None,
meta=None,
metasrc=None,
name=None,
opacity=None,
... |
Add a new Area trace
Parameters
----------
customdata
Assigns extra data each datum. This may be useful when
listening to hover, click and selection events. Note
that, "scatter" traces also appends customdata items in
the markers ... |
Add a new Area trace
Parameters
----------
customdata
Assigns extra data each datum. This may be useful when
listening to hover, click and selection events. Note
that, "scatter" traces also appends customdata items in
the markers ... | def add_area(
self,
customdata=None,
customdatasrc=None,
hoverinfo=None,
hoverinfosrc=None,
hoverlabel=None,
ids=None,
idssrc=None,
legendgroup=None,
marker=None,
meta=None,
metasrc=None,
name=None,
opacity=N... | [
"def",
"add_area",
"(",
"self",
",",
"customdata",
"=",
"None",
",",
"customdatasrc",
"=",
"None",
",",
"hoverinfo",
"=",
"None",
",",
"hoverinfosrc",
"=",
"None",
",",
"hoverlabel",
"=",
"None",
",",
"ids",
"=",
"None",
",",
"idssrc",
"=",
"None",
","... | [
585,
4
] | [
759,
58
] | python | en | ['en', 'error', 'th'] | False |
add_bar | (
self,
alignmentgroup=None,
base=None,
basesrc=None,
cliponaxis=None,
constraintext=None,
customdata=None,
customdatasrc=None,
dx=None,
dy=None,
error_x=None,
error_y=None,
hoverinfo=None,
hoverinfosrc=None,... |
Add a new Bar trace
The data visualized by the span of the bars is set in `y` if
`orientation` is set th "v" (the default) and the labels are
set in `x`. By setting `orientation` to "h", the roles are
interchanged.
Parameters
----------
alignmen... |
Add a new Bar trace
The data visualized by the span of the bars is set in `y` if
`orientation` is set th "v" (the default) and the labels are
set in `x`. By setting `orientation` to "h", the roles are
interchanged. | def add_bar(
self,
alignmentgroup=None,
base=None,
basesrc=None,
cliponaxis=None,
constraintext=None,
customdata=None,
customdatasrc=None,
dx=None,
dy=None,
error_x=None,
error_y=None,
hoverinfo=None,
hoverin... | [
"def",
"add_bar",
"(",
"self",
",",
"alignmentgroup",
"=",
"None",
",",
"base",
"=",
"None",
",",
"basesrc",
"=",
"None",
",",
"cliponaxis",
"=",
"None",
",",
"constraintext",
"=",
"None",
",",
"customdata",
"=",
"None",
",",
"customdatasrc",
"=",
"None"... | [
761,
4
] | [
1229,
83
] | python | en | ['en', 'error', 'th'] | False |
add_barpolar | (
self,
base=None,
basesrc=None,
customdata=None,
customdatasrc=None,
dr=None,
dtheta=None,
hoverinfo=None,
hoverinfosrc=None,
hoverlabel=None,
hovertemplate=None,
hovertemplatesrc=None,
hovertext=None,
hover... |
Add a new Barpolar trace
The data visualized by the radial span of the bars is set in
`r`
Parameters
----------
base
Sets where the bar base is drawn (in radial axis
units). In "stack" barmode, traces that set "base" will
be ... |
Add a new Barpolar trace
The data visualized by the radial span of the bars is set in
`r` | def add_barpolar(
self,
base=None,
basesrc=None,
customdata=None,
customdatasrc=None,
dr=None,
dtheta=None,
hoverinfo=None,
hoverinfosrc=None,
hoverlabel=None,
hovertemplate=None,
hovertemplatesrc=None,
hovertext=Non... | [
"def",
"add_barpolar",
"(",
"self",
",",
"base",
"=",
"None",
",",
"basesrc",
"=",
"None",
",",
"customdata",
"=",
"None",
",",
"customdatasrc",
"=",
"None",
",",
"dr",
"=",
"None",
",",
"dtheta",
"=",
"None",
",",
"hoverinfo",
"=",
"None",
",",
"hov... | [
1231,
4
] | [
1538,
58
] | python | en | ['en', 'error', 'th'] | False |
add_box | (
self,
alignmentgroup=None,
boxmean=None,
boxpoints=None,
customdata=None,
customdatasrc=None,
dx=None,
dy=None,
fillcolor=None,
hoverinfo=None,
hoverinfosrc=None,
hoverlabel=None,
hoveron=None,
hovertemplat... |
Add a new Box trace
Each box spans from quartile 1 (Q1) to quartile 3 (Q3). The
second quartile (Q2, i.e. the median) is marked by a line
inside the box. The fences grow outward from the boxes' edges,
by default they span +/- 1.5 times the interquartile range
(I... |
Add a new Box trace
Each box spans from quartile 1 (Q1) to quartile 3 (Q3). The
second quartile (Q2, i.e. the median) is marked by a line
inside the box. The fences grow outward from the boxes' edges,
by default they span +/- 1.5 times the interquartile range
(I... | def add_box(
self,
alignmentgroup=None,
boxmean=None,
boxpoints=None,
customdata=None,
customdatasrc=None,
dx=None,
dy=None,
fillcolor=None,
hoverinfo=None,
hoverinfosrc=None,
hoverlabel=None,
hoveron=None,
h... | [
"def",
"add_box",
"(",
"self",
",",
"alignmentgroup",
"=",
"None",
",",
"boxmean",
"=",
"None",
",",
"boxpoints",
"=",
"None",
",",
"customdata",
"=",
"None",
",",
"customdatasrc",
"=",
"None",
",",
"dx",
"=",
"None",
",",
"dy",
"=",
"None",
",",
"fi... | [
1540,
4
] | [
2085,
83
] | python | en | ['en', 'error', 'th'] | False |
Baxis.arraydtick | (self) |
The stride between grid lines along the axis
The 'arraydtick' property is a integer and may be specified as:
- An int (or float that will be cast to an int)
in the interval [1, 9223372036854775807]
Returns
-------
int
|
The stride between grid lines along the axis
The 'arraydtick' property is a integer and may be specified as:
- An int (or float that will be cast to an int)
in the interval [1, 9223372036854775807] | def arraydtick(self):
"""
The stride between grid lines along the axis
The 'arraydtick' property is a integer and may be specified as:
- An int (or float that will be cast to an int)
in the interval [1, 9223372036854775807]
Returns
-------
int
... | [
"def",
"arraydtick",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"arraydtick\"",
"]"
] | [
71,
4
] | [
83,
33
] | python | en | ['en', 'error', 'th'] | False |
Baxis.arraytick0 | (self) |
The starting index of grid lines along the axis
The 'arraytick0' property is a integer and may be specified as:
- An int (or float that will be cast to an int)
in the interval [0, 9223372036854775807]
Returns
-------
int
|
The starting index of grid lines along the axis
The 'arraytick0' property is a integer and may be specified as:
- An int (or float that will be cast to an int)
in the interval [0, 9223372036854775807] | def arraytick0(self):
"""
The starting index of grid lines along the axis
The 'arraytick0' property is a integer and may be specified as:
- An int (or float that will be cast to an int)
in the interval [0, 9223372036854775807]
Returns
-------
i... | [
"def",
"arraytick0",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"arraytick0\"",
"]"
] | [
92,
4
] | [
104,
33
] | python | en | ['en', 'error', 'th'] | False |
Baxis.autorange | (self) |
Determines whether or not the range of this axis is computed in
relation to the input data. See `rangemode` for more info. If
`range` is provided, then `autorange` is set to False.
The 'autorange' property is an enumeration that may be specified as:
- One of the following... |
Determines whether or not the range of this axis is computed in
relation to the input data. See `rangemode` for more info. If
`range` is provided, then `autorange` is set to False.
The 'autorange' property is an enumeration that may be specified as:
- One of the following... | def autorange(self):
"""
Determines whether or not the range of this axis is computed in
relation to the input data. See `rangemode` for more info. If
`range` is provided, then `autorange` is set to False.
The 'autorange' property is an enumeration that may be specified as:
... | [
"def",
"autorange",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"autorange\"",
"]"
] | [
113,
4
] | [
127,
32
] | python | en | ['en', 'error', 'th'] | False |
Baxis.categoryarray | (self) |
Sets the order in which categories on this axis appear. Only
has an effect if `categoryorder` is set to "array". Used with
`categoryorder`.
The 'categoryarray' property is an array that may be specified as a tuple,
list, numpy array, or pandas Series
Returns
... |
Sets the order in which categories on this axis appear. Only
has an effect if `categoryorder` is set to "array". Used with
`categoryorder`.
The 'categoryarray' property is an array that may be specified as a tuple,
list, numpy array, or pandas Series | def categoryarray(self):
"""
Sets the order in which categories on this axis appear. Only
has an effect if `categoryorder` is set to "array". Used with
`categoryorder`.
The 'categoryarray' property is an array that may be specified as a tuple,
list, numpy array, or p... | [
"def",
"categoryarray",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"categoryarray\"",
"]"
] | [
136,
4
] | [
149,
36
] | python | en | ['en', 'error', 'th'] | False |
Baxis.categoryarraysrc | (self) |
Sets the source reference on Chart Studio Cloud for
categoryarray .
The 'categoryarraysrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
|
Sets the source reference on Chart Studio Cloud for
categoryarray .
The 'categoryarraysrc' property must be specified as a string or
as a plotly.grid_objs.Column object | def categoryarraysrc(self):
"""
Sets the source reference on Chart Studio Cloud for
categoryarray .
The 'categoryarraysrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
"""
return se... | [
"def",
"categoryarraysrc",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"categoryarraysrc\"",
"]"
] | [
158,
4
] | [
170,
39
] | python | en | ['en', 'error', 'th'] | False |
Baxis.categoryorder | (self) |
Specifies the ordering logic for the case of categorical
variables. By default, plotly uses "trace", which specifies the
order that is present in the data supplied. Set `categoryorder`
to *category ascending* or *category descending* if order
should be determined by the alphanum... |
Specifies the ordering logic for the case of categorical
variables. By default, plotly uses "trace", which specifies the
order that is present in the data supplied. Set `categoryorder`
to *category ascending* or *category descending* if order
should be determined by the alphanum... | def categoryorder(self):
"""
Specifies the ordering logic for the case of categorical
variables. By default, plotly uses "trace", which specifies the
order that is present in the data supplied. Set `categoryorder`
to *category ascending* or *category descending* if order
... | [
"def",
"categoryorder",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"categoryorder\"",
"]"
] | [
179,
4
] | [
202,
36
] | python | en | ['en', 'error', 'th'] | False |
Baxis.cheatertype | (self) |
The 'cheatertype' property is an enumeration that may be specified as:
- One of the following enumeration values:
['index', 'value']
Returns
-------
Any
|
The 'cheatertype' property is an enumeration that may be specified as:
- One of the following enumeration values:
['index', 'value'] | def cheatertype(self):
"""
The 'cheatertype' property is an enumeration that may be specified as:
- One of the following enumeration values:
['index', 'value']
Returns
-------
Any
"""
return self["cheatertype"] | [
"def",
"cheatertype",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"cheatertype\"",
"]"
] | [
211,
4
] | [
221,
34
] | python | en | ['en', 'error', 'th'] | False |
Baxis.color | (self) |
Sets default for all colors associated with this axis all at
once: line, font, tick, and grid colors. Grid color is
lightened by blending this with the plot background Individual
pieces can override this.
The 'color' property is a color and may be specified as:
- ... |
Sets default for all colors associated with this axis all at
once: line, font, tick, and grid colors. Grid color is
lightened by blending this with the plot background Individual
pieces can override this.
The 'color' property is a color and may be specified as:
- ... | def color(self):
"""
Sets default for all colors associated with this axis all at
once: line, font, tick, and grid colors. Grid color is
lightened by blending this with the plot background Individual
pieces can override this.
The 'color' property is a color and may b... | [
"def",
"color",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"color\"",
"]"
] | [
230,
4
] | [
283,
28
] | python | en | ['en', 'error', 'th'] | False |
Baxis.dtick | (self) |
The stride between grid lines along the axis
The 'dtick' property is a number and may be specified as:
- An int or float in the interval [0, inf]
Returns
-------
int|float
|
The stride between grid lines along the axis
The 'dtick' property is a number and may be specified as:
- An int or float in the interval [0, inf] | def dtick(self):
"""
The stride between grid lines along the axis
The 'dtick' property is a number and may be specified as:
- An int or float in the interval [0, inf]
Returns
-------
int|float
"""
return self["dtick"] | [
"def",
"dtick",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"dtick\"",
"]"
] | [
292,
4
] | [
303,
28
] | python | en | ['en', 'error', 'th'] | False |
Baxis.endline | (self) |
Determines whether or not a line is drawn at along the final
value of this axis. If True, the end line is drawn on top of
the grid lines.
The 'endline' property must be specified as a bool
(either True, or False)
Returns
-------
bool
|
Determines whether or not a line is drawn at along the final
value of this axis. If True, the end line is drawn on top of
the grid lines.
The 'endline' property must be specified as a bool
(either True, or False) | def endline(self):
"""
Determines whether or not a line is drawn at along the final
value of this axis. If True, the end line is drawn on top of
the grid lines.
The 'endline' property must be specified as a bool
(either True, or False)
Returns
------... | [
"def",
"endline",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"endline\"",
"]"
] | [
312,
4
] | [
325,
30
] | python | en | ['en', 'error', 'th'] | False |
Baxis.endlinecolor | (self) |
Sets the line color of the end line.
The 'endlinecolor' property is a color and may be specified as:
- A hex string (e.g. '#ff0000')
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
- An hsv/hsva string (e.g. 'hsv(0,10... |
Sets the line color of the end line.
The 'endlinecolor' property is a color and may be specified as:
- A hex string (e.g. '#ff0000')
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
- An hsv/hsva string (e.g. 'hsv(0,10... | def endlinecolor(self):
"""
Sets the line color of the end line.
The 'endlinecolor' property is a color and may be specified as:
- A hex string (e.g. '#ff0000')
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
-... | [
"def",
"endlinecolor",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"endlinecolor\"",
"]"
] | [
334,
4
] | [
384,
35
] | python | en | ['en', 'error', 'th'] | False |
Baxis.endlinewidth | (self) |
Sets the width (in px) of the end line.
The 'endlinewidth' property is a number and may be specified as:
- An int or float
Returns
-------
int|float
|
Sets the width (in px) of the end line.
The 'endlinewidth' property is a number and may be specified as:
- An int or float | def endlinewidth(self):
"""
Sets the width (in px) of the end line.
The 'endlinewidth' property is a number and may be specified as:
- An int or float
Returns
-------
int|float
"""
return self["endlinewidth"] | [
"def",
"endlinewidth",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"endlinewidth\"",
"]"
] | [
393,
4
] | [
404,
35
] | python | en | ['en', 'error', 'th'] | False |
Baxis.exponentformat | (self) |
Determines a formatting rule for the tick exponents. For
example, consider the number 1,000,000,000. If "none", it
appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If
"power", 1x10^9 (with 9 in a super script). If "SI", 1G. If
"B", 1B.
The 'exponentformat' prop... |
Determines a formatting rule for the tick exponents. For
example, consider the number 1,000,000,000. If "none", it
appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If
"power", 1x10^9 (with 9 in a super script). If "SI", 1G. If
"B", 1B.
The 'exponentformat' prop... | def exponentformat(self):
"""
Determines a formatting rule for the tick exponents. For
example, consider the number 1,000,000,000. If "none", it
appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If
"power", 1x10^9 (with 9 in a super script). If "SI", 1G. If
"B", 1B.
... | [
"def",
"exponentformat",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"exponentformat\"",
"]"
] | [
413,
4
] | [
429,
37
] | python | en | ['en', 'error', 'th'] | False |
Baxis.fixedrange | (self) |
Determines whether or not this axis is zoom-able. If true, then
zoom is disabled.
The 'fixedrange' property must be specified as a bool
(either True, or False)
Returns
-------
bool
|
Determines whether or not this axis is zoom-able. If true, then
zoom is disabled.
The 'fixedrange' property must be specified as a bool
(either True, or False) | def fixedrange(self):
"""
Determines whether or not this axis is zoom-able. If true, then
zoom is disabled.
The 'fixedrange' property must be specified as a bool
(either True, or False)
Returns
-------
bool
"""
return self["fixedrange... | [
"def",
"fixedrange",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"fixedrange\"",
"]"
] | [
438,
4
] | [
450,
33
] | python | en | ['en', 'error', 'th'] | False |
Baxis.gridcolor | (self) |
Sets the axis line color.
The 'gridcolor' property is a color and may be specified as:
- A hex string (e.g. '#ff0000')
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
- An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
... |
Sets the axis line color.
The 'gridcolor' property is a color and may be specified as:
- A hex string (e.g. '#ff0000')
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
- An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
... | def gridcolor(self):
"""
Sets the axis line color.
The 'gridcolor' property is a color and may be specified as:
- A hex string (e.g. '#ff0000')
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
- An hsv/hsva stri... | [
"def",
"gridcolor",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"gridcolor\"",
"]"
] | [
459,
4
] | [
509,
32
] | python | en | ['en', 'error', 'th'] | False |
Baxis.gridwidth | (self) |
Sets the width (in px) of the axis line.
The 'gridwidth' property is a number and may be specified as:
- An int or float in the interval [0, inf]
Returns
-------
int|float
|
Sets the width (in px) of the axis line.
The 'gridwidth' property is a number and may be specified as:
- An int or float in the interval [0, inf] | def gridwidth(self):
"""
Sets the width (in px) of the axis line.
The 'gridwidth' property is a number and may be specified as:
- An int or float in the interval [0, inf]
Returns
-------
int|float
"""
return self["gridwidth"] | [
"def",
"gridwidth",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"gridwidth\"",
"]"
] | [
518,
4
] | [
529,
32
] | python | en | ['en', 'error', 'th'] | False |
Baxis.labelpadding | (self) |
Extra padding between label and the axis
The 'labelpadding' property is a integer and may be specified as:
- An int (or float that will be cast to an int)
Returns
-------
int
|
Extra padding between label and the axis
The 'labelpadding' property is a integer and may be specified as:
- An int (or float that will be cast to an int) | def labelpadding(self):
"""
Extra padding between label and the axis
The 'labelpadding' property is a integer and may be specified as:
- An int (or float that will be cast to an int)
Returns
-------
int
"""
return self["labelpadding"] | [
"def",
"labelpadding",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"labelpadding\"",
"]"
] | [
538,
4
] | [
549,
35
] | python | en | ['en', 'error', 'th'] | False |
Baxis.labelprefix | (self) |
Sets a axis label prefix.
The 'labelprefix' property is a string and must be specified as:
- A string
- A number that will be converted to a string
Returns
-------
str
|
Sets a axis label prefix.
The 'labelprefix' property is a string and must be specified as:
- A string
- A number that will be converted to a string | def labelprefix(self):
"""
Sets a axis label prefix.
The 'labelprefix' property is a string and must be specified as:
- A string
- A number that will be converted to a string
Returns
-------
str
"""
return self["labelprefix"] | [
"def",
"labelprefix",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"labelprefix\"",
"]"
] | [
558,
4
] | [
570,
34
] | python | en | ['en', 'error', 'th'] | False |
Baxis.labelsuffix | (self) |
Sets a axis label suffix.
The 'labelsuffix' property is a string and must be specified as:
- A string
- A number that will be converted to a string
Returns
-------
str
|
Sets a axis label suffix.
The 'labelsuffix' property is a string and must be specified as:
- A string
- A number that will be converted to a string | def labelsuffix(self):
"""
Sets a axis label suffix.
The 'labelsuffix' property is a string and must be specified as:
- A string
- A number that will be converted to a string
Returns
-------
str
"""
return self["labelsuffix"] | [
"def",
"labelsuffix",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"labelsuffix\"",
"]"
] | [
579,
4
] | [
591,
34
] | python | en | ['en', 'error', 'th'] | False |
Baxis.linecolor | (self) |
Sets the axis line color.
The 'linecolor' property is a color and may be specified as:
- A hex string (e.g. '#ff0000')
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
- An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
... |
Sets the axis line color.
The 'linecolor' property is a color and may be specified as:
- A hex string (e.g. '#ff0000')
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
- An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
... | def linecolor(self):
"""
Sets the axis line color.
The 'linecolor' property is a color and may be specified as:
- A hex string (e.g. '#ff0000')
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
- An hsv/hsva stri... | [
"def",
"linecolor",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"linecolor\"",
"]"
] | [
600,
4
] | [
650,
32
] | python | en | ['en', 'error', 'th'] | False |
Baxis.linewidth | (self) |
Sets the width (in px) of the axis line.
The 'linewidth' property is a number and may be specified as:
- An int or float in the interval [0, inf]
Returns
-------
int|float
|
Sets the width (in px) of the axis line.
The 'linewidth' property is a number and may be specified as:
- An int or float in the interval [0, inf] | def linewidth(self):
"""
Sets the width (in px) of the axis line.
The 'linewidth' property is a number and may be specified as:
- An int or float in the interval [0, inf]
Returns
-------
int|float
"""
return self["linewidth"] | [
"def",
"linewidth",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"linewidth\"",
"]"
] | [
659,
4
] | [
670,
32
] | python | en | ['en', 'error', 'th'] | False |
Baxis.minorgridcolor | (self) |
Sets the color of the grid lines.
The 'minorgridcolor' property is a color and may be specified as:
- A hex string (e.g. '#ff0000')
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
- An hsv/hsva string (e.g. 'hsv(0,100... |
Sets the color of the grid lines.
The 'minorgridcolor' property is a color and may be specified as:
- A hex string (e.g. '#ff0000')
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
- An hsv/hsva string (e.g. 'hsv(0,100... | def minorgridcolor(self):
"""
Sets the color of the grid lines.
The 'minorgridcolor' property is a color and may be specified as:
- A hex string (e.g. '#ff0000')
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
... | [
"def",
"minorgridcolor",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"minorgridcolor\"",
"]"
] | [
679,
4
] | [
729,
37
] | python | en | ['en', 'error', 'th'] | False |
Baxis.minorgridcount | (self) |
Sets the number of minor grid ticks per major grid tick
The 'minorgridcount' property is a integer and may be specified as:
- An int (or float that will be cast to an int)
in the interval [0, 9223372036854775807]
Returns
-------
int
|
Sets the number of minor grid ticks per major grid tick
The 'minorgridcount' property is a integer and may be specified as:
- An int (or float that will be cast to an int)
in the interval [0, 9223372036854775807] | def minorgridcount(self):
"""
Sets the number of minor grid ticks per major grid tick
The 'minorgridcount' property is a integer and may be specified as:
- An int (or float that will be cast to an int)
in the interval [0, 9223372036854775807]
Returns
-... | [
"def",
"minorgridcount",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"minorgridcount\"",
"]"
] | [
738,
4
] | [
750,
37
] | python | en | ['en', 'error', 'th'] | False |
Baxis.minorgridwidth | (self) |
Sets the width (in px) of the grid lines.
The 'minorgridwidth' property is a number and may be specified as:
- An int or float in the interval [0, inf]
Returns
-------
int|float
|
Sets the width (in px) of the grid lines.
The 'minorgridwidth' property is a number and may be specified as:
- An int or float in the interval [0, inf] | def minorgridwidth(self):
"""
Sets the width (in px) of the grid lines.
The 'minorgridwidth' property is a number and may be specified as:
- An int or float in the interval [0, inf]
Returns
-------
int|float
"""
return self["minorgridwidth"... | [
"def",
"minorgridwidth",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"minorgridwidth\"",
"]"
] | [
759,
4
] | [
770,
37
] | python | en | ['en', 'error', 'th'] | False |
Baxis.nticks | (self) |
Specifies the maximum number of ticks for the particular axis.
The actual number of ticks will be chosen automatically to be
less than or equal to `nticks`. Has an effect only if
`tickmode` is set to "auto".
The 'nticks' property is a integer and may be specified as:
... |
Specifies the maximum number of ticks for the particular axis.
The actual number of ticks will be chosen automatically to be
less than or equal to `nticks`. Has an effect only if
`tickmode` is set to "auto".
The 'nticks' property is a integer and may be specified as:
... | def nticks(self):
"""
Specifies the maximum number of ticks for the particular axis.
The actual number of ticks will be chosen automatically to be
less than or equal to `nticks`. Has an effect only if
`tickmode` is set to "auto".
The 'nticks' property is a integer an... | [
"def",
"nticks",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"nticks\"",
"]"
] | [
779,
4
] | [
794,
29
] | python | en | ['en', 'error', 'th'] | False |
Baxis.range | (self) |
Sets the range of this axis. If the axis `type` is "log", then
you must take the log of your desired range (e.g. to set the
range from 1 to 100, set the range from 0 to 2). If the axis
`type` is "date", it should be date strings, like date data,
though Date objects and unix mill... |
Sets the range of this axis. If the axis `type` is "log", then
you must take the log of your desired range (e.g. to set the
range from 1 to 100, set the range from 0 to 2). If the axis
`type` is "date", it should be date strings, like date data,
though Date objects and unix mill... | def range(self):
"""
Sets the range of this axis. If the axis `type` is "log", then
you must take the log of your desired range (e.g. to set the
range from 1 to 100, set the range from 0 to 2). If the axis
`type` is "date", it should be date strings, like date data,
thoug... | [
"def",
"range",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"range\"",
"]"
] | [
803,
4
] | [
824,
28
] | python | en | ['en', 'error', 'th'] | False |
Baxis.rangemode | (self) |
If "normal", the range is computed in relation to the extrema
of the input data. If *tozero*`, the range extends to 0,
regardless of the input data If "nonnegative", the range is
non-negative, regardless of the input data.
The 'rangemode' property is an enumeration that may... |
If "normal", the range is computed in relation to the extrema
of the input data. If *tozero*`, the range extends to 0,
regardless of the input data If "nonnegative", the range is
non-negative, regardless of the input data.
The 'rangemode' property is an enumeration that may... | def rangemode(self):
"""
If "normal", the range is computed in relation to the extrema
of the input data. If *tozero*`, the range extends to 0,
regardless of the input data If "nonnegative", the range is
non-negative, regardless of the input data.
The 'rangemode' pro... | [
"def",
"rangemode",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"rangemode\"",
"]"
] | [
833,
4
] | [
848,
32
] | python | en | ['en', 'error', 'th'] | False |
Baxis.separatethousands | (self) |
If "true", even 4-digit integers are separated
The 'separatethousands' property must be specified as a bool
(either True, or False)
Returns
-------
bool
|
If "true", even 4-digit integers are separated
The 'separatethousands' property must be specified as a bool
(either True, or False) | def separatethousands(self):
"""
If "true", even 4-digit integers are separated
The 'separatethousands' property must be specified as a bool
(either True, or False)
Returns
-------
bool
"""
return self["separatethousands"] | [
"def",
"separatethousands",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"separatethousands\"",
"]"
] | [
857,
4
] | [
868,
40
] | python | en | ['en', 'error', 'th'] | False |
Baxis.showexponent | (self) |
If "all", all exponents are shown besides their significands.
If "first", only the exponent of the first tick is shown. If
"last", only the exponent of the last tick is shown. If "none",
no exponents appear.
The 'showexponent' property is an enumeration that may be specifie... |
If "all", all exponents are shown besides their significands.
If "first", only the exponent of the first tick is shown. If
"last", only the exponent of the last tick is shown. If "none",
no exponents appear.
The 'showexponent' property is an enumeration that may be specifie... | def showexponent(self):
"""
If "all", all exponents are shown besides their significands.
If "first", only the exponent of the first tick is shown. If
"last", only the exponent of the last tick is shown. If "none",
no exponents appear.
The 'showexponent' property is ... | [
"def",
"showexponent",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"showexponent\"",
"]"
] | [
877,
4
] | [
892,
35
] | python | en | ['en', 'error', 'th'] | False |
Baxis.showgrid | (self) |
Determines whether or not grid lines are drawn. If True, the
grid lines are drawn at every tick mark.
The 'showgrid' property must be specified as a bool
(either True, or False)
Returns
-------
bool
|
Determines whether or not grid lines are drawn. If True, the
grid lines are drawn at every tick mark.
The 'showgrid' property must be specified as a bool
(either True, or False) | def showgrid(self):
"""
Determines whether or not grid lines are drawn. If True, the
grid lines are drawn at every tick mark.
The 'showgrid' property must be specified as a bool
(either True, or False)
Returns
-------
bool
"""
return ... | [
"def",
"showgrid",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"showgrid\"",
"]"
] | [
901,
4
] | [
913,
31
] | python | en | ['en', 'error', 'th'] | False |
Baxis.showline | (self) |
Determines whether or not a line bounding this axis is drawn.
The 'showline' property must be specified as a bool
(either True, or False)
Returns
-------
bool
|
Determines whether or not a line bounding this axis is drawn.
The 'showline' property must be specified as a bool
(either True, or False) | def showline(self):
"""
Determines whether or not a line bounding this axis is drawn.
The 'showline' property must be specified as a bool
(either True, or False)
Returns
-------
bool
"""
return self["showline"] | [
"def",
"showline",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"showline\"",
"]"
] | [
922,
4
] | [
933,
31
] | python | en | ['en', 'error', 'th'] | False |
Baxis.showticklabels | (self) |
Determines whether axis labels are drawn on the low side, the
high side, both, or neither side of the axis.
The 'showticklabels' property is an enumeration that may be specified as:
- One of the following enumeration values:
['start', 'end', 'both', 'none']
... |
Determines whether axis labels are drawn on the low side, the
high side, both, or neither side of the axis.
The 'showticklabels' property is an enumeration that may be specified as:
- One of the following enumeration values:
['start', 'end', 'both', 'none'] | def showticklabels(self):
"""
Determines whether axis labels are drawn on the low side, the
high side, both, or neither side of the axis.
The 'showticklabels' property is an enumeration that may be specified as:
- One of the following enumeration values:
['... | [
"def",
"showticklabels",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"showticklabels\"",
"]"
] | [
942,
4
] | [
955,
37
] | python | en | ['en', 'error', 'th'] | False |
Baxis.showtickprefix | (self) |
If "all", all tick labels are displayed with a prefix. If
"first", only the first tick is displayed with a prefix. If
"last", only the last tick is displayed with a suffix. If
"none", tick prefixes are hidden.
The 'showtickprefix' property is an enumeration that may be spec... |
If "all", all tick labels are displayed with a prefix. If
"first", only the first tick is displayed with a prefix. If
"last", only the last tick is displayed with a suffix. If
"none", tick prefixes are hidden.
The 'showtickprefix' property is an enumeration that may be spec... | def showtickprefix(self):
"""
If "all", all tick labels are displayed with a prefix. If
"first", only the first tick is displayed with a prefix. If
"last", only the last tick is displayed with a suffix. If
"none", tick prefixes are hidden.
The 'showtickprefix' proper... | [
"def",
"showtickprefix",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"showtickprefix\"",
"]"
] | [
964,
4
] | [
979,
37
] | python | en | ['en', 'error', 'th'] | False |
Baxis.showticksuffix | (self) |
Same as `showtickprefix` but for tick suffixes.
The 'showticksuffix' property is an enumeration that may be specified as:
- One of the following enumeration values:
['all', 'first', 'last', 'none']
Returns
-------
Any
|
Same as `showtickprefix` but for tick suffixes.
The 'showticksuffix' property is an enumeration that may be specified as:
- One of the following enumeration values:
['all', 'first', 'last', 'none'] | def showticksuffix(self):
"""
Same as `showtickprefix` but for tick suffixes.
The 'showticksuffix' property is an enumeration that may be specified as:
- One of the following enumeration values:
['all', 'first', 'last', 'none']
Returns
-------
... | [
"def",
"showticksuffix",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"showticksuffix\"",
"]"
] | [
988,
4
] | [
1000,
37
] | python | en | ['en', 'error', 'th'] | False |
Baxis.smoothing | (self) |
The 'smoothing' property is a number and may be specified as:
- An int or float in the interval [0, 1.3]
Returns
-------
int|float
|
The 'smoothing' property is a number and may be specified as:
- An int or float in the interval [0, 1.3] | def smoothing(self):
"""
The 'smoothing' property is a number and may be specified as:
- An int or float in the interval [0, 1.3]
Returns
-------
int|float
"""
return self["smoothing"] | [
"def",
"smoothing",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"smoothing\"",
"]"
] | [
1009,
4
] | [
1018,
32
] | python | en | ['en', 'error', 'th'] | False |
Baxis.startline | (self) |
Determines whether or not a line is drawn at along the starting
value of this axis. If True, the start line is drawn on top of
the grid lines.
The 'startline' property must be specified as a bool
(either True, or False)
Returns
-------
bool
|
Determines whether or not a line is drawn at along the starting
value of this axis. If True, the start line is drawn on top of
the grid lines.
The 'startline' property must be specified as a bool
(either True, or False) | def startline(self):
"""
Determines whether or not a line is drawn at along the starting
value of this axis. If True, the start line is drawn on top of
the grid lines.
The 'startline' property must be specified as a bool
(either True, or False)
Returns
... | [
"def",
"startline",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"startline\"",
"]"
] | [
1027,
4
] | [
1040,
32
] | python | en | ['en', 'error', 'th'] | False |
Baxis.startlinecolor | (self) |
Sets the line color of the start line.
The 'startlinecolor' property is a color and may be specified as:
- A hex string (e.g. '#ff0000')
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
- An hsv/hsva string (e.g. 'hsv(... |
Sets the line color of the start line.
The 'startlinecolor' property is a color and may be specified as:
- A hex string (e.g. '#ff0000')
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
- An hsv/hsva string (e.g. 'hsv(... | def startlinecolor(self):
"""
Sets the line color of the start line.
The 'startlinecolor' property is a color and may be specified as:
- A hex string (e.g. '#ff0000')
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
... | [
"def",
"startlinecolor",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"startlinecolor\"",
"]"
] | [
1049,
4
] | [
1099,
37
] | python | en | ['en', 'error', 'th'] | False |
Baxis.startlinewidth | (self) |
Sets the width (in px) of the start line.
The 'startlinewidth' property is a number and may be specified as:
- An int or float
Returns
-------
int|float
|
Sets the width (in px) of the start line.
The 'startlinewidth' property is a number and may be specified as:
- An int or float | def startlinewidth(self):
"""
Sets the width (in px) of the start line.
The 'startlinewidth' property is a number and may be specified as:
- An int or float
Returns
-------
int|float
"""
return self["startlinewidth"] | [
"def",
"startlinewidth",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"startlinewidth\"",
"]"
] | [
1108,
4
] | [
1119,
37
] | python | en | ['en', 'error', 'th'] | False |
Baxis.tick0 | (self) |
The starting index of grid lines along the axis
The 'tick0' property is a number and may be specified as:
- An int or float in the interval [0, inf]
Returns
-------
int|float
|
The starting index of grid lines along the axis
The 'tick0' property is a number and may be specified as:
- An int or float in the interval [0, inf] | def tick0(self):
"""
The starting index of grid lines along the axis
The 'tick0' property is a number and may be specified as:
- An int or float in the interval [0, inf]
Returns
-------
int|float
"""
return self["tick0"] | [
"def",
"tick0",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"tick0\"",
"]"
] | [
1128,
4
] | [
1139,
28
] | python | en | ['en', 'error', 'th'] | False |
Baxis.tickangle | (self) |
Sets the angle of the tick labels with respect to the
horizontal. For example, a `tickangle` of -90 draws the tick
labels vertically.
The 'tickangle' property is a angle (in degrees) that may be
specified as a number between -180 and 180. Numeric values outside this
... |
Sets the angle of the tick labels with respect to the
horizontal. For example, a `tickangle` of -90 draws the tick
labels vertically.
The 'tickangle' property is a angle (in degrees) that may be
specified as a number between -180 and 180. Numeric values outside this
... | def tickangle(self):
"""
Sets the angle of the tick labels with respect to the
horizontal. For example, a `tickangle` of -90 draws the tick
labels vertically.
The 'tickangle' property is a angle (in degrees) that may be
specified as a number between -180 and 180. Num... | [
"def",
"tickangle",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"tickangle\"",
"]"
] | [
1148,
4
] | [
1163,
32
] | python | en | ['en', 'error', 'th'] | False |
Baxis.tickfont | (self) |
Sets the tick font.
The 'tickfont' property is an instance of Tickfont
that may be specified as:
- An instance of :class:`plotly.graph_objs.carpet.baxis.Tickfont`
- A dict of string/value properties that will be passed
to the Tickfont constructor
... |
Sets the tick font.
The 'tickfont' property is an instance of Tickfont
that may be specified as:
- An instance of :class:`plotly.graph_objs.carpet.baxis.Tickfont`
- A dict of string/value properties that will be passed
to the Tickfont constructor
... | def tickfont(self):
"""
Sets the tick font.
The 'tickfont' property is an instance of Tickfont
that may be specified as:
- An instance of :class:`plotly.graph_objs.carpet.baxis.Tickfont`
- A dict of string/value properties that will be passed
to the T... | [
"def",
"tickfont",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"tickfont\"",
"]"
] | [
1172,
4
] | [
1209,
31
] | python | en | ['en', 'error', 'th'] | False |
Baxis.tickformat | (self) |
Sets the tick label formatting rule using d3 formatting mini-
languages which are very similar to those in Python. For
numbers, see: https://github.com/d3/d3-3.x-api-
reference/blob/master/Formatting.md#d3_format And for dates
see: We add one item to d3's date formatter: "%{n}f... |
Sets the tick label formatting rule using d3 formatting mini-
languages which are very similar to those in Python. For
numbers, see: https://github.com/d3/d3-3.x-api-
reference/blob/master/Formatting.md#d3_format And for dates
see: We add one item to d3's date formatter: "%{n}f... | def tickformat(self):
"""
Sets the tick label formatting rule using d3 formatting mini-
languages which are very similar to those in Python. For
numbers, see: https://github.com/d3/d3-3.x-api-
reference/blob/master/Formatting.md#d3_format And for dates
see: We add one it... | [
"def",
"tickformat",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"tickformat\"",
"]"
] | [
1218,
4
] | [
1237,
33
] | python | en | ['en', 'error', 'th'] | False |
Baxis.tickformatstops | (self) |
The 'tickformatstops' property is a tuple of instances of
Tickformatstop that may be specified as:
- A list or tuple of instances of plotly.graph_objs.carpet.baxis.Tickformatstop
- A list or tuple of dicts of string/value properties that
will be passed to the Tickformats... |
The 'tickformatstops' property is a tuple of instances of
Tickformatstop that may be specified as:
- A list or tuple of instances of plotly.graph_objs.carpet.baxis.Tickformatstop
- A list or tuple of dicts of string/value properties that
will be passed to the Tickformats... | def tickformatstops(self):
"""
The 'tickformatstops' property is a tuple of instances of
Tickformatstop that may be specified as:
- A list or tuple of instances of plotly.graph_objs.carpet.baxis.Tickformatstop
- A list or tuple of dicts of string/value properties that
... | [
"def",
"tickformatstops",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"tickformatstops\"",
"]"
] | [
1246,
4
] | [
1294,
38
] | python | en | ['en', 'error', 'th'] | False |
Baxis.tickformatstopdefaults | (self) |
When used in a template (as
layout.template.data.carpet.baxis.tickformatstopdefaults), sets
the default property values to use for elements of
carpet.baxis.tickformatstops
The 'tickformatstopdefaults' property is an instance of Tickformatstop
that may be specified a... |
When used in a template (as
layout.template.data.carpet.baxis.tickformatstopdefaults), sets
the default property values to use for elements of
carpet.baxis.tickformatstops
The 'tickformatstopdefaults' property is an instance of Tickformatstop
that may be specified a... | def tickformatstopdefaults(self):
"""
When used in a template (as
layout.template.data.carpet.baxis.tickformatstopdefaults), sets
the default property values to use for elements of
carpet.baxis.tickformatstops
The 'tickformatstopdefaults' property is an instance of T... | [
"def",
"tickformatstopdefaults",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"tickformatstopdefaults\"",
"]"
] | [
1303,
4
] | [
1322,
45
] | python | en | ['en', 'error', 'th'] | False |
Baxis.tickmode | (self) |
The 'tickmode' property is an enumeration that may be specified as:
- One of the following enumeration values:
['linear', 'array']
Returns
-------
Any
|
The 'tickmode' property is an enumeration that may be specified as:
- One of the following enumeration values:
['linear', 'array'] | def tickmode(self):
"""
The 'tickmode' property is an enumeration that may be specified as:
- One of the following enumeration values:
['linear', 'array']
Returns
-------
Any
"""
return self["tickmode"] | [
"def",
"tickmode",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"tickmode\"",
"]"
] | [
1331,
4
] | [
1341,
31
] | python | en | ['en', 'error', 'th'] | False |
Baxis.tickprefix | (self) |
Sets a tick label prefix.
The 'tickprefix' property is a string and must be specified as:
- A string
- A number that will be converted to a string
Returns
-------
str
|
Sets a tick label prefix.
The 'tickprefix' property is a string and must be specified as:
- A string
- A number that will be converted to a string | def tickprefix(self):
"""
Sets a tick label prefix.
The 'tickprefix' property is a string and must be specified as:
- A string
- A number that will be converted to a string
Returns
-------
str
"""
return self["tickprefix"] | [
"def",
"tickprefix",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"tickprefix\"",
"]"
] | [
1350,
4
] | [
1362,
33
] | python | en | ['en', 'error', 'th'] | False |
Baxis.ticksuffix | (self) |
Sets a tick label suffix.
The 'ticksuffix' property is a string and must be specified as:
- A string
- A number that will be converted to a string
Returns
-------
str
|
Sets a tick label suffix.
The 'ticksuffix' property is a string and must be specified as:
- A string
- A number that will be converted to a string | def ticksuffix(self):
"""
Sets a tick label suffix.
The 'ticksuffix' property is a string and must be specified as:
- A string
- A number that will be converted to a string
Returns
-------
str
"""
return self["ticksuffix"] | [
"def",
"ticksuffix",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"ticksuffix\"",
"]"
] | [
1371,
4
] | [
1383,
33
] | python | en | ['en', 'error', 'th'] | False |
Baxis.ticktext | (self) |
Sets the text displayed at the ticks position via `tickvals`.
Only has an effect if `tickmode` is set to "array". Used with
`tickvals`.
The 'ticktext' property is an array that may be specified as a tuple,
list, numpy array, or pandas Series
Returns
-------... |
Sets the text displayed at the ticks position via `tickvals`.
Only has an effect if `tickmode` is set to "array". Used with
`tickvals`.
The 'ticktext' property is an array that may be specified as a tuple,
list, numpy array, or pandas Series | def ticktext(self):
"""
Sets the text displayed at the ticks position via `tickvals`.
Only has an effect if `tickmode` is set to "array". Used with
`tickvals`.
The 'ticktext' property is an array that may be specified as a tuple,
list, numpy array, or pandas Series
... | [
"def",
"ticktext",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"ticktext\"",
"]"
] | [
1392,
4
] | [
1405,
31
] | python | en | ['en', 'error', 'th'] | False |
Baxis.ticktextsrc | (self) |
Sets the source reference on Chart Studio Cloud for ticktext .
The 'ticktextsrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
|
Sets the source reference on Chart Studio Cloud for ticktext .
The 'ticktextsrc' property must be specified as a string or
as a plotly.grid_objs.Column object | def ticktextsrc(self):
"""
Sets the source reference on Chart Studio Cloud for ticktext .
The 'ticktextsrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
"""
return self["ticktextsrc"] | [
"def",
"ticktextsrc",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"ticktextsrc\"",
"]"
] | [
1414,
4
] | [
1425,
34
] | python | en | ['en', 'error', 'th'] | False |
Baxis.tickvals | (self) |
Sets the values at which ticks on this axis appear. Only has an
effect if `tickmode` is set to "array". Used with `ticktext`.
The 'tickvals' property is an array that may be specified as a tuple,
list, numpy array, or pandas Series
Returns
-------
numpy.nda... |
Sets the values at which ticks on this axis appear. Only has an
effect if `tickmode` is set to "array". Used with `ticktext`.
The 'tickvals' property is an array that may be specified as a tuple,
list, numpy array, or pandas Series | def tickvals(self):
"""
Sets the values at which ticks on this axis appear. Only has an
effect if `tickmode` is set to "array". Used with `ticktext`.
The 'tickvals' property is an array that may be specified as a tuple,
list, numpy array, or pandas Series
Returns
... | [
"def",
"tickvals",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"tickvals\"",
"]"
] | [
1434,
4
] | [
1446,
31
] | python | en | ['en', 'error', 'th'] | False |
Baxis.tickvalssrc | (self) |
Sets the source reference on Chart Studio Cloud for tickvals .
The 'tickvalssrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
|
Sets the source reference on Chart Studio Cloud for tickvals .
The 'tickvalssrc' property must be specified as a string or
as a plotly.grid_objs.Column object | def tickvalssrc(self):
"""
Sets the source reference on Chart Studio Cloud for tickvals .
The 'tickvalssrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
"""
return self["tickvalssrc"] | [
"def",
"tickvalssrc",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"tickvalssrc\"",
"]"
] | [
1455,
4
] | [
1466,
34
] | python | en | ['en', 'error', 'th'] | False |
Baxis.title | (self) |
The 'title' property is an instance of Title
that may be specified as:
- An instance of :class:`plotly.graph_objs.carpet.baxis.Title`
- A dict of string/value properties that will be passed
to the Title constructor
Supported dict properties:
... |
The 'title' property is an instance of Title
that may be specified as:
- An instance of :class:`plotly.graph_objs.carpet.baxis.Title`
- A dict of string/value properties that will be passed
to the Title constructor
Supported dict properties:
... | def title(self):
"""
The 'title' property is an instance of Title
that may be specified as:
- An instance of :class:`plotly.graph_objs.carpet.baxis.Title`
- A dict of string/value properties that will be passed
to the Title constructor
Supported d... | [
"def",
"title",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"title\"",
"]"
] | [
1475,
4
] | [
1505,
28
] | python | en | ['en', 'error', 'th'] | False |
Baxis.titlefont | (self) |
Deprecated: Please use carpet.baxis.title.font instead. Sets
this axis' title font. Note that the title's font used to be
set by the now deprecated `titlefont` attribute.
The 'font' property is an instance of Font
that may be specified as:
- An instance of :class:... |
Deprecated: Please use carpet.baxis.title.font instead. Sets
this axis' title font. Note that the title's font used to be
set by the now deprecated `titlefont` attribute.
The 'font' property is an instance of Font
that may be specified as:
- An instance of :class:... | def titlefont(self):
"""
Deprecated: Please use carpet.baxis.title.font instead. Sets
this axis' title font. Note that the title's font used to be
set by the now deprecated `titlefont` attribute.
The 'font' property is an instance of Font
that may be specified as:
... | [
"def",
"titlefont",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"titlefont\"",
"]"
] | [
1514,
4
] | [
1553,
32
] | python | en | ['en', 'error', 'th'] | False |
Baxis.titleoffset | (self) |
Deprecated: Please use carpet.baxis.title.offset instead. An
additional amount by which to offset the title from the tick
labels, given in pixels. Note that this used to be set by the
now deprecated `titleoffset` attribute.
The 'offset' property is a number and may be speci... |
Deprecated: Please use carpet.baxis.title.offset instead. An
additional amount by which to offset the title from the tick
labels, given in pixels. Note that this used to be set by the
now deprecated `titleoffset` attribute.
The 'offset' property is a number and may be speci... | def titleoffset(self):
"""
Deprecated: Please use carpet.baxis.title.offset instead. An
additional amount by which to offset the title from the tick
labels, given in pixels. Note that this used to be set by the
now deprecated `titleoffset` attribute.
The 'offset' pro... | [
"def",
"titleoffset",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"titleoffset\"",
"]"
] | [
1562,
4
] | [
1576,
34
] | python | en | ['en', 'error', 'th'] | False |
Baxis.type | (self) |
Sets the axis type. By default, plotly attempts to determined
the axis type by looking into the data of the traces that
referenced the axis in question.
The 'type' property is an enumeration that may be specified as:
- One of the following enumeration values:
... |
Sets the axis type. By default, plotly attempts to determined
the axis type by looking into the data of the traces that
referenced the axis in question.
The 'type' property is an enumeration that may be specified as:
- One of the following enumeration values:
... | def type(self):
"""
Sets the axis type. By default, plotly attempts to determined
the axis type by looking into the data of the traces that
referenced the axis in question.
The 'type' property is an enumeration that may be specified as:
- One of the following enume... | [
"def",
"type",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"type\"",
"]"
] | [
1585,
4
] | [
1599,
27
] | python | en | ['en', 'error', 'th'] | False |
Baxis.__init__ | (
self,
arg=None,
arraydtick=None,
arraytick0=None,
autorange=None,
categoryarray=None,
categoryarraysrc=None,
categoryorder=None,
cheatertype=None,
color=None,
dtick=None,
endline=None,
endlinecolor=None,
en... |
Construct a new Baxis object
Parameters
----------
arg
dict of properties compatible with this constructor or
an instance of :class:`plotly.graph_objs.carpet.Baxis`
arraydtick
The stride between grid lines along the axis
array... |
Construct a new Baxis object
Parameters
----------
arg
dict of properties compatible with this constructor or
an instance of :class:`plotly.graph_objs.carpet.Baxis`
arraydtick
The stride between grid lines along the axis
array... | def __init__(
self,
arg=None,
arraydtick=None,
arraytick0=None,
autorange=None,
categoryarray=None,
categoryarraysrc=None,
categoryorder=None,
cheatertype=None,
color=None,
dtick=None,
endline=None,
endlinecolor=None... | [
"def",
"__init__",
"(",
"self",
",",
"arg",
"=",
"None",
",",
"arraydtick",
"=",
"None",
",",
"arraytick0",
"=",
"None",
",",
"autorange",
"=",
"None",
",",
"categoryarray",
"=",
"None",
",",
"categoryarraysrc",
"=",
"None",
",",
"categoryorder",
"=",
"N... | [
1813,
4
] | [
2338,
34
] | python | en | ['en', 'error', 'th'] | False |
Disclose.__init__ | (self, *, protocols: Mapping[str, Mapping] = None, **kwargs) |
Initialize disclose message object.
Args:
protocols: A mapping of protocol names to a dictionary of properties
|
Initialize disclose message object. | def __init__(self, *, protocols: Mapping[str, Mapping] = None, **kwargs):
"""
Initialize disclose message object.
Args:
protocols: A mapping of protocol names to a dictionary of properties
"""
super(Disclose, self).__init__(**kwargs)
self.protocols = list(pro... | [
"def",
"__init__",
"(",
"self",
",",
"*",
",",
"protocols",
":",
"Mapping",
"[",
"str",
",",
"Mapping",
"]",
"=",
"None",
",",
"*",
"*",
"kwargs",
")",
":",
"super",
"(",
"Disclose",
",",
"self",
")",
".",
"__init__",
"(",
"*",
"*",
"kwargs",
")"... | [
24,
4
] | [
32,
61
] | python | en | ['en', 'error', 'th'] | False |
Center.lat | (self) |
Sets the latitude of the center of the map (in degrees North).
The 'lat' property is a number and may be specified as:
- An int or float
Returns
-------
int|float
|
Sets the latitude of the center of the map (in degrees North).
The 'lat' property is a number and may be specified as:
- An int or float | def lat(self):
"""
Sets the latitude of the center of the map (in degrees North).
The 'lat' property is a number and may be specified as:
- An int or float
Returns
-------
int|float
"""
return self["lat"] | [
"def",
"lat",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"lat\"",
"]"
] | [
15,
4
] | [
26,
26
] | python | en | ['en', 'error', 'th'] | False |
Center.lon | (self) |
Sets the longitude of the center of the map (in degrees East).
The 'lon' property is a number and may be specified as:
- An int or float
Returns
-------
int|float
|
Sets the longitude of the center of the map (in degrees East).
The 'lon' property is a number and may be specified as:
- An int or float | def lon(self):
"""
Sets the longitude of the center of the map (in degrees East).
The 'lon' property is a number and may be specified as:
- An int or float
Returns
-------
int|float
"""
return self["lon"] | [
"def",
"lon",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"lon\"",
"]"
] | [
35,
4
] | [
46,
26
] | python | en | ['en', 'error', 'th'] | False |
Center.__init__ | (self, arg=None, lat=None, lon=None, **kwargs) |
Construct a new Center object
Parameters
----------
arg
dict of properties compatible with this constructor or
an instance of
:class:`plotly.graph_objs.layout.mapbox.Center`
lat
Sets the latitude of the center of the map (... |
Construct a new Center object
Parameters
----------
arg
dict of properties compatible with this constructor or
an instance of
:class:`plotly.graph_objs.layout.mapbox.Center`
lat
Sets the latitude of the center of the map (... | def __init__(self, arg=None, lat=None, lon=None, **kwargs):
"""
Construct a new Center object
Parameters
----------
arg
dict of properties compatible with this constructor or
an instance of
:class:`plotly.graph_objs.layout.mapbox.Cente... | [
"def",
"__init__",
"(",
"self",
",",
"arg",
"=",
"None",
",",
"lat",
"=",
"None",
",",
"lon",
"=",
"None",
",",
"*",
"*",
"kwargs",
")",
":",
"super",
"(",
"Center",
",",
"self",
")",
".",
"__init__",
"(",
"\"center\"",
")",
"if",
"\"_parent\"",
... | [
65,
4
] | [
130,
34
] | python | en | ['en', 'error', 'th'] | False |
sentence_bleu | (hypothesis, reference, smoothing=True, order=4, **kwargs) |
Compute sentence-level BLEU score between a translation hypothesis and a reference.
:param hypothesis: list of tokens or token ids
:param reference: list of tokens or token ids
:param smoothing: apply smoothing (recommended, especially for short sequences)
:param order: count n-grams up to this va... |
Compute sentence-level BLEU score between a translation hypothesis and a reference. | def sentence_bleu(hypothesis, reference, smoothing=True, order=4, **kwargs):
"""
Compute sentence-level BLEU score between a translation hypothesis and a reference.
:param hypothesis: list of tokens or token ids
:param reference: list of tokens or token ids
:param smoothing: apply smoothing (recomm... | [
"def",
"sentence_bleu",
"(",
"hypothesis",
",",
"reference",
",",
"smoothing",
"=",
"True",
",",
"order",
"=",
"4",
",",
"*",
"*",
"kwargs",
")",
":",
"log_score",
"=",
"0",
"if",
"len",
"(",
"hypothesis",
")",
"==",
"0",
":",
"return",
"0",
"for",
... | [
60,
0
] | [
96,
35
] | python | en | ['en', 'error', 'th'] | False |
corpus_bleu | (hypotheses, references, smoothing=False, order=4, **kwargs) |
Computes the BLEU score at the corpus-level between a list of translation hypotheses and references.
With the default settings, this computes the exact same score as `multi-bleu.perl`.
All corpus-based evaluation functions should follow this interface.
:param hypotheses: list of strings
:param re... |
Computes the BLEU score at the corpus-level between a list of translation hypotheses and references.
With the default settings, this computes the exact same score as `multi-bleu.perl`. | def corpus_bleu(hypotheses, references, smoothing=False, order=4, **kwargs):
"""
Computes the BLEU score at the corpus-level between a list of translation hypotheses and references.
With the default settings, this computes the exact same score as `multi-bleu.perl`.
All corpus-based evaluation functions... | [
"def",
"corpus_bleu",
"(",
"hypotheses",
",",
"references",
",",
"smoothing",
"=",
"False",
",",
"order",
"=",
"4",
",",
"*",
"*",
"kwargs",
")",
":",
"total",
"=",
"np",
".",
"zeros",
"(",
"(",
"order",
",",
")",
")",
"correct",
"=",
"np",
".",
... | [
113,
0
] | [
168,
82
] | python | en | ['en', 'error', 'th'] | False |
RouteUpdateRequest.__init__ | (self, *, updates: Sequence[RouteUpdate] = None, **kwargs) |
Initialize a RouteUpdateRequest message instance.
Args:
updates: A list of route updates
|
Initialize a RouteUpdateRequest message instance. | def __init__(self, *, updates: Sequence[RouteUpdate] = None, **kwargs):
"""
Initialize a RouteUpdateRequest message instance.
Args:
updates: A list of route updates
"""
super(RouteUpdateRequest, self).__init__(**kwargs)
self.updates = updates or [] | [
"def",
"__init__",
"(",
"self",
",",
"*",
",",
"updates",
":",
"Sequence",
"[",
"RouteUpdate",
"]",
"=",
"None",
",",
"*",
"*",
"kwargs",
")",
":",
"super",
"(",
"RouteUpdateRequest",
",",
"self",
")",
".",
"__init__",
"(",
"*",
"*",
"kwargs",
")",
... | [
27,
4
] | [
36,
36
] | python | en | ['en', 'error', 'th'] | False |
ae_loss_per_image | (tl_preds, br_preds, match) | Associative Embedding Loss in one image.
Associative Embedding Loss including two parts: pull loss and push loss.
Pull loss makes embedding vectors from same object closer to each other.
Push loss distinguish embedding vector from different objects, and makes
the gap between them is large enough.
... | Associative Embedding Loss in one image. | def ae_loss_per_image(tl_preds, br_preds, match):
"""Associative Embedding Loss in one image.
Associative Embedding Loss including two parts: pull loss and push loss.
Pull loss makes embedding vectors from same object closer to each other.
Push loss distinguish embedding vector from different objects, ... | [
"def",
"ae_loss_per_image",
"(",
"tl_preds",
",",
"br_preds",
",",
"match",
")",
":",
"tl_list",
",",
"br_list",
",",
"me_list",
"=",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
"if",
"len",
"(",
"match",
")",
"==",
"0",
":",
"# no object in image",
"pul... | [
7,
0
] | [
65,
31
] | python | en | ['en', 'en', 'en'] | True |
Font.color | (self) |
The 'color' property is a color and may be specified as:
- A hex string (e.g. '#ff0000')
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
- An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
- A named CSS color:
... |
The 'color' property is a color and may be specified as:
- A hex string (e.g. '#ff0000')
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
- An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
- A named CSS color:
... | def color(self):
"""
The 'color' property is a color and may be specified as:
- A hex string (e.g. '#ff0000')
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
- An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
- A name... | [
"def",
"color",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"color\"",
"]"
] | [
15,
4
] | [
64,
28
] | python | en | ['en', 'error', 'th'] | False |
Font.colorsrc | (self) |
Sets the source reference on Chart Studio Cloud for color .
The 'colorsrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
|
Sets the source reference on Chart Studio Cloud for color .
The 'colorsrc' property must be specified as a string or
as a plotly.grid_objs.Column object | def colorsrc(self):
"""
Sets the source reference on Chart Studio Cloud for color .
The 'colorsrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
"""
return self["colorsrc"] | [
"def",
"colorsrc",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"colorsrc\"",
"]"
] | [
73,
4
] | [
84,
31
] | python | en | ['en', 'error', 'th'] | False |
Font.family | (self) |
HTML font family - the typeface that will be applied by the web
browser. The web browser will only be able to apply a font if
it is available on the system which it operates. Provide
multiple font families, separated by commas, to indicate the
preference in which to apply fonts ... |
HTML font family - the typeface that will be applied by the web
browser. The web browser will only be able to apply a font if
it is available on the system which it operates. Provide
multiple font families, separated by commas, to indicate the
preference in which to apply fonts ... | def family(self):
"""
HTML font family - the typeface that will be applied by the web
browser. The web browser will only be able to apply a font if
it is available on the system which it operates. Provide
multiple font families, separated by commas, to indicate the
prefer... | [
"def",
"family",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"family\"",
"]"
] | [
93,
4
] | [
116,
29
] | python | en | ['en', 'error', 'th'] | False |
Font.familysrc | (self) |
Sets the source reference on Chart Studio Cloud for family .
The 'familysrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
|
Sets the source reference on Chart Studio Cloud for family .
The 'familysrc' property must be specified as a string or
as a plotly.grid_objs.Column object | def familysrc(self):
"""
Sets the source reference on Chart Studio Cloud for family .
The 'familysrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
"""
return self["familysrc"] | [
"def",
"familysrc",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"familysrc\"",
"]"
] | [
125,
4
] | [
136,
32
] | python | en | ['en', 'error', 'th'] | False |
Font.size | (self) |
The 'size' property is a number and may be specified as:
- An int or float in the interval [1, inf]
- A tuple, list, or one-dimensional numpy array of the above
Returns
-------
int|float|numpy.ndarray
|
The 'size' property is a number and may be specified as:
- An int or float in the interval [1, inf]
- A tuple, list, or one-dimensional numpy array of the above | def size(self):
"""
The 'size' property is a number and may be specified as:
- An int or float in the interval [1, inf]
- A tuple, list, or one-dimensional numpy array of the above
Returns
-------
int|float|numpy.ndarray
"""
return self["size"... | [
"def",
"size",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"size\"",
"]"
] | [
145,
4
] | [
155,
27
] | python | en | ['en', 'error', 'th'] | False |
Font.sizesrc | (self) |
Sets the source reference on Chart Studio Cloud for size .
The 'sizesrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
|
Sets the source reference on Chart Studio Cloud for size .
The 'sizesrc' property must be specified as a string or
as a plotly.grid_objs.Column object | def sizesrc(self):
"""
Sets the source reference on Chart Studio Cloud for size .
The 'sizesrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
"""
return self["sizesrc"] | [
"def",
"sizesrc",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"sizesrc\"",
"]"
] | [
164,
4
] | [
175,
30
] | python | en | ['en', 'error', 'th'] | False |
Font.__init__ | (
self,
arg=None,
color=None,
colorsrc=None,
family=None,
familysrc=None,
size=None,
sizesrc=None,
**kwargs
) |
Construct a new Font object
Sets the font used in hover labels.
Parameters
----------
arg
dict of properties compatible with this constructor or
an instance of
:class:`plotly.graph_objs.pointcloud.hoverlabel.Font`
color
... |
Construct a new Font object
Sets the font used in hover labels. | def __init__(
self,
arg=None,
color=None,
colorsrc=None,
family=None,
familysrc=None,
size=None,
sizesrc=None,
**kwargs
):
"""
Construct a new Font object
Sets the font used in hover labels.
Parameters
... | [
"def",
"__init__",
"(",
"self",
",",
"arg",
"=",
"None",
",",
"color",
"=",
"None",
",",
"colorsrc",
"=",
"None",
",",
"family",
"=",
"None",
",",
"familysrc",
"=",
"None",
",",
"size",
"=",
"None",
",",
"sizesrc",
"=",
"None",
",",
"*",
"*",
"kw... | [
215,
4
] | [
329,
34
] | python | en | ['en', 'error', 'th'] | False |
CmdHelp.msg_help | (self, text) |
messages text to the caller, adding an extra oob argument to indicate
that this is a help command result and could be rendered in a separate
help window
|
messages text to the caller, adding an extra oob argument to indicate
that this is a help command result and could be rendered in a separate
help window
| def msg_help(self, text):
"""
messages text to the caller, adding an extra oob argument to indicate
that this is a help command result and could be rendered in a separate
help window
"""
if type(self).help_more:
usemore = True
if self.session and ... | [
"def",
"msg_help",
"(",
"self",
",",
"text",
")",
":",
"if",
"type",
"(",
"self",
")",
".",
"help_more",
":",
"usemore",
"=",
"True",
"if",
"self",
".",
"session",
"and",
"self",
".",
"session",
".",
"protocol_key",
"in",
"(",
"\"websocket\"",
",",
"... | [
59,
4
] | [
80,
42
] | python | en | ['en', 'error', 'th'] | False |
CmdHelp.format_help_entry | (title, help_text, aliases=None, suggested=None) |
This visually formats the help entry.
This method can be overriden to customize the way a help
entry is displayed.
Args:
title (str): the title of the help entry.
help_text (str): the text of the help entry.
aliases (list of str or None): the list of... |
This visually formats the help entry.
This method can be overriden to customize the way a help
entry is displayed. | def format_help_entry(title, help_text, aliases=None, suggested=None):
"""
This visually formats the help entry.
This method can be overriden to customize the way a help
entry is displayed.
Args:
title (str): the title of the help entry.
help_text (str): ... | [
"def",
"format_help_entry",
"(",
"title",
",",
"help_text",
",",
"aliases",
"=",
"None",
",",
"suggested",
"=",
"None",
")",
":",
"string",
"=",
"_SEP",
"+",
"\"\\n\"",
"if",
"title",
":",
"string",
"+=",
"\"|CHelp for |w%s|n\"",
"%",
"title",
"if",
"alias... | [
83,
4
] | [
110,
21
] | python | en | ['en', 'error', 'th'] | False |
CmdHelp.format_help_list | (hdict_cmds, hdict_db) |
Output a category-ordered list. The input are the
pre-loaded help files for commands and database-helpfiles
respectively. You can override this method to return a
custom display of the list of commands and topics.
|
Output a category-ordered list. The input are the
pre-loaded help files for commands and database-helpfiles
respectively. You can override this method to return a
custom display of the list of commands and topics.
| def format_help_list(hdict_cmds, hdict_db):
"""
Output a category-ordered list. The input are the
pre-loaded help files for commands and database-helpfiles
respectively. You can override this method to return a
custom display of the list of commands and topics.
"""
... | [
"def",
"format_help_list",
"(",
"hdict_cmds",
",",
"hdict_db",
")",
":",
"string",
"=",
"\"\"",
"if",
"hdict_cmds",
"and",
"any",
"(",
"hdict_cmds",
".",
"values",
"(",
")",
")",
":",
"string",
"+=",
"\"\\n\"",
"+",
"_SEP",
"+",
"\"\\n |CCommand help entri... | [
113,
4
] | [
131,
21
] | python | en | ['en', 'error', 'th'] | False |
CmdHelp.check_show_help | (self, cmd, caller) |
Helper method. If this return True, the given cmd
auto-help will be viewable in the help listing.
Override this to easily select what is shown to
the account. Note that only commands available
in the caller's merged cmdset are available.
Args:
cmd (Command):... |
Helper method. If this return True, the given cmd
auto-help will be viewable in the help listing.
Override this to easily select what is shown to
the account. Note that only commands available
in the caller's merged cmdset are available. | def check_show_help(self, cmd, caller):
"""
Helper method. If this return True, the given cmd
auto-help will be viewable in the help listing.
Override this to easily select what is shown to
the account. Note that only commands available
in the caller's merged cmdset are a... | [
"def",
"check_show_help",
"(",
"self",
",",
"cmd",
",",
"caller",
")",
":",
"# return only those with auto_help set and passing the cmd: lock",
"return",
"cmd",
".",
"auto_help",
"and",
"cmd",
".",
"access",
"(",
"caller",
")"
] | [
133,
4
] | [
148,
51
] | python | en | ['en', 'error', 'th'] | False |
CmdHelp.should_list_cmd | (self, cmd, caller) |
Should the specified command appear in the help table?
This method only checks whether a specified command should
appear in the table of topics/commands. The command can be
used by the caller (see the 'check_show_help' method) and
the command will still be available, for insta... |
Should the specified command appear in the help table? | def should_list_cmd(self, cmd, caller):
"""
Should the specified command appear in the help table?
This method only checks whether a specified command should
appear in the table of topics/commands. The command can be
used by the caller (see the 'check_show_help' method) and
... | [
"def",
"should_list_cmd",
"(",
"self",
",",
"cmd",
",",
"caller",
")",
":",
"return",
"True"
] | [
150,
4
] | [
172,
19
] | python | en | ['en', 'error', 'th'] | False |
CmdHelp.parse | (self) |
input is a string containing the command or topic to match.
|
input is a string containing the command or topic to match.
| def parse(self):
"""
input is a string containing the command or topic to match.
"""
self.original_args = self.args.strip()
self.args = self.args.strip().lower() | [
"def",
"parse",
"(",
"self",
")",
":",
"self",
".",
"original_args",
"=",
"self",
".",
"args",
".",
"strip",
"(",
")",
"self",
".",
"args",
"=",
"self",
".",
"args",
".",
"strip",
"(",
")",
".",
"lower",
"(",
")"
] | [
174,
4
] | [
179,
45
] | python | en | ['en', 'error', 'th'] | False |
CmdHelp.func | (self) |
Run the dynamic help entry creator.
|
Run the dynamic help entry creator.
| def func(self):
"""
Run the dynamic help entry creator.
"""
query, cmdset = self.args, self.cmdset
caller = self.caller
suggestion_cutoff = self.suggestion_cutoff
suggestion_maxnum = self.suggestion_maxnum
if not query:
query = "all"
... | [
"def",
"func",
"(",
"self",
")",
":",
"query",
",",
"cmdset",
"=",
"self",
".",
"args",
",",
"self",
".",
"cmdset",
"caller",
"=",
"self",
".",
"caller",
"suggestion_cutoff",
"=",
"self",
".",
"suggestion_cutoff",
"suggestion_maxnum",
"=",
"self",
".",
"... | [
181,
4
] | [
269,
133
] | python | en | ['en', 'error', 'th'] | False |
CmdSetHelp.func | (self) | Implement the function | Implement the function | def func(self):
"""Implement the function"""
switches = self.switches
lhslist = self.lhslist
if not self.args:
self.msg("Usage: @sethelp[/switches] <topic>[;alias;alias][,category[,locks,..] = <text>")
return
nlist = len(lhslist)
topicstr = lhsl... | [
"def",
"func",
"(",
"self",
")",
":",
"switches",
"=",
"self",
".",
"switches",
"lhslist",
"=",
"self",
".",
"lhslist",
"if",
"not",
"self",
".",
"args",
":",
"self",
".",
"msg",
"(",
"\"Usage: @sethelp[/switches] <topic>[;alias;alias][,category[,locks,..] = <text... | [
323,
4
] | [
435,
102
] | python | en | ['en', 'en', 'en'] | True |
open_html_in_browser | (html, using=None, new=0, autoraise=True) |
Display html in a web browser without creating a temp file.
Instantiates a trivial http server and uses the webbrowser module to
open a URL to retrieve html from that server.
Parameters
----------
html: str
HTML string to display
using, new, autoraise:
See docstrings in we... |
Display html in a web browser without creating a temp file. | def open_html_in_browser(html, using=None, new=0, autoraise=True):
"""
Display html in a web browser without creating a temp file.
Instantiates a trivial http server and uses the webbrowser module to
open a URL to retrieve html from that server.
Parameters
----------
html: str
HTML... | [
"def",
"open_html_in_browser",
"(",
"html",
",",
"using",
"=",
"None",
",",
"new",
"=",
"0",
",",
"autoraise",
"=",
"True",
")",
":",
"if",
"isinstance",
"(",
"html",
",",
"six",
".",
"string_types",
")",
":",
"html",
"=",
"html",
".",
"encode",
"(",... | [
651,
0
] | [
687,
27
] | python | en | ['en', 'error', 'th'] | False |
Selected.marker | (self) |
The 'marker' property is an instance of Marker
that may be specified as:
- An instance of :class:`plotly.graph_objs.scatter.selected.Marker`
- A dict of string/value properties that will be passed
to the Marker constructor
Supported dict properties:
... |
The 'marker' property is an instance of Marker
that may be specified as:
- An instance of :class:`plotly.graph_objs.scatter.selected.Marker`
- A dict of string/value properties that will be passed
to the Marker constructor
Supported dict properties:
... | def marker(self):
"""
The 'marker' property is an instance of Marker
that may be specified as:
- An instance of :class:`plotly.graph_objs.scatter.selected.Marker`
- A dict of string/value properties that will be passed
to the Marker constructor
Su... | [
"def",
"marker",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"marker\"",
"]"
] | [
15,
4
] | [
36,
29
] | python | en | ['en', 'error', 'th'] | False |
Selected.textfont | (self) |
The 'textfont' property is an instance of Textfont
that may be specified as:
- An instance of :class:`plotly.graph_objs.scatter.selected.Textfont`
- A dict of string/value properties that will be passed
to the Textfont constructor
Supported dict properti... |
The 'textfont' property is an instance of Textfont
that may be specified as:
- An instance of :class:`plotly.graph_objs.scatter.selected.Textfont`
- A dict of string/value properties that will be passed
to the Textfont constructor
Supported dict properti... | def textfont(self):
"""
The 'textfont' property is an instance of Textfont
that may be specified as:
- An instance of :class:`plotly.graph_objs.scatter.selected.Textfont`
- A dict of string/value properties that will be passed
to the Textfont constructor
... | [
"def",
"textfont",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"textfont\"",
"]"
] | [
45,
4
] | [
62,
31
] | python | en | ['en', 'error', 'th'] | False |
Selected.__init__ | (self, arg=None, marker=None, textfont=None, **kwargs) |
Construct a new Selected object
Parameters
----------
arg
dict of properties compatible with this constructor or
an instance of
:class:`plotly.graph_objs.scatter.Selected`
marker
:class:`plotly.graph_objects.scatter.select... |
Construct a new Selected object
Parameters
----------
arg
dict of properties compatible with this constructor or
an instance of
:class:`plotly.graph_objs.scatter.Selected`
marker
:class:`plotly.graph_objects.scatter.select... | def __init__(self, arg=None, marker=None, textfont=None, **kwargs):
"""
Construct a new Selected object
Parameters
----------
arg
dict of properties compatible with this constructor or
an instance of
:class:`plotly.graph_objs.scatter.S... | [
"def",
"__init__",
"(",
"self",
",",
"arg",
"=",
"None",
",",
"marker",
"=",
"None",
",",
"textfont",
"=",
"None",
",",
"*",
"*",
"kwargs",
")",
":",
"super",
"(",
"Selected",
",",
"self",
")",
".",
"__init__",
"(",
"\"selected\"",
")",
"if",
"\"_p... | [
81,
4
] | [
146,
34
] | python | en | ['en', 'error', 'th'] | False |
ColorBar.bgcolor | (self) |
Sets the color of padded area.
The 'bgcolor' property is a color and may be specified as:
- A hex string (e.g. '#ff0000')
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
- An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
... |
Sets the color of padded area.
The 'bgcolor' property is a color and may be specified as:
- A hex string (e.g. '#ff0000')
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
- An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
... | def bgcolor(self):
"""
Sets the color of padded area.
The 'bgcolor' property is a color and may be specified as:
- A hex string (e.g. '#ff0000')
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
- An hsv/hsva str... | [
"def",
"bgcolor",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"bgcolor\"",
"]"
] | [
59,
4
] | [
109,
30
] | python | en | ['en', 'error', 'th'] | False |
ColorBar.bordercolor | (self) |
Sets the axis line color.
The 'bordercolor' property is a color and may be specified as:
- A hex string (e.g. '#ff0000')
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
- An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
... |
Sets the axis line color.
The 'bordercolor' property is a color and may be specified as:
- A hex string (e.g. '#ff0000')
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
- An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
... | def bordercolor(self):
"""
Sets the axis line color.
The 'bordercolor' property is a color and may be specified as:
- A hex string (e.g. '#ff0000')
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
- An hsv/hsva ... | [
"def",
"bordercolor",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"bordercolor\"",
"]"
] | [
118,
4
] | [
168,
34
] | python | en | ['en', 'error', 'th'] | False |
ColorBar.borderwidth | (self) |
Sets the width (in px) or the border enclosing this color bar.
The 'borderwidth' property is a number and may be specified as:
- An int or float in the interval [0, inf]
Returns
-------
int|float
|
Sets the width (in px) or the border enclosing this color bar.
The 'borderwidth' property is a number and may be specified as:
- An int or float in the interval [0, inf] | def borderwidth(self):
"""
Sets the width (in px) or the border enclosing this color bar.
The 'borderwidth' property is a number and may be specified as:
- An int or float in the interval [0, inf]
Returns
-------
int|float
"""
return self["... | [
"def",
"borderwidth",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"borderwidth\"",
"]"
] | [
177,
4
] | [
188,
34
] | python | en | ['en', 'error', 'th'] | False |
ColorBar.dtick | (self) |
Sets the step in-between ticks on this axis. Use with `tick0`.
Must be a positive number, or special strings available to
"log" and "date" axes. If the axis `type` is "log", then ticks
are set every 10^(n*dtick) where n is the tick number. For
example, to set a tick mark at 1, 1... |
Sets the step in-between ticks on this axis. Use with `tick0`.
Must be a positive number, or special strings available to
"log" and "date" axes. If the axis `type` is "log", then ticks
are set every 10^(n*dtick) where n is the tick number. For
example, to set a tick mark at 1, 1... | def dtick(self):
"""
Sets the step in-between ticks on this axis. Use with `tick0`.
Must be a positive number, or special strings available to
"log" and "date" axes. If the axis `type` is "log", then ticks
are set every 10^(n*dtick) where n is the tick number. For
example... | [
"def",
"dtick",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"dtick\"",
"]"
] | [
197,
4
] | [
226,
28
] | python | en | ['en', 'error', 'th'] | False |
ColorBar.exponentformat | (self) |
Determines a formatting rule for the tick exponents. For
example, consider the number 1,000,000,000. If "none", it
appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If
"power", 1x10^9 (with 9 in a super script). If "SI", 1G. If
"B", 1B.
The 'exponentformat' prop... |
Determines a formatting rule for the tick exponents. For
example, consider the number 1,000,000,000. If "none", it
appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If
"power", 1x10^9 (with 9 in a super script). If "SI", 1G. If
"B", 1B.
The 'exponentformat' prop... | def exponentformat(self):
"""
Determines a formatting rule for the tick exponents. For
example, consider the number 1,000,000,000. If "none", it
appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If
"power", 1x10^9 (with 9 in a super script). If "SI", 1G. If
"B", 1B.
... | [
"def",
"exponentformat",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"exponentformat\"",
"]"
] | [
235,
4
] | [
251,
37
] | python | en | ['en', 'error', 'th'] | False |
ColorBar.len | (self) |
Sets the length of the color bar This measure excludes the
padding of both ends. That is, the color bar length is this
length minus the padding on both ends.
The 'len' property is a number and may be specified as:
- An int or float in the interval [0, inf]
Return... |
Sets the length of the color bar This measure excludes the
padding of both ends. That is, the color bar length is this
length minus the padding on both ends.
The 'len' property is a number and may be specified as:
- An int or float in the interval [0, inf] | def len(self):
"""
Sets the length of the color bar This measure excludes the
padding of both ends. That is, the color bar length is this
length minus the padding on both ends.
The 'len' property is a number and may be specified as:
- An int or float in the interva... | [
"def",
"len",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"len\"",
"]"
] | [
260,
4
] | [
273,
26
] | python | en | ['en', 'error', 'th'] | False |
ColorBar.lenmode | (self) |
Determines whether this color bar's length (i.e. the measure in
the color variation direction) is set in units of plot
"fraction" or in *pixels. Use `len` to set the value.
The 'lenmode' property is an enumeration that may be specified as:
- One of the following enumerati... |
Determines whether this color bar's length (i.e. the measure in
the color variation direction) is set in units of plot
"fraction" or in *pixels. Use `len` to set the value.
The 'lenmode' property is an enumeration that may be specified as:
- One of the following enumerati... | def lenmode(self):
"""
Determines whether this color bar's length (i.e. the measure in
the color variation direction) is set in units of plot
"fraction" or in *pixels. Use `len` to set the value.
The 'lenmode' property is an enumeration that may be specified as:
- ... | [
"def",
"lenmode",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"lenmode\"",
"]"
] | [
282,
4
] | [
296,
30
] | python | en | ['en', 'error', 'th'] | False |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.