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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
ColorBar.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\"",
"]"
] | [
305,
4
] | [
320,
29
] | python | en | ['en', 'error', 'th'] | False |
ColorBar.outlinecolor | (self) |
Sets the axis line color.
The 'outlinecolor' 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 'outlinecolor' 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 outlinecolor(self):
"""
Sets the axis line color.
The 'outlinecolor' 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/hsv... | [
"def",
"outlinecolor",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"outlinecolor\"",
"]"
] | [
329,
4
] | [
379,
35
] | python | en | ['en', 'error', 'th'] | False |
ColorBar.outlinewidth | (self) |
Sets the width (in px) of the axis line.
The 'outlinewidth' 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 'outlinewidth' property is a number and may be specified as:
- An int or float in the interval [0, inf] | def outlinewidth(self):
"""
Sets the width (in px) of the axis line.
The 'outlinewidth' property is a number and may be specified as:
- An int or float in the interval [0, inf]
Returns
-------
int|float
"""
return self["outlinewidth"] | [
"def",
"outlinewidth",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"outlinewidth\"",
"]"
] | [
388,
4
] | [
399,
35
] | python | en | ['en', 'error', 'th'] | False |
ColorBar.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\"",
"]"
] | [
408,
4
] | [
419,
40
] | python | en | ['en', 'error', 'th'] | False |
ColorBar.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\"",
"]"
] | [
428,
4
] | [
443,
35
] | python | en | ['en', 'error', 'th'] | False |
ColorBar.showticklabels | (self) |
Determines whether or not the tick labels are drawn.
The 'showticklabels' property must be specified as a bool
(either True, or False)
Returns
-------
bool
|
Determines whether or not the tick labels are drawn.
The 'showticklabels' property must be specified as a bool
(either True, or False) | def showticklabels(self):
"""
Determines whether or not the tick labels are drawn.
The 'showticklabels' property must be specified as a bool
(either True, or False)
Returns
-------
bool
"""
return self["showticklabels"] | [
"def",
"showticklabels",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"showticklabels\"",
"]"
] | [
452,
4
] | [
463,
37
] | python | en | ['en', 'error', 'th'] | False |
ColorBar.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\"",
"]"
] | [
472,
4
] | [
487,
37
] | python | en | ['en', 'error', 'th'] | False |
ColorBar.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\"",
"]"
] | [
496,
4
] | [
508,
37
] | python | en | ['en', 'error', 'th'] | False |
ColorBar.thickness | (self) |
Sets the thickness of the color bar This measure excludes the
size of the padding, ticks and labels.
The 'thickness' property is a number and may be specified as:
- An int or float in the interval [0, inf]
Returns
-------
int|float
|
Sets the thickness of the color bar This measure excludes the
size of the padding, ticks and labels.
The 'thickness' property is a number and may be specified as:
- An int or float in the interval [0, inf] | def thickness(self):
"""
Sets the thickness of the color bar This measure excludes the
size of the padding, ticks and labels.
The 'thickness' property is a number and may be specified as:
- An int or float in the interval [0, inf]
Returns
-------
i... | [
"def",
"thickness",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"thickness\"",
"]"
] | [
517,
4
] | [
529,
32
] | python | en | ['en', 'error', 'th'] | False |
ColorBar.thicknessmode | (self) |
Determines whether this color bar's thickness (i.e. the measure
in the constant color direction) is set in units of plot
"fraction" or in "pixels". Use `thickness` to set the value.
The 'thicknessmode' property is an enumeration that may be specified as:
- One of the foll... |
Determines whether this color bar's thickness (i.e. the measure
in the constant color direction) is set in units of plot
"fraction" or in "pixels". Use `thickness` to set the value.
The 'thicknessmode' property is an enumeration that may be specified as:
- One of the foll... | def thicknessmode(self):
"""
Determines whether this color bar's thickness (i.e. the measure
in the constant color direction) is set in units of plot
"fraction" or in "pixels". Use `thickness` to set the value.
The 'thicknessmode' property is an enumeration that may be speci... | [
"def",
"thicknessmode",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"thicknessmode\"",
"]"
] | [
538,
4
] | [
552,
36
] | python | en | ['en', 'error', 'th'] | False |
ColorBar.tick0 | (self) |
Sets the placement of the first tick on this axis. Use with
`dtick`. If the axis `type` is "log", then you must take the
log of your starting tick (e.g. to set the starting tick to
100, set the `tick0` to 2) except when `dtick`=*L<f>* (see
`dtick` for more info). If the axis `ty... |
Sets the placement of the first tick on this axis. Use with
`dtick`. If the axis `type` is "log", then you must take the
log of your starting tick (e.g. to set the starting tick to
100, set the `tick0` to 2) except when `dtick`=*L<f>* (see
`dtick` for more info). If the axis `ty... | def tick0(self):
"""
Sets the placement of the first tick on this axis. Use with
`dtick`. If the axis `type` is "log", then you must take the
log of your starting tick (e.g. to set the starting tick to
100, set the `tick0` to 2) except when `dtick`=*L<f>* (see
`dtick` for... | [
"def",
"tick0",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"tick0\"",
"]"
] | [
561,
4
] | [
579,
28
] | python | en | ['en', 'error', 'th'] | False |
ColorBar.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\"",
"]"
] | [
588,
4
] | [
603,
32
] | python | en | ['en', 'error', 'th'] | False |
ColorBar.tickcolor | (self) |
Sets the tick color.
The 'tickcolor' 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 tick color.
The 'tickcolor' 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 tickcolor(self):
"""
Sets the tick color.
The 'tickcolor' 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... | [
"def",
"tickcolor",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"tickcolor\"",
"]"
] | [
612,
4
] | [
662,
32
] | python | en | ['en', 'error', 'th'] | False |
ColorBar.tickfont | (self) |
Sets the color bar's tick label font
The 'tickfont' property is an instance of Tickfont
that may be specified as:
- An instance of :class:`plotly.graph_objs.scatter.marker.colorbar.Tickfont`
- A dict of string/value properties that will be passed
to the Tick... |
Sets the color bar's tick label font
The 'tickfont' property is an instance of Tickfont
that may be specified as:
- An instance of :class:`plotly.graph_objs.scatter.marker.colorbar.Tickfont`
- A dict of string/value properties that will be passed
to the Tick... | def tickfont(self):
"""
Sets the color bar's tick label font
The 'tickfont' property is an instance of Tickfont
that may be specified as:
- An instance of :class:`plotly.graph_objs.scatter.marker.colorbar.Tickfont`
- A dict of string/value properties that will be... | [
"def",
"tickfont",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"tickfont\"",
"]"
] | [
671,
4
] | [
708,
31
] | python | en | ['en', 'error', 'th'] | False |
ColorBar.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: https://github.com/d3/d3-3.x-api-
refer... |
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: https://github.com/d3/d3-3.x-api-
refer... | 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: https://github... | [
"def",
"tickformat",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"tickformat\"",
"]"
] | [
717,
4
] | [
737,
33
] | python | en | ['en', 'error', 'th'] | False |
ColorBar.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.scatter.marker.colorbar.Tickformatstop
- A list or tuple of dicts of string/value properties that
will be passed to the ... |
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.scatter.marker.colorbar.Tickformatstop
- A list or tuple of dicts of string/value properties that
will be passed to the ... | 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.scatter.marker.colorbar.Tickformatstop
- A list or tuple of dicts of string/value properties t... | [
"def",
"tickformatstops",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"tickformatstops\"",
"]"
] | [
746,
4
] | [
794,
38
] | python | en | ['en', 'error', 'th'] | False |
ColorBar.tickformatstopdefaults | (self) |
When used in a template (as layout.template.data.scatter.marker
.colorbar.tickformatstopdefaults), sets the default property
values to use for elements of
scatter.marker.colorbar.tickformatstops
The 'tickformatstopdefaults' property is an instance of Tickformatstop
... |
When used in a template (as layout.template.data.scatter.marker
.colorbar.tickformatstopdefaults), sets the default property
values to use for elements of
scatter.marker.colorbar.tickformatstops
The 'tickformatstopdefaults' property is an instance of Tickformatstop
... | def tickformatstopdefaults(self):
"""
When used in a template (as layout.template.data.scatter.marker
.colorbar.tickformatstopdefaults), sets the default property
values to use for elements of
scatter.marker.colorbar.tickformatstops
The 'tickformatstopdefaults' prope... | [
"def",
"tickformatstopdefaults",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"tickformatstopdefaults\"",
"]"
] | [
803,
4
] | [
822,
45
] | python | en | ['en', 'error', 'th'] | False |
ColorBar.ticklen | (self) |
Sets the tick length (in px).
The 'ticklen' property is a number and may be specified as:
- An int or float in the interval [0, inf]
Returns
-------
int|float
|
Sets the tick length (in px).
The 'ticklen' property is a number and may be specified as:
- An int or float in the interval [0, inf] | def ticklen(self):
"""
Sets the tick length (in px).
The 'ticklen' property is a number and may be specified as:
- An int or float in the interval [0, inf]
Returns
-------
int|float
"""
return self["ticklen"] | [
"def",
"ticklen",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"ticklen\"",
"]"
] | [
831,
4
] | [
842,
30
] | python | en | ['en', 'error', 'th'] | False |
ColorBar.tickmode | (self) |
Sets the tick mode for this axis. If "auto", the number of
ticks is set via `nticks`. If "linear", the placement of the
ticks is determined by a starting position `tick0` and a tick
step `dtick` ("linear" is the default value if `tick0` and
`dtick` are provided). If "array", the... |
Sets the tick mode for this axis. If "auto", the number of
ticks is set via `nticks`. If "linear", the placement of the
ticks is determined by a starting position `tick0` and a tick
step `dtick` ("linear" is the default value if `tick0` and
`dtick` are provided). If "array", the... | def tickmode(self):
"""
Sets the tick mode for this axis. If "auto", the number of
ticks is set via `nticks`. If "linear", the placement of the
ticks is determined by a starting position `tick0` and a tick
step `dtick` ("linear" is the default value if `tick0` and
`dtick`... | [
"def",
"tickmode",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"tickmode\"",
"]"
] | [
851,
4
] | [
869,
31
] | python | en | ['en', 'error', 'th'] | False |
ColorBar.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\"",
"]"
] | [
878,
4
] | [
890,
33
] | python | en | ['en', 'error', 'th'] | False |
ColorBar.ticks | (self) |
Determines whether ticks are drawn or not. If "", this axis'
ticks are not drawn. If "outside" ("inside"), this axis' are
drawn outside (inside) the axis lines.
The 'ticks' property is an enumeration that may be specified as:
- One of the following enumeration values:
... |
Determines whether ticks are drawn or not. If "", this axis'
ticks are not drawn. If "outside" ("inside"), this axis' are
drawn outside (inside) the axis lines.
The 'ticks' property is an enumeration that may be specified as:
- One of the following enumeration values:
... | def ticks(self):
"""
Determines whether ticks are drawn or not. If "", this axis'
ticks are not drawn. If "outside" ("inside"), this axis' are
drawn outside (inside) the axis lines.
The 'ticks' property is an enumeration that may be specified as:
- One of the follo... | [
"def",
"ticks",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"ticks\"",
"]"
] | [
899,
4
] | [
913,
28
] | python | en | ['en', 'error', 'th'] | False |
ColorBar.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\"",
"]"
] | [
922,
4
] | [
934,
33
] | python | en | ['en', 'error', 'th'] | False |
ColorBar.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\"",
"]"
] | [
943,
4
] | [
956,
31
] | python | en | ['en', 'error', 'th'] | False |
ColorBar.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\"",
"]"
] | [
965,
4
] | [
976,
34
] | python | en | ['en', 'error', 'th'] | False |
ColorBar.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\"",
"]"
] | [
985,
4
] | [
997,
31
] | python | en | ['en', 'error', 'th'] | False |
ColorBar.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\"",
"]"
] | [
1006,
4
] | [
1017,
34
] | python | en | ['en', 'error', 'th'] | False |
ColorBar.tickwidth | (self) |
Sets the tick width (in px).
The 'tickwidth' property is a number and may be specified as:
- An int or float in the interval [0, inf]
Returns
-------
int|float
|
Sets the tick width (in px).
The 'tickwidth' property is a number and may be specified as:
- An int or float in the interval [0, inf] | def tickwidth(self):
"""
Sets the tick width (in px).
The 'tickwidth' property is a number and may be specified as:
- An int or float in the interval [0, inf]
Returns
-------
int|float
"""
return self["tickwidth"] | [
"def",
"tickwidth",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"tickwidth\"",
"]"
] | [
1026,
4
] | [
1037,
32
] | python | en | ['en', 'error', 'th'] | False |
ColorBar.title | (self) |
The 'title' property is an instance of Title
that may be specified as:
- An instance of :class:`plotly.graph_objs.scatter.marker.colorbar.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.scatter.marker.colorbar.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.scatter.marker.colorbar.Title`
- A dict of string/value properties that will be passed
to the Title constructor
... | [
"def",
"title",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"title\"",
"]"
] | [
1046,
4
] | [
1076,
28
] | python | en | ['en', 'error', 'th'] | False |
ColorBar.titlefont | (self) |
Deprecated: Please use scatter.marker.colorbar.title.font
instead. Sets this color bar's 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:
... |
Deprecated: Please use scatter.marker.colorbar.title.font
instead. Sets this color bar's 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):
"""
Deprecated: Please use scatter.marker.colorbar.title.font
instead. Sets this color bar's 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
tha... | [
"def",
"titlefont",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"titlefont\"",
"]"
] | [
1085,
4
] | [
1125,
32
] | python | en | ['en', 'error', 'th'] | False |
ColorBar.titleside | (self) |
Deprecated: Please use scatter.marker.colorbar.title.side
instead. Determines the location of color bar's title with
respect to the color bar. Note that the title's location used
to be set by the now deprecated `titleside` attribute.
The 'side' property is an enumeration th... |
Deprecated: Please use scatter.marker.colorbar.title.side
instead. Determines the location of color bar's title with
respect to the color bar. Note that the title's location used
to be set by the now deprecated `titleside` attribute.
The 'side' property is an enumeration th... | def titleside(self):
"""
Deprecated: Please use scatter.marker.colorbar.title.side
instead. Determines the location of color bar's title with
respect to the color bar. Note that the title's location used
to be set by the now deprecated `titleside` attribute.
The 'sid... | [
"def",
"titleside",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"titleside\"",
"]"
] | [
1134,
4
] | [
1149,
32
] | python | en | ['en', 'error', 'th'] | False |
ColorBar.x | (self) |
Sets the x position of the color bar (in plot fraction).
The 'x' property is a number and may be specified as:
- An int or float in the interval [-2, 3]
Returns
-------
int|float
|
Sets the x position of the color bar (in plot fraction).
The 'x' property is a number and may be specified as:
- An int or float in the interval [-2, 3] | def x(self):
"""
Sets the x position of the color bar (in plot fraction).
The 'x' property is a number and may be specified as:
- An int or float in the interval [-2, 3]
Returns
-------
int|float
"""
return self["x"] | [
"def",
"x",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"x\"",
"]"
] | [
1158,
4
] | [
1169,
24
] | python | en | ['en', 'error', 'th'] | False |
ColorBar.xanchor | (self) |
Sets this color bar's horizontal position anchor. This anchor
binds the `x` position to the "left", "center" or "right" of
the color bar.
The 'xanchor' property is an enumeration that may be specified as:
- One of the following enumeration values:
['left',... |
Sets this color bar's horizontal position anchor. This anchor
binds the `x` position to the "left", "center" or "right" of
the color bar.
The 'xanchor' property is an enumeration that may be specified as:
- One of the following enumeration values:
['left',... | def xanchor(self):
"""
Sets this color bar's horizontal position anchor. This anchor
binds the `x` position to the "left", "center" or "right" of
the color bar.
The 'xanchor' property is an enumeration that may be specified as:
- One of the following enumeration va... | [
"def",
"xanchor",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"xanchor\"",
"]"
] | [
1178,
4
] | [
1192,
30
] | python | en | ['en', 'error', 'th'] | False |
ColorBar.xpad | (self) |
Sets the amount of padding (in px) along the x direction.
The 'xpad' property is a number and may be specified as:
- An int or float in the interval [0, inf]
Returns
-------
int|float
|
Sets the amount of padding (in px) along the x direction.
The 'xpad' property is a number and may be specified as:
- An int or float in the interval [0, inf] | def xpad(self):
"""
Sets the amount of padding (in px) along the x direction.
The 'xpad' property is a number and may be specified as:
- An int or float in the interval [0, inf]
Returns
-------
int|float
"""
return self["xpad"] | [
"def",
"xpad",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"xpad\"",
"]"
] | [
1201,
4
] | [
1212,
27
] | python | en | ['en', 'error', 'th'] | False |
ColorBar.y | (self) |
Sets the y position of the color bar (in plot fraction).
The 'y' property is a number and may be specified as:
- An int or float in the interval [-2, 3]
Returns
-------
int|float
|
Sets the y position of the color bar (in plot fraction).
The 'y' property is a number and may be specified as:
- An int or float in the interval [-2, 3] | def y(self):
"""
Sets the y position of the color bar (in plot fraction).
The 'y' property is a number and may be specified as:
- An int or float in the interval [-2, 3]
Returns
-------
int|float
"""
return self["y"] | [
"def",
"y",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"y\"",
"]"
] | [
1221,
4
] | [
1232,
24
] | python | en | ['en', 'error', 'th'] | False |
ColorBar.yanchor | (self) |
Sets this color bar's vertical position anchor This anchor
binds the `y` position to the "top", "middle" or "bottom" of
the color bar.
The 'yanchor' property is an enumeration that may be specified as:
- One of the following enumeration values:
['top', 'mi... |
Sets this color bar's vertical position anchor This anchor
binds the `y` position to the "top", "middle" or "bottom" of
the color bar.
The 'yanchor' property is an enumeration that may be specified as:
- One of the following enumeration values:
['top', 'mi... | def yanchor(self):
"""
Sets this color bar's vertical position anchor This anchor
binds the `y` position to the "top", "middle" or "bottom" of
the color bar.
The 'yanchor' property is an enumeration that may be specified as:
- One of the following enumeration value... | [
"def",
"yanchor",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"yanchor\"",
"]"
] | [
1241,
4
] | [
1255,
30
] | python | en | ['en', 'error', 'th'] | False |
ColorBar.ypad | (self) |
Sets the amount of padding (in px) along the y direction.
The 'ypad' property is a number and may be specified as:
- An int or float in the interval [0, inf]
Returns
-------
int|float
|
Sets the amount of padding (in px) along the y direction.
The 'ypad' property is a number and may be specified as:
- An int or float in the interval [0, inf] | def ypad(self):
"""
Sets the amount of padding (in px) along the y direction.
The 'ypad' property is a number and may be specified as:
- An int or float in the interval [0, inf]
Returns
-------
int|float
"""
return self["ypad"] | [
"def",
"ypad",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"ypad\"",
"]"
] | [
1264,
4
] | [
1275,
27
] | python | en | ['en', 'error', 'th'] | False |
ColorBar.__init__ | (
self,
arg=None,
bgcolor=None,
bordercolor=None,
borderwidth=None,
dtick=None,
exponentformat=None,
len=None,
lenmode=None,
nticks=None,
outlinecolor=None,
outlinewidth=None,
separatethousands=None,
showexpo... |
Construct a new ColorBar object
Parameters
----------
arg
dict of properties compatible with this constructor or
an instance of
:class:`plotly.graph_objs.scatter.marker.ColorBar`
bgcolor
Sets the color of padded area.
... |
Construct a new ColorBar object
Parameters
----------
arg
dict of properties compatible with this constructor or
an instance of
:class:`plotly.graph_objs.scatter.marker.ColorBar`
bgcolor
Sets the color of padded area.
... | def __init__(
self,
arg=None,
bgcolor=None,
bordercolor=None,
borderwidth=None,
dtick=None,
exponentformat=None,
len=None,
lenmode=None,
nticks=None,
outlinecolor=None,
outlinewidth=None,
separatethousands=None,
... | [
"def",
"__init__",
"(",
"self",
",",
"arg",
"=",
"None",
",",
"bgcolor",
"=",
"None",
",",
"bordercolor",
"=",
"None",
",",
"borderwidth",
"=",
"None",
",",
"dtick",
"=",
"None",
",",
"exponentformat",
"=",
"None",
",",
"len",
"=",
"None",
",",
"lenm... | [
1482,
4
] | [
1941,
34
] | python | en | ['en', 'error', 'th'] | False |
IndyStorage.__init__ | (self, wallet: IndyWallet) |
Initialize a `BasicStorage` instance.
Args:
wallet: The indy wallet instance to use
|
Initialize a `BasicStorage` instance. | def __init__(self, wallet: IndyWallet):
"""
Initialize a `BasicStorage` instance.
Args:
wallet: The indy wallet instance to use
"""
self._wallet = wallet | [
"def",
"__init__",
"(",
"self",
",",
"wallet",
":",
"IndyWallet",
")",
":",
"self",
".",
"_wallet",
"=",
"wallet"
] | [
33,
4
] | [
41,
29
] | python | en | ['en', 'error', 'th'] | False |
IndyStorage.wallet | (self) | Accessor for IndyWallet instance. | Accessor for IndyWallet instance. | def wallet(self) -> IndyWallet:
"""Accessor for IndyWallet instance."""
return self._wallet | [
"def",
"wallet",
"(",
"self",
")",
"->",
"IndyWallet",
":",
"return",
"self",
".",
"_wallet"
] | [
44,
4
] | [
46,
27
] | python | da | ['da', 'da', 'en'] | True |
IndyStorage.add_record | (self, record: StorageRecord) |
Add a new record to the store.
Args:
record: `StorageRecord` to be stored
|
Add a new record to the store. | async def add_record(self, record: StorageRecord):
"""
Add a new record to the store.
Args:
record: `StorageRecord` to be stored
"""
_validate_record(record)
tags_json = json.dumps(record.tags) if record.tags else None
try:
await non_secr... | [
"async",
"def",
"add_record",
"(",
"self",
",",
"record",
":",
"StorageRecord",
")",
":",
"_validate_record",
"(",
"record",
")",
"tags_json",
"=",
"json",
".",
"dumps",
"(",
"record",
".",
"tags",
")",
"if",
"record",
".",
"tags",
"else",
"None",
"try",... | [
48,
4
] | [
65,
43
] | python | en | ['en', 'error', 'th'] | False |
IndyStorage.get_record | (
self, record_type: str, record_id: str, options: Mapping = None
) |
Fetch a record from the store by type and ID.
Args:
record_type: The record type
record_id: The record id
options: A dictionary of backend-specific options
Returns:
A `StorageRecord` instance
Raises:
StorageError: If the rec... |
Fetch a record from the store by type and ID. | async def get_record(
self, record_type: str, record_id: str, options: Mapping = None
) -> StorageRecord:
"""
Fetch a record from the store by type and ID.
Args:
record_type: The record type
record_id: The record id
options: A dictionary of backen... | [
"async",
"def",
"get_record",
"(",
"self",
",",
"record_type",
":",
"str",
",",
"record_id",
":",
"str",
",",
"options",
":",
"Mapping",
"=",
"None",
")",
"->",
"StorageRecord",
":",
"if",
"not",
"record_type",
":",
"raise",
"StorageError",
"(",
"\"Record ... | [
67,
4
] | [
115,
9
] | python | en | ['en', 'error', 'th'] | False |
IndyStorage.update_record_value | (self, record: StorageRecord, value: str) |
Update an existing stored record's value.
Args:
record: `StorageRecord` to update
value: The new value
Raises:
StorageNotFoundError: If record not found
StorageError: If a libindy error occurs
|
Update an existing stored record's value. | async def update_record_value(self, record: StorageRecord, value: str):
"""
Update an existing stored record's value.
Args:
record: `StorageRecord` to update
value: The new value
Raises:
StorageNotFoundError: If record not found
StorageEr... | [
"async",
"def",
"update_record_value",
"(",
"self",
",",
"record",
":",
"StorageRecord",
",",
"value",
":",
"str",
")",
":",
"_validate_record",
"(",
"record",
")",
"try",
":",
"await",
"non_secrets",
".",
"update_wallet_record_value",
"(",
"self",
".",
"_wall... | [
117,
4
] | [
138,
43
] | python | en | ['en', 'error', 'th'] | False |
IndyStorage.update_record_tags | (self, record: StorageRecord, tags: Mapping) |
Update an existing stored record's tags.
Args:
record: `StorageRecord` to update
tags: New tags
Raises:
StorageNotFoundError: If record not found
StorageError: If a libindy error occurs
|
Update an existing stored record's tags. | async def update_record_tags(self, record: StorageRecord, tags: Mapping):
"""
Update an existing stored record's tags.
Args:
record: `StorageRecord` to update
tags: New tags
Raises:
StorageNotFoundError: If record not found
StorageError: ... | [
"async",
"def",
"update_record_tags",
"(",
"self",
",",
"record",
":",
"StorageRecord",
",",
"tags",
":",
"Mapping",
")",
":",
"_validate_record",
"(",
"record",
")",
"tags_json",
"=",
"json",
".",
"dumps",
"(",
"tags",
")",
"if",
"tags",
"else",
"\"{}\"",... | [
140,
4
] | [
162,
43
] | python | en | ['en', 'error', 'th'] | False |
IndyStorage.delete_record_tags | (
self, record: StorageRecord, tags: (Sequence, Mapping)
) |
Update an existing stored record's tags.
Args:
record: `StorageRecord` to delete
tags: Tags
|
Update an existing stored record's tags. | async def delete_record_tags(
self, record: StorageRecord, tags: (Sequence, Mapping)
):
"""
Update an existing stored record's tags.
Args:
record: `StorageRecord` to delete
tags: Tags
"""
_validate_record(record)
if tags:
... | [
"async",
"def",
"delete_record_tags",
"(",
"self",
",",
"record",
":",
"StorageRecord",
",",
"tags",
":",
"(",
"Sequence",
",",
"Mapping",
")",
")",
":",
"_validate_record",
"(",
"record",
")",
"if",
"tags",
":",
"# check existence of record first (otherwise no ex... | [
164,
4
] | [
183,
13
] | python | en | ['en', 'error', 'th'] | False |
IndyStorage.delete_record | (self, record: StorageRecord) |
Delete a record.
Args:
record: `StorageRecord` to delete
Raises:
StorageNotFoundError: If record not found
StorageError: If a libindy error occurs
|
Delete a record. | async def delete_record(self, record: StorageRecord):
"""
Delete a record.
Args:
record: `StorageRecord` to delete
Raises:
StorageNotFoundError: If record not found
StorageError: If a libindy error occurs
"""
_validate_record(record)... | [
"async",
"def",
"delete_record",
"(",
"self",
",",
"record",
":",
"StorageRecord",
")",
":",
"_validate_record",
"(",
"record",
")",
"try",
":",
"await",
"non_secrets",
".",
"delete_wallet_record",
"(",
"self",
".",
"_wallet",
".",
"handle",
",",
"record",
"... | [
185,
4
] | [
205,
43
] | python | en | ['en', 'error', 'th'] | False |
IndyStorage.search_records | (
self,
type_filter: str,
tag_query: Mapping = None,
page_size: int = None,
options: Mapping = None,
) |
Search stored records.
Args:
type_filter: Filter string
tag_query: Tags to query
page_size: Page size
options: Dictionary of backend-specific options
Returns:
An instance of `IndyStorageRecordSearch`
|
Search stored records. | def search_records(
self,
type_filter: str,
tag_query: Mapping = None,
page_size: int = None,
options: Mapping = None,
) -> "IndyStorageRecordSearch":
"""
Search stored records.
Args:
type_filter: Filter string
tag_query: Tags ... | [
"def",
"search_records",
"(",
"self",
",",
"type_filter",
":",
"str",
",",
"tag_query",
":",
"Mapping",
"=",
"None",
",",
"page_size",
":",
"int",
"=",
"None",
",",
"options",
":",
"Mapping",
"=",
"None",
",",
")",
"->",
"\"IndyStorageRecordSearch\"",
":",... | [
207,
4
] | [
227,
88
] | python | en | ['en', 'error', 'th'] | False |
IndyStorageRecordSearch.__init__ | (
self,
store: IndyStorage,
type_filter: str,
tag_query: Mapping,
page_size: int = None,
options: Mapping = None,
) |
Initialize a `IndyStorageRecordSearch` instance.
Args:
store: `BaseStorage` to search
type_filter: Filter string
tag_query: Tags to search
page_size: Size of page to return
|
Initialize a `IndyStorageRecordSearch` instance. | def __init__(
self,
store: IndyStorage,
type_filter: str,
tag_query: Mapping,
page_size: int = None,
options: Mapping = None,
):
"""
Initialize a `IndyStorageRecordSearch` instance.
Args:
store: `BaseStorage` to search
... | [
"def",
"__init__",
"(",
"self",
",",
"store",
":",
"IndyStorage",
",",
"type_filter",
":",
"str",
",",
"tag_query",
":",
"Mapping",
",",
"page_size",
":",
"int",
"=",
"None",
",",
"options",
":",
"Mapping",
"=",
"None",
",",
")",
":",
"super",
"(",
"... | [
233,
4
] | [
254,
27
] | python | en | ['en', 'error', 'th'] | False |
IndyStorageRecordSearch.opened | (self) |
Accessor for open state.
Returns:
True if opened, else False
|
Accessor for open state. | def opened(self) -> bool:
"""
Accessor for open state.
Returns:
True if opened, else False
"""
return self._handle is not None | [
"def",
"opened",
"(",
"self",
")",
"->",
"bool",
":",
"return",
"self",
".",
"_handle",
"is",
"not",
"None"
] | [
257,
4
] | [
265,
39
] | python | en | ['en', 'error', 'th'] | False |
IndyStorageRecordSearch.handle | (self) |
Accessor for search handle.
Returns:
The handle
|
Accessor for search handle. | def handle(self):
"""
Accessor for search handle.
Returns:
The handle
"""
return self._handle | [
"def",
"handle",
"(",
"self",
")",
":",
"return",
"self",
".",
"_handle"
] | [
268,
4
] | [
276,
27
] | python | en | ['en', 'error', 'th'] | False |
IndyStorageRecordSearch.fetch | (self, max_count: int) |
Fetch the next list of results from the store.
Args:
max_count: Max number of records to return
Returns:
A list of `StorageRecord`
Raises:
StorageSearchError: If the search query has not been opened
|
Fetch the next list of results from the store. | async def fetch(self, max_count: int) -> Sequence[StorageRecord]:
"""
Fetch the next list of results from the store.
Args:
max_count: Max number of records to return
Returns:
A list of `StorageRecord`
Raises:
StorageSearchError: If the searc... | [
"async",
"def",
"fetch",
"(",
"self",
",",
"max_count",
":",
"int",
")",
"->",
"Sequence",
"[",
"StorageRecord",
"]",
":",
"if",
"not",
"self",
".",
"opened",
":",
"raise",
"StorageSearchError",
"(",
"\"Search query has not been opened\"",
")",
"result_json",
... | [
278,
4
] | [
309,
18
] | python | en | ['en', 'error', 'th'] | False |
IndyStorageRecordSearch.open | (self) | Start the search query. | Start the search query. | async def open(self):
"""Start the search query."""
query_json = json.dumps(self.tag_query or {})
options_json = json.dumps(
{
"retrieveRecords": True,
"retrieveTotalCount": False,
"retrieveType": False,
"retrieveValue":... | [
"async",
"def",
"open",
"(",
"self",
")",
":",
"query_json",
"=",
"json",
".",
"dumps",
"(",
"self",
".",
"tag_query",
"or",
"{",
"}",
")",
"options_json",
"=",
"json",
".",
"dumps",
"(",
"{",
"\"retrieveRecords\"",
":",
"True",
",",
"\"retrieveTotalCoun... | [
311,
4
] | [
325,
9
] | python | en | ['en', 'en', 'en'] | True |
IndyStorageRecordSearch.close | (self) | Dispose of the search query. | Dispose of the search query. | async def close(self):
"""Dispose of the search query."""
if self._handle:
await non_secrets.close_wallet_search(self._handle)
self._handle = None | [
"async",
"def",
"close",
"(",
"self",
")",
":",
"if",
"self",
".",
"_handle",
":",
"await",
"non_secrets",
".",
"close_wallet_search",
"(",
"self",
".",
"_handle",
")",
"self",
".",
"_handle",
"=",
"None"
] | [
327,
4
] | [
331,
31
] | python | en | ['en', 'en', 'en'] | True |
Selected.marker | (self) |
The 'marker' property is an instance of Marker
that may be specified as:
- An instance of :class:`plotly.graph_objs.scatterpolargl.selected.Marker`
- A dict of string/value properties that will be passed
to the Marker constructor
Supported dict propertie... |
The 'marker' property is an instance of Marker
that may be specified as:
- An instance of :class:`plotly.graph_objs.scatterpolargl.selected.Marker`
- A dict of string/value properties that will be passed
to the Marker constructor
Supported dict propertie... | def marker(self):
"""
The 'marker' property is an instance of Marker
that may be specified as:
- An instance of :class:`plotly.graph_objs.scatterpolargl.selected.Marker`
- A dict of string/value properties that will be passed
to the Marker constructor
... | [
"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.scatterpolargl.selected.Textfont`
- A dict of string/value properties that will be passed
to the Textfont constructor
Supported dict p... |
The 'textfont' property is an instance of Textfont
that may be specified as:
- An instance of :class:`plotly.graph_objs.scatterpolargl.selected.Textfont`
- A dict of string/value properties that will be passed
to the Textfont constructor
Supported dict p... | def textfont(self):
"""
The 'textfont' property is an instance of Textfont
that may be specified as:
- An instance of :class:`plotly.graph_objs.scatterpolargl.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.scatterpolargl.Selected`
marker
:class:`plotly.graph_objects.scatter... |
Construct a new Selected object
Parameters
----------
arg
dict of properties compatible with this constructor or
an instance of
:class:`plotly.graph_objs.scatterpolargl.Selected`
marker
:class:`plotly.graph_objects.scatter... | 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.scatterpo... | [
"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 |
validate_index | (index_vals) |
Validates if a list contains all numbers or all strings
:raises: (PlotlyError) If there are any two items in the list whose
types differ
|
Validates if a list contains all numbers or all strings | def validate_index(index_vals):
"""
Validates if a list contains all numbers or all strings
:raises: (PlotlyError) If there are any two items in the list whose
types differ
"""
from numbers import Number
if isinstance(index_vals[0], Number):
if not all(isinstance(item, Number) ... | [
"def",
"validate_index",
"(",
"index_vals",
")",
":",
"from",
"numbers",
"import",
"Number",
"if",
"isinstance",
"(",
"index_vals",
"[",
"0",
"]",
",",
"Number",
")",
":",
"if",
"not",
"all",
"(",
"isinstance",
"(",
"item",
",",
"Number",
")",
"for",
"... | [
31,
0
] | [
56,
13
] | python | en | ['en', 'error', 'th'] | False |
validate_dataframe | (array) |
Validates all strings or numbers in each dataframe column
:raises: (PlotlyError) If there are any two items in any list whose
types differ
|
Validates all strings or numbers in each dataframe column | def validate_dataframe(array):
"""
Validates all strings or numbers in each dataframe column
:raises: (PlotlyError) If there are any two items in any list whose
types differ
"""
from numbers import Number
for vector in array:
if isinstance(vector[0], Number):
if not... | [
"def",
"validate_dataframe",
"(",
"array",
")",
":",
"from",
"numbers",
"import",
"Number",
"for",
"vector",
"in",
"array",
":",
"if",
"isinstance",
"(",
"vector",
"[",
"0",
"]",
",",
"Number",
")",
":",
"if",
"not",
"all",
"(",
"isinstance",
"(",
"ite... | [
59,
0
] | [
84,
17
] | python | en | ['en', 'error', 'th'] | False |
validate_equal_length | (*args) |
Validates that data lists or ndarrays are the same length.
:raises: (PlotlyError) If any data lists are not the same length.
|
Validates that data lists or ndarrays are the same length. | def validate_equal_length(*args):
"""
Validates that data lists or ndarrays are the same length.
:raises: (PlotlyError) If any data lists are not the same length.
"""
length = len(args[0])
if any(len(lst) != length for lst in args):
raise exceptions.PlotlyError(
"Oops! Your ... | [
"def",
"validate_equal_length",
"(",
"*",
"args",
")",
":",
"length",
"=",
"len",
"(",
"args",
"[",
"0",
"]",
")",
"if",
"any",
"(",
"len",
"(",
"lst",
")",
"!=",
"length",
"for",
"lst",
"in",
"args",
")",
":",
"raise",
"exceptions",
".",
"PlotlyEr... | [
87,
0
] | [
97,
9
] | python | en | ['en', 'error', 'th'] | False |
validate_positive_scalars | (**kwargs) |
Validates that all values given in key/val pairs are positive.
Accepts kwargs to improve Exception messages.
:raises: (PlotlyError) If any value is < 0 or raises.
|
Validates that all values given in key/val pairs are positive. | def validate_positive_scalars(**kwargs):
"""
Validates that all values given in key/val pairs are positive.
Accepts kwargs to improve Exception messages.
:raises: (PlotlyError) If any value is < 0 or raises.
"""
for key, val in kwargs.items():
try:
if val <= 0:
... | [
"def",
"validate_positive_scalars",
"(",
"*",
"*",
"kwargs",
")",
":",
"for",
"key",
",",
"val",
"in",
"kwargs",
".",
"items",
"(",
")",
":",
"try",
":",
"if",
"val",
"<=",
"0",
":",
"raise",
"ValueError",
"(",
"\"{} must be > 0, got {}\"",
".",
"format"... | [
100,
0
] | [
113,
88
] | python | en | ['en', 'error', 'th'] | False |
flatten | (array) |
Uses list comprehension to flatten array
:param (array): An iterable to flatten
:raises (PlotlyError): If iterable is not nested.
:rtype (list): The flattened list.
|
Uses list comprehension to flatten array | def flatten(array):
"""
Uses list comprehension to flatten array
:param (array): An iterable to flatten
:raises (PlotlyError): If iterable is not nested.
:rtype (list): The flattened list.
"""
try:
return [item for sublist in array for item in sublist]
except TypeError:
... | [
"def",
"flatten",
"(",
"array",
")",
":",
"try",
":",
"return",
"[",
"item",
"for",
"sublist",
"in",
"array",
"for",
"item",
"in",
"sublist",
"]",
"except",
"TypeError",
":",
"raise",
"exceptions",
".",
"PlotlyError",
"(",
"\"Your data array could not be \"",
... | [
116,
0
] | [
131,
9
] | python | en | ['en', 'error', 'th'] | False |
endpts_to_intervals | (endpts) |
Returns a list of intervals for categorical colormaps
Accepts a list or tuple of sequentially increasing numbers and returns
a list representation of the mathematical intervals with these numbers
as endpoints. For example, [1, 6] returns [[-inf, 1], [1, 6], [6, inf]]
:raises: (PlotlyError) If inp... |
Returns a list of intervals for categorical colormaps | def endpts_to_intervals(endpts):
"""
Returns a list of intervals for categorical colormaps
Accepts a list or tuple of sequentially increasing numbers and returns
a list representation of the mathematical intervals with these numbers
as endpoints. For example, [1, 6] returns [[-inf, 1], [1, 6], [6, ... | [
"def",
"endpts_to_intervals",
"(",
"endpts",
")",
":",
"length",
"=",
"len",
"(",
"endpts",
")",
"# Check if endpts is a list or tuple",
"if",
"not",
"(",
"isinstance",
"(",
"endpts",
",",
"(",
"tuple",
")",
")",
"or",
"isinstance",
"(",
"endpts",
",",
"(",
... | [
134,
0
] | [
184,
24
] | python | en | ['en', 'error', 'th'] | False |
annotation_dict_for_label | (
text,
lane,
num_of_lanes,
subplot_spacing,
row_col="col",
flipped=True,
right_side=True,
text_color="#0f0f0f",
) |
Returns annotation dict for label of n labels of a 1xn or nx1 subplot.
:param (str) text: the text for a label.
:param (int) lane: the label number for text. From 1 to n inclusive.
:param (int) num_of_lanes: the number 'n' of rows or columns in subplot.
:param (float) subplot_spacing: the value fo... |
Returns annotation dict for label of n labels of a 1xn or nx1 subplot. | def annotation_dict_for_label(
text,
lane,
num_of_lanes,
subplot_spacing,
row_col="col",
flipped=True,
right_side=True,
text_color="#0f0f0f",
):
"""
Returns annotation dict for label of n labels of a 1xn or nx1 subplot.
:param (str) text: the text for a label.
:param (in... | [
"def",
"annotation_dict_for_label",
"(",
"text",
",",
"lane",
",",
"num_of_lanes",
",",
"subplot_spacing",
",",
"row_col",
"=",
"\"col\"",
",",
"flipped",
"=",
"True",
",",
"right_side",
"=",
"True",
",",
"text_color",
"=",
"\"#0f0f0f\"",
",",
")",
":",
"l",... | [
187,
0
] | [
255,
26
] | python | en | ['en', 'error', 'th'] | False |
list_of_options | (iterable, conj="and", period=True) |
Returns an English listing of objects seperated by commas ','
For example, ['foo', 'bar', 'baz'] becomes 'foo, bar and baz'
if the conjunction 'and' is selected.
|
Returns an English listing of objects seperated by commas ',' | def list_of_options(iterable, conj="and", period=True):
"""
Returns an English listing of objects seperated by commas ','
For example, ['foo', 'bar', 'baz'] becomes 'foo, bar and baz'
if the conjunction 'and' is selected.
"""
if len(iterable) < 2:
raise exceptions.PlotlyError(
... | [
"def",
"list_of_options",
"(",
"iterable",
",",
"conj",
"=",
"\"and\"",
",",
"period",
"=",
"True",
")",
":",
"if",
"len",
"(",
"iterable",
")",
"<",
"2",
":",
"raise",
"exceptions",
".",
"PlotlyError",
"(",
"\"Your list or tuple must contain at least 2 items.\"... | [
258,
0
] | [
270,
37
] | python | en | ['en', 'error', 'th'] | False |
TurkLikeAgent.observe | (self, observation, increment_turn: bool = True) |
Need to protect the observe also with a semaphore for composed models where an
act() may be called within an observe()
|
Need to protect the observe also with a semaphore for composed models where an
act() may be called within an observe()
| def observe(self, observation, increment_turn: bool = True):
"""
Need to protect the observe also with a semaphore for composed models where an
act() may be called within an observe()
"""
logging.info(
f'{self.__class__.__name__}: In observe() before semaphore, self.t... | [
"def",
"observe",
"(",
"self",
",",
"observation",
",",
"increment_turn",
":",
"bool",
"=",
"True",
")",
":",
"logging",
".",
"info",
"(",
"f'{self.__class__.__name__}: In observe() before semaphore, self.turn_idx is {self.turn_idx} and observation is {observation}'",
")",
"n... | [
60,
4
] | [
79,
30
] | python | en | ['en', 'error', 'th'] | False |
TurkLikeAgent.get_bot_agents | (
args: DictConfig, model_opts: Dict[str, str], no_cuda=False
) |
Return shared bot agents.
Pass in model opts with the `model_opts` arg, where `model_opts` is a dictionary
whose keys are model names and whose values are strings that specify model
params (i.e. `--model image_seq2seq`).
|
Return shared bot agents. | def get_bot_agents(
args: DictConfig, model_opts: Dict[str, str], no_cuda=False
) -> Dict[str, dict]:
"""
Return shared bot agents.
Pass in model opts with the `model_opts` arg, where `model_opts` is a dictionary
whose keys are model names and whose values are strings that s... | [
"def",
"get_bot_agents",
"(",
"args",
":",
"DictConfig",
",",
"model_opts",
":",
"Dict",
"[",
"str",
",",
"str",
"]",
",",
"no_cuda",
"=",
"False",
")",
"->",
"Dict",
"[",
"str",
",",
"dict",
"]",
":",
"# Set up overrides",
"model_overrides",
"=",
"{",
... | [
88,
4
] | [
127,
32
] | python | en | ['en', 'error', 'th'] | False |
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
] | [
63,
28
] | 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\"",
"]"
] | [
72,
4
] | [
94,
29
] | 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]
Returns
-------
int|float
|
The 'size' property is a number and may be specified as:
- An int or float in the interval [1, inf] | def size(self):
"""
The 'size' property is a number and may be specified as:
- An int or float in the interval [1, inf]
Returns
-------
int|float
"""
return self["size"] | [
"def",
"size",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"size\"",
"]"
] | [
103,
4
] | [
112,
27
] | python | en | ['en', 'error', 'th'] | False |
Font.__init__ | (self, arg=None, color=None, family=None, size=None, **kwargs) |
Construct a new Font object
Set the font used to display the delta
Parameters
----------
arg
dict of properties compatible with this constructor or
an instance of
:class:`plotly.graph_objs.indicator.delta.Font`
color
... |
Construct a new Font object
Set the font used to display the delta | def __init__(self, arg=None, color=None, family=None, size=None, **kwargs):
"""
Construct a new Font object
Set the font used to display the delta
Parameters
----------
arg
dict of properties compatible with this constructor or
an instanc... | [
"def",
"__init__",
"(",
"self",
",",
"arg",
"=",
"None",
",",
"color",
"=",
"None",
",",
"family",
"=",
"None",
",",
"size",
"=",
"None",
",",
"*",
"*",
"kwargs",
")",
":",
"super",
"(",
"Font",
",",
"self",
")",
".",
"__init__",
"(",
"\"font\"",... | [
143,
4
] | [
226,
34
] | python | en | ['en', 'error', 'th'] | False |
InboundTransportManager.__init__ | (
self,
context: InjectionContext,
receive_inbound: Coroutine,
return_inbound: Callable = None,
) | Initialize an `InboundTransportManager` instance. | Initialize an `InboundTransportManager` instance. | def __init__(
self,
context: InjectionContext,
receive_inbound: Coroutine,
return_inbound: Callable = None,
):
"""Initialize an `InboundTransportManager` instance."""
self.context = context
self.max_message_size = 0
self.receive_inbound = receive_inbou... | [
"def",
"__init__",
"(",
"self",
",",
"context",
":",
"InjectionContext",
",",
"receive_inbound",
":",
"Coroutine",
",",
"return_inbound",
":",
"Callable",
"=",
"None",
",",
")",
":",
"self",
".",
"context",
"=",
"context",
"self",
".",
"max_message_size",
"=... | [
31,
4
] | [
47,
52
] | python | en | ['en', 'en', 'en'] | True |
InboundTransportManager.setup | (self) | Perform setup operations. | Perform setup operations. | async def setup(self):
"""Perform setup operations."""
# Load config settings
if self.context.settings.get("transport.max_message_size"):
self.max_message_size = self.context.settings["transport.max_message_size"]
inbound_transports = (
self.context.settings.get(... | [
"async",
"def",
"setup",
"(",
"self",
")",
":",
"# Load config settings",
"if",
"self",
".",
"context",
".",
"settings",
".",
"get",
"(",
"\"transport.max_message_size\"",
")",
":",
"self",
".",
"max_message_size",
"=",
"self",
".",
"context",
".",
"settings",... | [
49,
4
] | [
66,
52
] | python | en | ['en', 'bg', 'en'] | True |
InboundTransportManager.register | (self, config: InboundTransportConfiguration) |
Register transport module.
Args:
config: The inbound transport configuration
|
Register transport module. | def register(self, config: InboundTransportConfiguration) -> str:
"""
Register transport module.
Args:
config: The inbound transport configuration
"""
try:
imported_class = ClassLoader.load_subclass_of(
BaseInboundTransport, config.module... | [
"def",
"register",
"(",
"self",
",",
"config",
":",
"InboundTransportConfiguration",
")",
"->",
"str",
":",
"try",
":",
"imported_class",
"=",
"ClassLoader",
".",
"load_subclass_of",
"(",
"BaseInboundTransport",
",",
"config",
".",
"module",
",",
"MODULE_BASE_PATH... | [
70,
4
] | [
95,
9
] | python | en | ['en', 'error', 'th'] | False |
InboundTransportManager.register_transport | (
self, transport: BaseInboundTransport, transport_id: str
) |
Register a new inbound transport class.
Args:
transport: Transport instance to register
transport_id: The transport ID to register
|
Register a new inbound transport class. | def register_transport(
self, transport: BaseInboundTransport, transport_id: str
) -> str:
"""
Register a new inbound transport class.
Args:
transport: Transport instance to register
transport_id: The transport ID to register
"""
self.registe... | [
"def",
"register_transport",
"(",
"self",
",",
"transport",
":",
"BaseInboundTransport",
",",
"transport_id",
":",
"str",
")",
"->",
"str",
":",
"self",
".",
"registered_transports",
"[",
"transport_id",
"]",
"=",
"transport"
] | [
97,
4
] | [
108,
60
] | python | en | ['en', 'error', 'th'] | False |
InboundTransportManager.start_transport | (self, transport_id: str) |
Start a registered inbound transport.
Args:
transport_id: ID for the inbound transport to start
|
Start a registered inbound transport. | async def start_transport(self, transport_id: str):
"""
Start a registered inbound transport.
Args:
transport_id: ID for the inbound transport to start
"""
transport = self.registered_transports[transport_id]
await transport.start()
self.running_tran... | [
"async",
"def",
"start_transport",
"(",
"self",
",",
"transport_id",
":",
"str",
")",
":",
"transport",
"=",
"self",
".",
"registered_transports",
"[",
"transport_id",
"]",
"await",
"transport",
".",
"start",
"(",
")",
"self",
".",
"running_transports",
"[",
... | [
110,
4
] | [
120,
57
] | python | en | ['en', 'error', 'th'] | False |
InboundTransportManager.get_transport_instance | (self, transport_id: str) | Get an instance of a running transport by ID. | Get an instance of a running transport by ID. | def get_transport_instance(self, transport_id: str) -> BaseInboundTransport:
"""Get an instance of a running transport by ID."""
return self.running_transports[transport_id] | [
"def",
"get_transport_instance",
"(",
"self",
",",
"transport_id",
":",
"str",
")",
"->",
"BaseInboundTransport",
":",
"return",
"self",
".",
"running_transports",
"[",
"transport_id",
"]"
] | [
122,
4
] | [
124,
52
] | python | en | ['en', 'en', 'en'] | True |
InboundTransportManager.start | (self) | Start all registered transports. | Start all registered transports. | async def start(self):
"""Start all registered transports."""
for transport_id in self.registered_transports:
self.task_queue.run(self.start_transport(transport_id)) | [
"async",
"def",
"start",
"(",
"self",
")",
":",
"for",
"transport_id",
"in",
"self",
".",
"registered_transports",
":",
"self",
".",
"task_queue",
".",
"run",
"(",
"self",
".",
"start_transport",
"(",
"transport_id",
")",
")"
] | [
126,
4
] | [
129,
67
] | python | en | ['en', 'no', 'en'] | True |
InboundTransportManager.stop | (self, wait: bool = True) | Stop all registered transports. | Stop all registered transports. | async def stop(self, wait: bool = True):
"""Stop all registered transports."""
await self.task_queue.complete(None if wait else 0)
for transport in self.running_transports.values():
await transport.stop() | [
"async",
"def",
"stop",
"(",
"self",
",",
"wait",
":",
"bool",
"=",
"True",
")",
":",
"await",
"self",
".",
"task_queue",
".",
"complete",
"(",
"None",
"if",
"wait",
"else",
"0",
")",
"for",
"transport",
"in",
"self",
".",
"running_transports",
".",
... | [
131,
4
] | [
135,
34
] | python | en | ['en', 'en', 'en'] | True |
InboundTransportManager.create_session | (
self,
transport_type: str,
*,
accept_undelivered: bool = False,
can_respond: bool = False,
client_info: dict = None,
wire_format: BaseWireFormat = None,
) |
Create a new inbound session.
Args:
transport_type: The inbound transport identifier
accept_undelivered: Flag for accepting undelivered messages
can_respond: Flag indicating that the transport can send responses
client_info: An optional dict describing t... |
Create a new inbound session. | async def create_session(
self,
transport_type: str,
*,
accept_undelivered: bool = False,
can_respond: bool = False,
client_info: dict = None,
wire_format: BaseWireFormat = None,
):
"""
Create a new inbound session.
Args:
t... | [
"async",
"def",
"create_session",
"(",
"self",
",",
"transport_type",
":",
"str",
",",
"*",
",",
"accept_undelivered",
":",
"bool",
"=",
"False",
",",
"can_respond",
":",
"bool",
"=",
"False",
",",
"client_info",
":",
"dict",
"=",
"None",
",",
"wire_format... | [
137,
4
] | [
172,
22
] | python | en | ['en', 'error', 'th'] | False |
InboundTransportManager.dispatch_complete | (self, message: InboundMessage, completed: CompletedTask) | Handle completion of message dispatch. | Handle completion of message dispatch. | def dispatch_complete(self, message: InboundMessage, completed: CompletedTask):
"""Handle completion of message dispatch."""
session: InboundSession = self.sessions.get(message.session_id)
if session and session.accept_undelivered and not session.response_buffered:
self.process_undel... | [
"def",
"dispatch_complete",
"(",
"self",
",",
"message",
":",
"InboundMessage",
",",
"completed",
":",
"CompletedTask",
")",
":",
"session",
":",
"InboundSession",
"=",
"self",
".",
"sessions",
".",
"get",
"(",
"message",
".",
"session_id",
")",
"if",
"sessi... | [
174,
4
] | [
178,
45
] | python | en | ['en', 'en', 'en'] | True |
InboundTransportManager.closed_session | (self, session: InboundSession) |
Clean up a closed session.
Returns an undelivered message to the caller if possible.
|
Clean up a closed session. | def closed_session(self, session: InboundSession):
"""
Clean up a closed session.
Returns an undelivered message to the caller if possible.
"""
if session.session_id in self.sessions:
del self.sessions[session.session_id]
if self.session_limit:
... | [
"def",
"closed_session",
"(",
"self",
",",
"session",
":",
"InboundSession",
")",
":",
"if",
"session",
".",
"session_id",
"in",
"self",
".",
"sessions",
":",
"del",
"self",
".",
"sessions",
"[",
"session",
".",
"session_id",
"]",
"if",
"self",
".",
"ses... | [
180,
4
] | [
194,
87
] | python | en | ['en', 'error', 'th'] | False |
InboundTransportManager.return_to_session | (self, outbound: OutboundMessage) | Return an outbound message via an open session, if possible. | Return an outbound message via an open session, if possible. | def return_to_session(self, outbound: OutboundMessage) -> bool:
"""Return an outbound message via an open session, if possible."""
accepted = False
# prefer the same session ID
if outbound.reply_session_id and outbound.reply_session_id in self.sessions:
session = self.sessio... | [
"def",
"return_to_session",
"(",
"self",
",",
"outbound",
":",
"OutboundMessage",
")",
"->",
"bool",
":",
"accepted",
"=",
"False",
"# prefer the same session ID",
"if",
"outbound",
".",
"reply_session_id",
"and",
"outbound",
".",
"reply_session_id",
"in",
"self",
... | [
196,
4
] | [
214,
23
] | python | en | ['en', 'en', 'en'] | True |
InboundTransportManager.return_undelivered | (self, outbound: OutboundMessage) |
Add an undelivered message to the undelivered queue.
At this point the message could not be associated with an inbound
session and could not be delivered via an outbound transport.
|
Add an undelivered message to the undelivered queue. | def return_undelivered(self, outbound: OutboundMessage) -> bool:
"""
Add an undelivered message to the undelivered queue.
At this point the message could not be associated with an inbound
session and could not be delivered via an outbound transport.
"""
if self.undeliver... | [
"def",
"return_undelivered",
"(",
"self",
",",
"outbound",
":",
"OutboundMessage",
")",
"->",
"bool",
":",
"if",
"self",
".",
"undelivered_queue",
":",
"self",
".",
"undelivered_queue",
".",
"add_message",
"(",
"outbound",
")",
"return",
"True",
"return",
"Fal... | [
216,
4
] | [
226,
20
] | python | en | ['en', 'error', 'th'] | False |
InboundTransportManager.process_undelivered | (self, session: InboundSession) |
Interact with undelivered queue to find applicable messages.
Args:
session: The inbound session
|
Interact with undelivered queue to find applicable messages. | def process_undelivered(self, session: InboundSession):
"""
Interact with undelivered queue to find applicable messages.
Args:
session: The inbound session
"""
if session and session.can_respond and self.undelivered_queue:
for key in session.reply_verkeys... | [
"def",
"process_undelivered",
"(",
"self",
",",
"session",
":",
"InboundSession",
")",
":",
"if",
"session",
"and",
"session",
".",
"can_respond",
"and",
"self",
".",
"undelivered_queue",
":",
"for",
"key",
"in",
"session",
".",
"reply_verkeys",
":",
"for",
... | [
228,
4
] | [
246,
25
] | python | en | ['en', 'error', 'th'] | False |
Parcoords.customdata | (self) |
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
DOM elements
The 'customdata' property is an array that may be specified as a tuple,
list,... |
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
DOM elements
The 'customdata' property is an array that may be specified as a tuple,
list,... | def customdata(self):
"""
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
DOM elements
The 'customdata' property is an array that may be sp... | [
"def",
"customdata",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"customdata\"",
"]"
] | [
37,
4
] | [
51,
33
] | python | en | ['en', 'error', 'th'] | False |
Parcoords.customdatasrc | (self) |
Sets the source reference on Chart Studio Cloud for customdata
.
The 'customdatasrc' 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 customdata
.
The 'customdatasrc' property must be specified as a string or
as a plotly.grid_objs.Column object | def customdatasrc(self):
"""
Sets the source reference on Chart Studio Cloud for customdata
.
The 'customdatasrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
"""
return self["cust... | [
"def",
"customdatasrc",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"customdatasrc\"",
"]"
] | [
60,
4
] | [
72,
36
] | python | en | ['en', 'error', 'th'] | False |
Parcoords.dimensions | (self) |
The dimensions (variables) of the parallel coordinates chart.
2..60 dimensions are supported.
The 'dimensions' property is a tuple of instances of
Dimension that may be specified as:
- A list or tuple of instances of plotly.graph_objs.parcoords.Dimension
- A lis... |
The dimensions (variables) of the parallel coordinates chart.
2..60 dimensions are supported.
The 'dimensions' property is a tuple of instances of
Dimension that may be specified as:
- A list or tuple of instances of plotly.graph_objs.parcoords.Dimension
- A lis... | def dimensions(self):
"""
The dimensions (variables) of the parallel coordinates chart.
2..60 dimensions are supported.
The 'dimensions' property is a tuple of instances of
Dimension that may be specified as:
- A list or tuple of instances of plotly.graph_objs.parc... | [
"def",
"dimensions",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"dimensions\"",
"]"
] | [
81,
4
] | [
176,
33
] | python | en | ['en', 'error', 'th'] | False |
Parcoords.dimensiondefaults | (self) |
When used in a template (as
layout.template.data.parcoords.dimensiondefaults), sets the
default property values to use for elements of
parcoords.dimensions
The 'dimensiondefaults' property is an instance of Dimension
that may be specified as:
- An instance... |
When used in a template (as
layout.template.data.parcoords.dimensiondefaults), sets the
default property values to use for elements of
parcoords.dimensions
The 'dimensiondefaults' property is an instance of Dimension
that may be specified as:
- An instance... | def dimensiondefaults(self):
"""
When used in a template (as
layout.template.data.parcoords.dimensiondefaults), sets the
default property values to use for elements of
parcoords.dimensions
The 'dimensiondefaults' property is an instance of Dimension
that may ... | [
"def",
"dimensiondefaults",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"dimensiondefaults\"",
"]"
] | [
185,
4
] | [
204,
40
] | python | en | ['en', 'error', 'th'] | False |
Parcoords.domain | (self) |
The 'domain' property is an instance of Domain
that may be specified as:
- An instance of :class:`plotly.graph_objs.parcoords.Domain`
- A dict of string/value properties that will be passed
to the Domain constructor
Supported dict properties:
... |
The 'domain' property is an instance of Domain
that may be specified as:
- An instance of :class:`plotly.graph_objs.parcoords.Domain`
- A dict of string/value properties that will be passed
to the Domain constructor
Supported dict properties:
... | def domain(self):
"""
The 'domain' property is an instance of Domain
that may be specified as:
- An instance of :class:`plotly.graph_objs.parcoords.Domain`
- A dict of string/value properties that will be passed
to the Domain constructor
Supported... | [
"def",
"domain",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"domain\"",
"]"
] | [
213,
4
] | [
241,
29
] | python | en | ['en', 'error', 'th'] | False |
Parcoords.ids | (self) |
Assigns id labels to each datum. These ids for object constancy
of data points during animation. Should be an array of strings,
not numbers or any other type.
The 'ids' property is an array that may be specified as a tuple,
list, numpy array, or pandas Series
Retur... |
Assigns id labels to each datum. These ids for object constancy
of data points during animation. Should be an array of strings,
not numbers or any other type.
The 'ids' property is an array that may be specified as a tuple,
list, numpy array, or pandas Series | def ids(self):
"""
Assigns id labels to each datum. These ids for object constancy
of data points during animation. Should be an array of strings,
not numbers or any other type.
The 'ids' property is an array that may be specified as a tuple,
list, numpy array, or pa... | [
"def",
"ids",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"ids\"",
"]"
] | [
250,
4
] | [
263,
26
] | python | en | ['en', 'error', 'th'] | False |
Parcoords.idssrc | (self) |
Sets the source reference on Chart Studio Cloud for ids .
The 'idssrc' 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 ids .
The 'idssrc' property must be specified as a string or
as a plotly.grid_objs.Column object | def idssrc(self):
"""
Sets the source reference on Chart Studio Cloud for ids .
The 'idssrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
"""
return self["idssrc"] | [
"def",
"idssrc",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"idssrc\"",
"]"
] | [
272,
4
] | [
283,
29
] | python | en | ['en', 'error', 'th'] | False |
Parcoords.labelangle | (self) |
Sets the angle of the labels with respect to the horizontal.
For example, a `tickangle` of -90 draws the labels vertically.
Tilted labels with "labelangle" may be positioned better inside
margins when `labelposition` is set to "bottom".
The 'labelangle' property is a angle ... |
Sets the angle of the labels with respect to the horizontal.
For example, a `tickangle` of -90 draws the labels vertically.
Tilted labels with "labelangle" may be positioned better inside
margins when `labelposition` is set to "bottom".
The 'labelangle' property is a angle ... | def labelangle(self):
"""
Sets the angle of the labels with respect to the horizontal.
For example, a `tickangle` of -90 draws the labels vertically.
Tilted labels with "labelangle" may be positioned better inside
margins when `labelposition` is set to "bottom".
The ... | [
"def",
"labelangle",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"labelangle\"",
"]"
] | [
292,
4
] | [
308,
33
] | python | en | ['en', 'error', 'th'] | False |
Parcoords.labelfont | (self) |
Sets the font for the `dimension` labels.
The 'labelfont' property is an instance of Labelfont
that may be specified as:
- An instance of :class:`plotly.graph_objs.parcoords.Labelfont`
- A dict of string/value properties that will be passed
to the Labelfont ... |
Sets the font for the `dimension` labels.
The 'labelfont' property is an instance of Labelfont
that may be specified as:
- An instance of :class:`plotly.graph_objs.parcoords.Labelfont`
- A dict of string/value properties that will be passed
to the Labelfont ... | def labelfont(self):
"""
Sets the font for the `dimension` labels.
The 'labelfont' property is an instance of Labelfont
that may be specified as:
- An instance of :class:`plotly.graph_objs.parcoords.Labelfont`
- A dict of string/value properties that will be pass... | [
"def",
"labelfont",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"labelfont\"",
"]"
] | [
317,
4
] | [
354,
32
] | python | en | ['en', 'error', 'th'] | False |
Parcoords.labelside | (self) |
Specifies the location of the `label`. "top" positions labels
above, next to the title "bottom" positions labels below the
graph Tilted labels with "labelangle" may be positioned better
inside margins when `labelposition` is set to "bottom".
The 'labelside' property is an e... |
Specifies the location of the `label`. "top" positions labels
above, next to the title "bottom" positions labels below the
graph Tilted labels with "labelangle" may be positioned better
inside margins when `labelposition` is set to "bottom".
The 'labelside' property is an e... | def labelside(self):
"""
Specifies the location of the `label`. "top" positions labels
above, next to the title "bottom" positions labels below the
graph Tilted labels with "labelangle" may be positioned better
inside margins when `labelposition` is set to "bottom".
... | [
"def",
"labelside",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"labelside\"",
"]"
] | [
363,
4
] | [
378,
32
] | python | en | ['en', 'error', 'th'] | False |
Parcoords.line | (self) |
The 'line' property is an instance of Line
that may be specified as:
- An instance of :class:`plotly.graph_objs.parcoords.Line`
- A dict of string/value properties that will be passed
to the Line constructor
Supported dict properties:
... |
The 'line' property is an instance of Line
that may be specified as:
- An instance of :class:`plotly.graph_objs.parcoords.Line`
- A dict of string/value properties that will be passed
to the Line constructor
Supported dict properties:
... | def line(self):
"""
The 'line' property is an instance of Line
that may be specified as:
- An instance of :class:`plotly.graph_objs.parcoords.Line`
- A dict of string/value properties that will be passed
to the Line constructor
Supported dict prop... | [
"def",
"line",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"line\"",
"]"
] | [
387,
4
] | [
488,
27
] | python | en | ['en', 'error', 'th'] | False |
Parcoords.meta | (self) |
Assigns extra meta information associated with this trace that
can be used in various text attributes. Attributes such as
trace `name`, graph, axis and colorbar `title.text`, annotation
`text` `rangeselector`, `updatemenues` and `sliders` `label`
text all support `meta`. To acce... |
Assigns extra meta information associated with this trace that
can be used in various text attributes. Attributes such as
trace `name`, graph, axis and colorbar `title.text`, annotation
`text` `rangeselector`, `updatemenues` and `sliders` `label`
text all support `meta`. To acce... | def meta(self):
"""
Assigns extra meta information associated with this trace that
can be used in various text attributes. Attributes such as
trace `name`, graph, axis and colorbar `title.text`, annotation
`text` `rangeselector`, `updatemenues` and `sliders` `label`
text ... | [
"def",
"meta",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"meta\"",
"]"
] | [
497,
4
] | [
516,
27
] | python | en | ['en', 'error', 'th'] | False |
Parcoords.metasrc | (self) |
Sets the source reference on Chart Studio Cloud for meta .
The 'metasrc' 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 meta .
The 'metasrc' property must be specified as a string or
as a plotly.grid_objs.Column object | def metasrc(self):
"""
Sets the source reference on Chart Studio Cloud for meta .
The 'metasrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
"""
return self["metasrc"] | [
"def",
"metasrc",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"metasrc\"",
"]"
] | [
525,
4
] | [
536,
30
] | python | en | ['en', 'error', 'th'] | False |
Parcoords.name | (self) |
Sets the trace name. The trace name appear as the legend item
and on hover.
The 'name' property is a string and must be specified as:
- A string
- A number that will be converted to a string
Returns
-------
str
|
Sets the trace name. The trace name appear as the legend item
and on hover.
The 'name' property is a string and must be specified as:
- A string
- A number that will be converted to a string | def name(self):
"""
Sets the trace name. The trace name appear as the legend item
and on hover.
The 'name' property is a string and must be specified as:
- A string
- A number that will be converted to a string
Returns
-------
str
... | [
"def",
"name",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"name\"",
"]"
] | [
545,
4
] | [
558,
27
] | python | en | ['en', 'error', 'th'] | False |
Parcoords.rangefont | (self) |
Sets the font for the `dimension` range values.
The 'rangefont' property is an instance of Rangefont
that may be specified as:
- An instance of :class:`plotly.graph_objs.parcoords.Rangefont`
- A dict of string/value properties that will be passed
to the Rang... |
Sets the font for the `dimension` range values.
The 'rangefont' property is an instance of Rangefont
that may be specified as:
- An instance of :class:`plotly.graph_objs.parcoords.Rangefont`
- A dict of string/value properties that will be passed
to the Rang... | def rangefont(self):
"""
Sets the font for the `dimension` range values.
The 'rangefont' property is an instance of Rangefont
that may be specified as:
- An instance of :class:`plotly.graph_objs.parcoords.Rangefont`
- A dict of string/value properties that will b... | [
"def",
"rangefont",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"rangefont\"",
"]"
] | [
567,
4
] | [
604,
32
] | python | en | ['en', 'error', 'th'] | False |
Parcoords.stream | (self) |
The 'stream' property is an instance of Stream
that may be specified as:
- An instance of :class:`plotly.graph_objs.parcoords.Stream`
- A dict of string/value properties that will be passed
to the Stream constructor
Supported dict properties:
... |
The 'stream' property is an instance of Stream
that may be specified as:
- An instance of :class:`plotly.graph_objs.parcoords.Stream`
- A dict of string/value properties that will be passed
to the Stream constructor
Supported dict properties:
... | def stream(self):
"""
The 'stream' property is an instance of Stream
that may be specified as:
- An instance of :class:`plotly.graph_objs.parcoords.Stream`
- A dict of string/value properties that will be passed
to the Stream constructor
Supported... | [
"def",
"stream",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"stream\"",
"]"
] | [
613,
4
] | [
637,
29
] | python | en | ['en', 'error', 'th'] | False |
Parcoords.tickfont | (self) |
Sets the font for the `dimension` tick values.
The 'tickfont' property is an instance of Tickfont
that may be specified as:
- An instance of :class:`plotly.graph_objs.parcoords.Tickfont`
- A dict of string/value properties that will be passed
to the Tickfont... |
Sets the font for the `dimension` tick values.
The 'tickfont' property is an instance of Tickfont
that may be specified as:
- An instance of :class:`plotly.graph_objs.parcoords.Tickfont`
- A dict of string/value properties that will be passed
to the Tickfont... | def tickfont(self):
"""
Sets the font for the `dimension` tick values.
The 'tickfont' property is an instance of Tickfont
that may be specified as:
- An instance of :class:`plotly.graph_objs.parcoords.Tickfont`
- A dict of string/value properties that will be pas... | [
"def",
"tickfont",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"tickfont\"",
"]"
] | [
646,
4
] | [
683,
31
] | 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.