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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
CmdRemove.func | (self) |
This performs the actual command.
|
This performs the actual command.
| def func(self):
"""
This performs the actual command.
"""
clothing = self.caller.search(self.args, candidates=self.caller.contents)
if not clothing:
return
if not clothing.db.worn:
self.caller.msg("You're not wearing that!")
return
... | [
"def",
"func",
"(",
"self",
")",
":",
"clothing",
"=",
"self",
".",
"caller",
".",
"search",
"(",
"self",
".",
"args",
",",
"candidates",
"=",
"self",
".",
"caller",
".",
"contents",
")",
"if",
"not",
"clothing",
":",
"return",
"if",
"not",
"clothing... | [
416,
4
] | [
429,
36
] | python | en | ['en', 'error', 'th'] | False |
CmdCover.func | (self) |
This performs the actual command.
|
This performs the actual command.
| def func(self):
"""
This performs the actual command.
"""
if len(self.arglist) < 2:
self.caller.msg("Usage: cover <worn clothing> [with] <clothing object>")
return
# Get rid of optional 'with' syntax
if self.arglist[1].lower() == "with" and len(se... | [
"def",
"func",
"(",
"self",
")",
":",
"if",
"len",
"(",
"self",
".",
"arglist",
")",
"<",
"2",
":",
"self",
".",
"caller",
".",
"msg",
"(",
"\"Usage: cover <worn clothing> [with] <clothing object>\"",
")",
"return",
"# Get rid of optional 'with' syntax",
"if",
"... | [
447,
4
] | [
487,
43
] | python | en | ['en', 'error', 'th'] | False |
CmdUncover.func | (self) |
This performs the actual command.
|
This performs the actual command.
| def func(self):
"""
This performs the actual command.
"""
if not self.args:
self.caller.msg("Usage: uncover <worn clothing object>")
return
to_uncover = self.caller.search(self.args, candidates=self.caller.contents)
if not to_uncover:
... | [
"def",
"func",
"(",
"self",
")",
":",
"if",
"not",
"self",
".",
"args",
":",
"self",
".",
"caller",
".",
"msg",
"(",
"\"Usage: uncover <worn clothing object>\"",
")",
"return",
"to_uncover",
"=",
"self",
".",
"caller",
".",
"search",
"(",
"self",
".",
"a... | [
506,
4
] | [
529,
39
] | python | en | ['en', 'error', 'th'] | False |
CmdDrop.func | (self) | Implement command | Implement command | def func(self):
"""Implement command"""
caller = self.caller
if not self.args:
caller.msg("Drop what?")
return
# Because the DROP command by definition looks for items
# in inventory, call the search function using location = caller
obj = caller.... | [
"def",
"func",
"(",
"self",
")",
":",
"caller",
"=",
"self",
".",
"caller",
"if",
"not",
"self",
".",
"args",
":",
"caller",
".",
"msg",
"(",
"\"Drop what?\"",
")",
"return",
"# Because the DROP command by definition looks for items",
"# in inventory, call the searc... | [
547,
4
] | [
578,
27
] | python | en | ['en', 'en', 'en'] | False |
CmdGive.func | (self) | Implement give | Implement give | def func(self):
"""Implement give"""
caller = self.caller
if not self.args or not self.rhs:
caller.msg("Usage: give <inventory object> = <target>")
return
to_give = caller.search(self.lhs, location=caller,
nofound_string="You aren'... | [
"def",
"func",
"(",
"self",
")",
":",
"caller",
"=",
"self",
".",
"caller",
"if",
"not",
"self",
".",
"args",
"or",
"not",
"self",
".",
"rhs",
":",
"caller",
".",
"msg",
"(",
"\"Usage: give <inventory object> = <target>\"",
")",
"return",
"to_give",
"=",
... | [
595,
4
] | [
627,
39
] | python | en | ['en', 'en', 'en'] | False |
CmdInventory.func | (self) | check inventory | check inventory | def func(self):
"""check inventory"""
if not self.caller.contents:
self.caller.msg("You are not carrying or wearing anything.")
return
items = self.caller.contents
carry_table = evtable.EvTable(border="header")
wear_table = evtable.EvTable(border="header... | [
"def",
"func",
"(",
"self",
")",
":",
"if",
"not",
"self",
".",
"caller",
".",
"contents",
":",
"self",
".",
"caller",
".",
"msg",
"(",
"\"You are not carrying or wearing anything.\"",
")",
"return",
"items",
"=",
"self",
".",
"caller",
".",
"contents",
"c... | [
648,
4
] | [
670,
31
] | python | en | ['es', 'en', 'en'] | False |
ClothedCharacterCmdSet.at_cmdset_creation | (self) |
Populates the cmdset
|
Populates the cmdset
| def at_cmdset_creation(self):
"""
Populates the cmdset
"""
super(ClothedCharacterCmdSet, self).at_cmdset_creation()
#
# any commands you add below will overload the default ones.
#
self.add(CmdWear())
self.add(CmdRemove())
self.add(CmdCover... | [
"def",
"at_cmdset_creation",
"(",
"self",
")",
":",
"super",
"(",
"ClothedCharacterCmdSet",
",",
"self",
")",
".",
"at_cmdset_creation",
"(",
")",
"#",
"# any commands you add below will overload the default ones.",
"#",
"self",
".",
"add",
"(",
"CmdWear",
"(",
")",... | [
682,
4
] | [
696,
32
] | python | en | ['en', 'error', 'th'] | False |
Tickformatstop.dtickrange | (self) |
range [*min*, *max*], where "min", "max" - dtick values which
describe some zoom level, it is possible to omit "min" or "max"
value by passing "null"
The 'dtickrange' property is an info array that may be specified as:
* a list or tuple of 2 elements where:
(0) The... |
range [*min*, *max*], where "min", "max" - dtick values which
describe some zoom level, it is possible to omit "min" or "max"
value by passing "null"
The 'dtickrange' property is an info array that may be specified as:
* a list or tuple of 2 elements where:
(0) The... | def dtickrange(self):
"""
range [*min*, *max*], where "min", "max" - dtick values which
describe some zoom level, it is possible to omit "min" or "max"
value by passing "null"
The 'dtickrange' property is an info array that may be specified as:
* a list or tuple... | [
"def",
"dtickrange",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"dtickrange\"",
"]"
] | [
15,
4
] | [
31,
33
] | python | en | ['en', 'error', 'th'] | False |
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.scattermapbox.
marker.colorbar.Tickformatstop`
dtickrange
rang... |
Construct a new Tickformatstop object
Parameters
----------
arg
dict of properties compatible with this constructor or
an instance of :class:`plotly.graph_objs.scattermapbox.
marker.colorbar.Tickformatstop`
dtickrange
rang... | 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 |
TestCredentialRequest.test_init | (self) | Test initializer | Test initializer | def test_init(self):
"""Test initializer"""
credential_request = CredentialRequest(
comment="Test",
requests_attach=[
AttachDecorator.from_indy_dict(
indy_dict=self.indy_cred_req,
ident=ATTACH_DECO_IDS[CREDENTIAL_REQUEST],
... | [
"def",
"test_init",
"(",
"self",
")",
":",
"credential_request",
"=",
"CredentialRequest",
"(",
"comment",
"=",
"\"Test\"",
",",
"requests_attach",
"=",
"[",
"AttachDecorator",
".",
"from_indy_dict",
"(",
"indy_dict",
"=",
"self",
".",
"indy_cred_req",
",",
"ide... | [
41,
4
] | [
53,
72
] | python | de | ['de', 'pl', 'en'] | False |
TestCredentialRequest.test_deserialize | (self, mock_credential_request_schema_load) |
Test deserialize
|
Test deserialize
| def test_deserialize(self, mock_credential_request_schema_load):
"""
Test deserialize
"""
obj = self.indy_cred_req
credential_request = CredentialRequest.deserialize(obj)
mock_credential_request_schema_load.assert_called_once_with(obj)
assert credential_request ... | [
"def",
"test_deserialize",
"(",
"self",
",",
"mock_credential_request_schema_load",
")",
":",
"obj",
"=",
"self",
".",
"indy_cred_req",
"credential_request",
"=",
"CredentialRequest",
".",
"deserialize",
"(",
"obj",
")",
"mock_credential_request_schema_load",
".",
"asse... | [
73,
4
] | [
82,
85
] | python | en | ['en', 'error', 'th'] | False |
TestCredentialRequest.test_serialize | (self, mock_credential_request_schema_dump) |
Test serialization.
|
Test serialization.
| def test_serialize(self, mock_credential_request_schema_dump):
"""
Test serialization.
"""
credential_request = CredentialRequest(
comment="Test",
requests_attach=[
AttachDecorator.from_indy_dict(
indy_dict=self.indy_cred_req,
... | [
"def",
"test_serialize",
"(",
"self",
",",
"mock_credential_request_schema_dump",
")",
":",
"credential_request",
"=",
"CredentialRequest",
"(",
"comment",
"=",
"\"Test\"",
",",
"requests_attach",
"=",
"[",
"AttachDecorator",
".",
"from_indy_dict",
"(",
"indy_dict",
"... | [
88,
4
] | [
107,
9
] | python | en | ['en', 'error', 'th'] | False |
TestCredentialRequestSchema.test_make_model | (self) | Test making model. | Test making model. | def test_make_model(self):
"""Test making model."""
data = self.credential_request.serialize()
model_instance = CredentialRequest.deserialize(data)
assert isinstance(model_instance, CredentialRequest) | [
"def",
"test_make_model",
"(",
"self",
")",
":",
"data",
"=",
"self",
".",
"credential_request",
".",
"serialize",
"(",
")",
"model_instance",
"=",
"CredentialRequest",
".",
"deserialize",
"(",
"data",
")",
"assert",
"isinstance",
"(",
"model_instance",
",",
"... | [
120,
4
] | [
124,
60
] | python | en | ['en', 'no', 'en'] | True |
get_tag | (tokens, tag) |
Extracts the value inside the given tag.
|
Extracts the value inside the given tag.
| def get_tag(tokens, tag):
"""
Extracts the value inside the given tag.
"""
start = tokens.index('<' + tag + '>') + 1
stop = tokens.index('</' + tag + '>')
return tokens[start:stop] | [
"def",
"get_tag",
"(",
"tokens",
",",
"tag",
")",
":",
"start",
"=",
"tokens",
".",
"index",
"(",
"'<'",
"+",
"tag",
"+",
"'>'",
")",
"+",
"1",
"stop",
"=",
"tokens",
".",
"index",
"(",
"'</'",
"+",
"tag",
"+",
"'>'",
")",
"return",
"tokens",
"... | [
31,
0
] | [
37,
29
] | python | en | ['en', 'error', 'th'] | False |
NegotiationTeacher.observe | (self, observation) |
Process observation for metrics.
|
Process observation for metrics.
| def observe(self, observation):
"""
Process observation for metrics.
"""
if self.expected_reponse is not None:
self.metrics.evaluate_response(observation, self.expected_reponse)
self.expected_reponse = None
return observation | [
"def",
"observe",
"(",
"self",
",",
"observation",
")",
":",
"if",
"self",
".",
"expected_reponse",
"is",
"not",
"None",
":",
"self",
".",
"metrics",
".",
"evaluate_response",
"(",
"observation",
",",
"self",
".",
"expected_reponse",
")",
"self",
".",
"exp... | [
110,
4
] | [
117,
26
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.a | (self) |
Sets the quantity of component `a` in each data point. If `a`,
`b`, and `c` are all provided, they need not be normalized,
only the relative values matter. If only two arrays are
provided they must be normalized to match `ternary<i>.sum`.
The 'a' property is an array that m... |
Sets the quantity of component `a` in each data point. If `a`,
`b`, and `c` are all provided, they need not be normalized,
only the relative values matter. If only two arrays are
provided they must be normalized to match `ternary<i>.sum`.
The 'a' property is an array that m... | def a(self):
"""
Sets the quantity of component `a` in each data point. If `a`,
`b`, and `c` are all provided, they need not be normalized,
only the relative values matter. If only two arrays are
provided they must be normalized to match `ternary<i>.sum`.
The 'a' pro... | [
"def",
"a",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"a\"",
"]"
] | [
64,
4
] | [
78,
24
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.asrc | (self) |
Sets the source reference on Chart Studio Cloud for a .
The 'asrc' 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 a .
The 'asrc' property must be specified as a string or
as a plotly.grid_objs.Column object | def asrc(self):
"""
Sets the source reference on Chart Studio Cloud for a .
The 'asrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
"""
return self["asrc"] | [
"def",
"asrc",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"asrc\"",
"]"
] | [
87,
4
] | [
98,
27
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.b | (self) |
Sets the quantity of component `a` in each data point. If `a`,
`b`, and `c` are all provided, they need not be normalized,
only the relative values matter. If only two arrays are
provided they must be normalized to match `ternary<i>.sum`.
The 'b' property is an array that m... |
Sets the quantity of component `a` in each data point. If `a`,
`b`, and `c` are all provided, they need not be normalized,
only the relative values matter. If only two arrays are
provided they must be normalized to match `ternary<i>.sum`.
The 'b' property is an array that m... | def b(self):
"""
Sets the quantity of component `a` in each data point. If `a`,
`b`, and `c` are all provided, they need not be normalized,
only the relative values matter. If only two arrays are
provided they must be normalized to match `ternary<i>.sum`.
The 'b' pro... | [
"def",
"b",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"b\"",
"]"
] | [
107,
4
] | [
121,
24
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.bsrc | (self) |
Sets the source reference on Chart Studio Cloud for b .
The 'bsrc' 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 b .
The 'bsrc' property must be specified as a string or
as a plotly.grid_objs.Column object | def bsrc(self):
"""
Sets the source reference on Chart Studio Cloud for b .
The 'bsrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
"""
return self["bsrc"] | [
"def",
"bsrc",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"bsrc\"",
"]"
] | [
130,
4
] | [
141,
27
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.c | (self) |
Sets the quantity of component `a` in each data point. If `a`,
`b`, and `c` are all provided, they need not be normalized,
only the relative values matter. If only two arrays are
provided they must be normalized to match `ternary<i>.sum`.
The 'c' property is an array that m... |
Sets the quantity of component `a` in each data point. If `a`,
`b`, and `c` are all provided, they need not be normalized,
only the relative values matter. If only two arrays are
provided they must be normalized to match `ternary<i>.sum`.
The 'c' property is an array that m... | def c(self):
"""
Sets the quantity of component `a` in each data point. If `a`,
`b`, and `c` are all provided, they need not be normalized,
only the relative values matter. If only two arrays are
provided they must be normalized to match `ternary<i>.sum`.
The 'c' pro... | [
"def",
"c",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"c\"",
"]"
] | [
150,
4
] | [
164,
24
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.cliponaxis | (self) |
Determines whether or not markers and text nodes are clipped
about the subplot axes. To show markers and text nodes above
axis lines and tick labels, make sure to set `xaxis.layer` and
`yaxis.layer` to *below traces*.
The 'cliponaxis' property must be specified as a bool
... |
Determines whether or not markers and text nodes are clipped
about the subplot axes. To show markers and text nodes above
axis lines and tick labels, make sure to set `xaxis.layer` and
`yaxis.layer` to *below traces*.
The 'cliponaxis' property must be specified as a bool
... | def cliponaxis(self):
"""
Determines whether or not markers and text nodes are clipped
about the subplot axes. To show markers and text nodes above
axis lines and tick labels, make sure to set `xaxis.layer` and
`yaxis.layer` to *below traces*.
The 'cliponaxis' proper... | [
"def",
"cliponaxis",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"cliponaxis\"",
"]"
] | [
173,
4
] | [
187,
33
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.connectgaps | (self) |
Determines whether or not gaps (i.e. {nan} or missing values)
in the provided data arrays are connected.
The 'connectgaps' property must be specified as a bool
(either True, or False)
Returns
-------
bool
|
Determines whether or not gaps (i.e. {nan} or missing values)
in the provided data arrays are connected.
The 'connectgaps' property must be specified as a bool
(either True, or False) | def connectgaps(self):
"""
Determines whether or not gaps (i.e. {nan} or missing values)
in the provided data arrays are connected.
The 'connectgaps' property must be specified as a bool
(either True, or False)
Returns
-------
bool
"""
... | [
"def",
"connectgaps",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"connectgaps\"",
"]"
] | [
196,
4
] | [
208,
34
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.csrc | (self) |
Sets the source reference on Chart Studio Cloud for c .
The 'csrc' 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 c .
The 'csrc' property must be specified as a string or
as a plotly.grid_objs.Column object | def csrc(self):
"""
Sets the source reference on Chart Studio Cloud for c .
The 'csrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
"""
return self["csrc"] | [
"def",
"csrc",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"csrc\"",
"]"
] | [
217,
4
] | [
228,
27
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.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\"",
"]"
] | [
237,
4
] | [
251,
33
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.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\"",
"]"
] | [
260,
4
] | [
272,
36
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.fill | (self) |
Sets the area to fill with a solid color. Use with `fillcolor`
if not "none". scatterternary has a subset of the options
available to scatter. "toself" connects the endpoints of the
trace (or each segment of the trace if it has gaps) into a
closed shape. "tonext" fills the space... |
Sets the area to fill with a solid color. Use with `fillcolor`
if not "none". scatterternary has a subset of the options
available to scatter. "toself" connects the endpoints of the
trace (or each segment of the trace if it has gaps) into a
closed shape. "tonext" fills the space... | def fill(self):
"""
Sets the area to fill with a solid color. Use with `fillcolor`
if not "none". scatterternary has a subset of the options
available to scatter. "toself" connects the endpoints of the
trace (or each segment of the trace if it has gaps) into a
closed shap... | [
"def",
"fill",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"fill\"",
"]"
] | [
281,
4
] | [
301,
27
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.fillcolor | (self) |
Sets the fill color. Defaults to a half-transparent variant of
the line color, marker color, or marker line color, whichever
is available.
The 'fillcolor' property is a color and may be specified as:
- A hex string (e.g. '#ff0000')
- An rgb/rgba string (e.g. 'rg... |
Sets the fill color. Defaults to a half-transparent variant of
the line color, marker color, or marker line color, whichever
is available.
The 'fillcolor' property is a color and may be specified as:
- A hex string (e.g. '#ff0000')
- An rgb/rgba string (e.g. 'rg... | def fillcolor(self):
"""
Sets the fill color. Defaults to a half-transparent variant of
the line color, marker color, or marker line color, whichever
is available.
The 'fillcolor' property is a color and may be specified as:
- A hex string (e.g. '#ff0000')
... | [
"def",
"fillcolor",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"fillcolor\"",
"]"
] | [
310,
4
] | [
362,
32
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.hoverinfo | (self) |
Determines which trace information appear on hover. If `none`
or `skip` are set, no information is displayed upon hovering.
But, if `none` is set, click and hover events are still fired.
The 'hoverinfo' property is a flaglist and may be specified
as a string containing:
... |
Determines which trace information appear on hover. If `none`
or `skip` are set, no information is displayed upon hovering.
But, if `none` is set, click and hover events are still fired.
The 'hoverinfo' property is a flaglist and may be specified
as a string containing:
... | def hoverinfo(self):
"""
Determines which trace information appear on hover. If `none`
or `skip` are set, no information is displayed upon hovering.
But, if `none` is set, click and hover events are still fired.
The 'hoverinfo' property is a flaglist and may be specified
... | [
"def",
"hoverinfo",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"hoverinfo\"",
"]"
] | [
371,
4
] | [
388,
32
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.hoverinfosrc | (self) |
Sets the source reference on Chart Studio Cloud for hoverinfo
.
The 'hoverinfosrc' 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 hoverinfo
.
The 'hoverinfosrc' property must be specified as a string or
as a plotly.grid_objs.Column object | def hoverinfosrc(self):
"""
Sets the source reference on Chart Studio Cloud for hoverinfo
.
The 'hoverinfosrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
"""
return self["hoverin... | [
"def",
"hoverinfosrc",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"hoverinfosrc\"",
"]"
] | [
397,
4
] | [
409,
35
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.hoverlabel | (self) |
The 'hoverlabel' property is an instance of Hoverlabel
that may be specified as:
- An instance of :class:`plotly.graph_objs.scatterternary.Hoverlabel`
- A dict of string/value properties that will be passed
to the Hoverlabel constructor
Supported dict pr... |
The 'hoverlabel' property is an instance of Hoverlabel
that may be specified as:
- An instance of :class:`plotly.graph_objs.scatterternary.Hoverlabel`
- A dict of string/value properties that will be passed
to the Hoverlabel constructor
Supported dict pr... | def hoverlabel(self):
"""
The 'hoverlabel' property is an instance of Hoverlabel
that may be specified as:
- An instance of :class:`plotly.graph_objs.scatterternary.Hoverlabel`
- A dict of string/value properties that will be passed
to the Hoverlabel constructor
... | [
"def",
"hoverlabel",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"hoverlabel\"",
"]"
] | [
418,
4
] | [
468,
33
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.hoveron | (self) |
Do the hover effects highlight individual points (markers or
line points) or do they highlight filled regions? If the fill
is "toself" or "tonext" and there are no markers or text, then
the default is "fills", otherwise it is "points".
The 'hoveron' property is a flaglist a... |
Do the hover effects highlight individual points (markers or
line points) or do they highlight filled regions? If the fill
is "toself" or "tonext" and there are no markers or text, then
the default is "fills", otherwise it is "points".
The 'hoveron' property is a flaglist a... | def hoveron(self):
"""
Do the hover effects highlight individual points (markers or
line points) or do they highlight filled regions? If the fill
is "toself" or "tonext" and there are no markers or text, then
the default is "fills", otherwise it is "points".
The 'hov... | [
"def",
"hoveron",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"hoveron\"",
"]"
] | [
477,
4
] | [
493,
30
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.hovertemplate | (self) |
Template string used for rendering the information that appear
on hover box. Note that this will override `hoverinfo`.
Variables are inserted using %{variable}, for example "y:
%{y}". Numbers are formatted using d3-format's syntax
%{variable:d3-format}, for example "Price: %{y:$... |
Template string used for rendering the information that appear
on hover box. Note that this will override `hoverinfo`.
Variables are inserted using %{variable}, for example "y:
%{y}". Numbers are formatted using d3-format's syntax
%{variable:d3-format}, for example "Price: %{y:$... | def hovertemplate(self):
"""
Template string used for rendering the information that appear
on hover box. Note that this will override `hoverinfo`.
Variables are inserted using %{variable}, for example "y:
%{y}". Numbers are formatted using d3-format's syntax
%{variable:d... | [
"def",
"hovertemplate",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"hovertemplate\"",
"]"
] | [
502,
4
] | [
534,
36
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.hovertemplatesrc | (self) |
Sets the source reference on Chart Studio Cloud for
hovertemplate .
The 'hovertemplatesrc' 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
hovertemplate .
The 'hovertemplatesrc' property must be specified as a string or
as a plotly.grid_objs.Column object | def hovertemplatesrc(self):
"""
Sets the source reference on Chart Studio Cloud for
hovertemplate .
The 'hovertemplatesrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
"""
return se... | [
"def",
"hovertemplatesrc",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"hovertemplatesrc\"",
"]"
] | [
543,
4
] | [
555,
39
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.hovertext | (self) |
Sets hover text elements associated with each (a,b,c) point. If
a single string, the same string appears over all the data
points. If an array of strings, the items are mapped in order
to the the data points in (a,b,c). To be seen, trace
`hoverinfo` must contain a "text" flag.
... |
Sets hover text elements associated with each (a,b,c) point. If
a single string, the same string appears over all the data
points. If an array of strings, the items are mapped in order
to the the data points in (a,b,c). To be seen, trace
`hoverinfo` must contain a "text" flag.
... | def hovertext(self):
"""
Sets hover text elements associated with each (a,b,c) point. If
a single string, the same string appears over all the data
points. If an array of strings, the items are mapped in order
to the the data points in (a,b,c). To be seen, trace
`hoverinf... | [
"def",
"hovertext",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"hovertext\"",
"]"
] | [
564,
4
] | [
581,
32
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.hovertextsrc | (self) |
Sets the source reference on Chart Studio Cloud for hovertext
.
The 'hovertextsrc' 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 hovertext
.
The 'hovertextsrc' property must be specified as a string or
as a plotly.grid_objs.Column object | def hovertextsrc(self):
"""
Sets the source reference on Chart Studio Cloud for hovertext
.
The 'hovertextsrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
"""
return self["hoverte... | [
"def",
"hovertextsrc",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"hovertextsrc\"",
"]"
] | [
590,
4
] | [
602,
35
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.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\"",
"]"
] | [
611,
4
] | [
624,
26
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.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\"",
"]"
] | [
633,
4
] | [
644,
29
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.legendgroup | (self) |
Sets the legend group for this trace. Traces part of the same
legend group hide/show at the same time when toggling legend
items.
The 'legendgroup' property is a string and must be specified as:
- A string
- A number that will be converted to a string
R... |
Sets the legend group for this trace. Traces part of the same
legend group hide/show at the same time when toggling legend
items.
The 'legendgroup' property is a string and must be specified as:
- A string
- A number that will be converted to a string | def legendgroup(self):
"""
Sets the legend group for this trace. Traces part of the same
legend group hide/show at the same time when toggling legend
items.
The 'legendgroup' property is a string and must be specified as:
- A string
- A number that will b... | [
"def",
"legendgroup",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"legendgroup\"",
"]"
] | [
653,
4
] | [
667,
34
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.line | (self) |
The 'line' property is an instance of Line
that may be specified as:
- An instance of :class:`plotly.graph_objs.scatterternary.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.scatterternary.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.scatterternary.Line`
- A dict of string/value properties that will be passed
to the Line constructor
Supported dict... | [
"def",
"line",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"line\"",
"]"
] | [
676,
4
] | [
710,
27
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.marker | (self) |
The 'marker' property is an instance of Marker
that may be specified as:
- An instance of :class:`plotly.graph_objs.scatterternary.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.scatterternary.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.scatterternary.Marker`
- A dict of string/value properties that will be passed
to the Marker constructor
Supp... | [
"def",
"marker",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"marker\"",
"]"
] | [
719,
4
] | [
865,
29
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.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\"",
"]"
] | [
874,
4
] | [
893,
27
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.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\"",
"]"
] | [
902,
4
] | [
913,
30
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.mode | (self) |
Determines the drawing mode for this scatter trace. If the
provided `mode` includes "text" then the `text` elements appear
at the coordinates. Otherwise, the `text` elements appear on
hover. If there are less than 20 points and the trace is not
stacked then the default is "lines... |
Determines the drawing mode for this scatter trace. If the
provided `mode` includes "text" then the `text` elements appear
at the coordinates. Otherwise, the `text` elements appear on
hover. If there are less than 20 points and the trace is not
stacked then the default is "lines... | def mode(self):
"""
Determines the drawing mode for this scatter trace. If the
provided `mode` includes "text" then the `text` elements appear
at the coordinates. Otherwise, the `text` elements appear on
hover. If there are less than 20 points and the trace is not
stacked... | [
"def",
"mode",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"mode\"",
"]"
] | [
922,
4
] | [
941,
27
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.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\"",
"]"
] | [
950,
4
] | [
963,
27
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.opacity | (self) |
Sets the opacity of the trace.
The 'opacity' property is a number and may be specified as:
- An int or float in the interval [0, 1]
Returns
-------
int|float
|
Sets the opacity of the trace.
The 'opacity' property is a number and may be specified as:
- An int or float in the interval [0, 1] | def opacity(self):
"""
Sets the opacity of the trace.
The 'opacity' property is a number and may be specified as:
- An int or float in the interval [0, 1]
Returns
-------
int|float
"""
return self["opacity"] | [
"def",
"opacity",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"opacity\"",
"]"
] | [
972,
4
] | [
983,
30
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.selected | (self) |
The 'selected' property is an instance of Selected
that may be specified as:
- An instance of :class:`plotly.graph_objs.scatterternary.Selected`
- A dict of string/value properties that will be passed
to the Selected constructor
Supported dict properties... |
The 'selected' property is an instance of Selected
that may be specified as:
- An instance of :class:`plotly.graph_objs.scatterternary.Selected`
- A dict of string/value properties that will be passed
to the Selected constructor
Supported dict properties... | def selected(self):
"""
The 'selected' property is an instance of Selected
that may be specified as:
- An instance of :class:`plotly.graph_objs.scatterternary.Selected`
- A dict of string/value properties that will be passed
to the Selected constructor
... | [
"def",
"selected",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"selected\"",
"]"
] | [
992,
4
] | [
1015,
31
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.selectedpoints | (self) |
Array containing integer indices of selected points. Has an
effect only for traces that support selections. Note that an
empty array means an empty selection where the `unselected` are
turned on for all points, whereas, any other non-array values
means no selection all where the... |
Array containing integer indices of selected points. Has an
effect only for traces that support selections. Note that an
empty array means an empty selection where the `unselected` are
turned on for all points, whereas, any other non-array values
means no selection all where the... | def selectedpoints(self):
"""
Array containing integer indices of selected points. Has an
effect only for traces that support selections. Note that an
empty array means an empty selection where the `unselected` are
turned on for all points, whereas, any other non-array values
... | [
"def",
"selectedpoints",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"selectedpoints\"",
"]"
] | [
1024,
4
] | [
1039,
37
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.showlegend | (self) |
Determines whether or not an item corresponding to this trace
is shown in the legend.
The 'showlegend' property must be specified as a bool
(either True, or False)
Returns
-------
bool
|
Determines whether or not an item corresponding to this trace
is shown in the legend.
The 'showlegend' property must be specified as a bool
(either True, or False) | def showlegend(self):
"""
Determines whether or not an item corresponding to this trace
is shown in the legend.
The 'showlegend' property must be specified as a bool
(either True, or False)
Returns
-------
bool
"""
return self["showle... | [
"def",
"showlegend",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"showlegend\"",
"]"
] | [
1048,
4
] | [
1060,
33
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.stream | (self) |
The 'stream' property is an instance of Stream
that may be specified as:
- An instance of :class:`plotly.graph_objs.scatterternary.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.scatterternary.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.scatterternary.Stream`
- A dict of string/value properties that will be passed
to the Stream constructor
Supp... | [
"def",
"stream",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"stream\"",
"]"
] | [
1069,
4
] | [
1093,
29
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.subplot | (self) |
Sets a reference between this trace's data coordinates and a
ternary subplot. If "ternary" (the default value), the data
refer to `layout.ternary`. If "ternary2", the data refer to
`layout.ternary2`, and so on.
The 'subplot' property is an identifier of a particular
... |
Sets a reference between this trace's data coordinates and a
ternary subplot. If "ternary" (the default value), the data
refer to `layout.ternary`. If "ternary2", the data refer to
`layout.ternary2`, and so on.
The 'subplot' property is an identifier of a particular
... | def subplot(self):
"""
Sets a reference between this trace's data coordinates and a
ternary subplot. If "ternary" (the default value), the data
refer to `layout.ternary`. If "ternary2", the data refer to
`layout.ternary2`, and so on.
The 'subplot' property is an iden... | [
"def",
"subplot",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"subplot\"",
"]"
] | [
1102,
4
] | [
1118,
30
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.sum | (self) |
The number each triplet should sum to, if only two of `a`, `b`,
and `c` are provided. This overrides `ternary<i>.sum` to
normalize this specific trace, but does not affect the values
displayed on the axes. 0 (or missing) means to use
ternary<i>.sum
The 'sum' propert... |
The number each triplet should sum to, if only two of `a`, `b`,
and `c` are provided. This overrides `ternary<i>.sum` to
normalize this specific trace, but does not affect the values
displayed on the axes. 0 (or missing) means to use
ternary<i>.sum
The 'sum' propert... | def sum(self):
"""
The number each triplet should sum to, if only two of `a`, `b`,
and `c` are provided. This overrides `ternary<i>.sum` to
normalize this specific trace, but does not affect the values
displayed on the axes. 0 (or missing) means to use
ternary<i>.sum
... | [
"def",
"sum",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"sum\"",
"]"
] | [
1127,
4
] | [
1142,
26
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.text | (self) |
Sets text elements associated with each (a,b,c) point. If a
single string, the same string appears over all the data
points. If an array of strings, the items are mapped in order
to the the data points in (a,b,c). If trace `hoverinfo`
contains a "text" flag and "hovertext" is no... |
Sets text elements associated with each (a,b,c) point. If a
single string, the same string appears over all the data
points. If an array of strings, the items are mapped in order
to the the data points in (a,b,c). If trace `hoverinfo`
contains a "text" flag and "hovertext" is no... | def text(self):
"""
Sets text elements associated with each (a,b,c) point. If a
single string, the same string appears over all the data
points. If an array of strings, the items are mapped in order
to the the data points in (a,b,c). If trace `hoverinfo`
contains a "text"... | [
"def",
"text",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"text\"",
"]"
] | [
1151,
4
] | [
1169,
27
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.textfont | (self) |
Sets the text font.
The 'textfont' property is an instance of Textfont
that may be specified as:
- An instance of :class:`plotly.graph_objs.scatterternary.Textfont`
- A dict of string/value properties that will be passed
to the Textfont constructor
... |
Sets the text font.
The 'textfont' property is an instance of Textfont
that may be specified as:
- An instance of :class:`plotly.graph_objs.scatterternary.Textfont`
- A dict of string/value properties that will be passed
to the Textfont constructor
... | def textfont(self):
"""
Sets the text font.
The 'textfont' property is an instance of Textfont
that may be specified as:
- An instance of :class:`plotly.graph_objs.scatterternary.Textfont`
- A dict of string/value properties that will be passed
to the... | [
"def",
"textfont",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"textfont\"",
"]"
] | [
1178,
4
] | [
1225,
31
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.textposition | (self) |
Sets the positions of the `text` elements with respects to the
(x,y) coordinates.
The 'textposition' property is an enumeration that may be specified as:
- One of the following enumeration values:
['top left', 'top center', 'top right', 'middle left',
... |
Sets the positions of the `text` elements with respects to the
(x,y) coordinates.
The 'textposition' property is an enumeration that may be specified as:
- One of the following enumeration values:
['top left', 'top center', 'top right', 'middle left',
... | def textposition(self):
"""
Sets the positions of the `text` elements with respects to the
(x,y) coordinates.
The 'textposition' property is an enumeration that may be specified as:
- One of the following enumeration values:
['top left', 'top center', 'top ... | [
"def",
"textposition",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"textposition\"",
"]"
] | [
1234,
4
] | [
1250,
35
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.textpositionsrc | (self) |
Sets the source reference on Chart Studio Cloud for
textposition .
The 'textpositionsrc' 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
textposition .
The 'textpositionsrc' property must be specified as a string or
as a plotly.grid_objs.Column object | def textpositionsrc(self):
"""
Sets the source reference on Chart Studio Cloud for
textposition .
The 'textpositionsrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
"""
return self[... | [
"def",
"textpositionsrc",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"textpositionsrc\"",
"]"
] | [
1259,
4
] | [
1271,
38
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.textsrc | (self) |
Sets the source reference on Chart Studio Cloud for text .
The 'textsrc' 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 text .
The 'textsrc' property must be specified as a string or
as a plotly.grid_objs.Column object | def textsrc(self):
"""
Sets the source reference on Chart Studio Cloud for text .
The 'textsrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
"""
return self["textsrc"] | [
"def",
"textsrc",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"textsrc\"",
"]"
] | [
1280,
4
] | [
1291,
30
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.texttemplate | (self) |
Template string used for rendering the information text that
appear on points. Note that this will override `textinfo`.
Variables are inserted using %{variable}, for example "y:
%{y}". Numbers are formatted using d3-format's syntax
%{variable:d3-format}, for example "Price: %{y:... |
Template string used for rendering the information text that
appear on points. Note that this will override `textinfo`.
Variables are inserted using %{variable}, for example "y:
%{y}". Numbers are formatted using d3-format's syntax
%{variable:d3-format}, for example "Price: %{y:... | def texttemplate(self):
"""
Template string used for rendering the information text that
appear on points. Note that this will override `textinfo`.
Variables are inserted using %{variable}, for example "y:
%{y}". Numbers are formatted using d3-format's syntax
%{variable:d... | [
"def",
"texttemplate",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"texttemplate\"",
"]"
] | [
1300,
4
] | [
1326,
35
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.texttemplatesrc | (self) |
Sets the source reference on Chart Studio Cloud for
texttemplate .
The 'texttemplatesrc' 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
texttemplate .
The 'texttemplatesrc' property must be specified as a string or
as a plotly.grid_objs.Column object | def texttemplatesrc(self):
"""
Sets the source reference on Chart Studio Cloud for
texttemplate .
The 'texttemplatesrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
"""
return self[... | [
"def",
"texttemplatesrc",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"texttemplatesrc\"",
"]"
] | [
1335,
4
] | [
1347,
38
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.uid | (self) |
Assign an id to this trace, Use this to provide object
constancy between traces during animations and transitions.
The 'uid' property is a string and must be specified as:
- A string
- A number that will be converted to a string
Returns
-------
... |
Assign an id to this trace, Use this to provide object
constancy between traces during animations and transitions.
The 'uid' property is a string and must be specified as:
- A string
- A number that will be converted to a string | def uid(self):
"""
Assign an id to this trace, Use this to provide object
constancy between traces during animations and transitions.
The 'uid' property is a string and must be specified as:
- A string
- A number that will be converted to a string
Return... | [
"def",
"uid",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"uid\"",
"]"
] | [
1356,
4
] | [
1369,
26
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.uirevision | (self) |
Controls persistence of some user-driven changes to the trace:
`constraintrange` in `parcoords` traces, as well as some
`editable: true` modifications such as `name` and
`colorbar.title`. Defaults to `layout.uirevision`. Note that
other user-driven trace attribute changes are co... |
Controls persistence of some user-driven changes to the trace:
`constraintrange` in `parcoords` traces, as well as some
`editable: true` modifications such as `name` and
`colorbar.title`. Defaults to `layout.uirevision`. Note that
other user-driven trace attribute changes are co... | def uirevision(self):
"""
Controls persistence of some user-driven changes to the trace:
`constraintrange` in `parcoords` traces, as well as some
`editable: true` modifications such as `name` and
`colorbar.title`. Defaults to `layout.uirevision`. Note that
other user-driv... | [
"def",
"uirevision",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"uirevision\"",
"]"
] | [
1378,
4
] | [
1402,
33
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.unselected | (self) |
The 'unselected' property is an instance of Unselected
that may be specified as:
- An instance of :class:`plotly.graph_objs.scatterternary.Unselected`
- A dict of string/value properties that will be passed
to the Unselected constructor
Supported dict pr... |
The 'unselected' property is an instance of Unselected
that may be specified as:
- An instance of :class:`plotly.graph_objs.scatterternary.Unselected`
- A dict of string/value properties that will be passed
to the Unselected constructor
Supported dict pr... | def unselected(self):
"""
The 'unselected' property is an instance of Unselected
that may be specified as:
- An instance of :class:`plotly.graph_objs.scatterternary.Unselected`
- A dict of string/value properties that will be passed
to the Unselected constructor
... | [
"def",
"unselected",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"unselected\"",
"]"
] | [
1411,
4
] | [
1434,
33
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.visible | (self) |
Determines whether or not this trace is visible. If
"legendonly", the trace is not drawn, but can appear as a
legend item (provided that the legend itself is visible).
The 'visible' property is an enumeration that may be specified as:
- One of the following enumeration va... |
Determines whether or not this trace is visible. If
"legendonly", the trace is not drawn, but can appear as a
legend item (provided that the legend itself is visible).
The 'visible' property is an enumeration that may be specified as:
- One of the following enumeration va... | def visible(self):
"""
Determines whether or not this trace is visible. If
"legendonly", the trace is not drawn, but can appear as a
legend item (provided that the legend itself is visible).
The 'visible' property is an enumeration that may be specified as:
- One o... | [
"def",
"visible",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"visible\"",
"]"
] | [
1443,
4
] | [
1457,
30
] | python | en | ['en', 'error', 'th'] | False |
Scatterternary.__init__ | (
self,
arg=None,
a=None,
asrc=None,
b=None,
bsrc=None,
c=None,
cliponaxis=None,
connectgaps=None,
csrc=None,
customdata=None,
customdatasrc=None,
fill=None,
fillcolor=None,
hoverinfo=None,
ho... |
Construct a new Scatterternary object
Provides similar functionality to the "scatter" type but on a
ternary phase diagram. The data is provided by at least two
arrays out of `a`, `b`, `c` triplets.
Parameters
----------
arg
dict of propertie... |
Construct a new Scatterternary object
Provides similar functionality to the "scatter" type but on a
ternary phase diagram. The data is provided by at least two
arrays out of `a`, `b`, `c` triplets. | def __init__(
self,
arg=None,
a=None,
asrc=None,
b=None,
bsrc=None,
c=None,
cliponaxis=None,
connectgaps=None,
csrc=None,
customdata=None,
customdatasrc=None,
fill=None,
fillcolor=None,
hoverinfo=None... | [
"def",
"__init__",
"(",
"self",
",",
"arg",
"=",
"None",
",",
"a",
"=",
"None",
",",
"asrc",
"=",
"None",
",",
"b",
"=",
"None",
",",
"bsrc",
"=",
"None",
",",
"c",
"=",
"None",
",",
"cliponaxis",
"=",
"None",
",",
"connectgaps",
"=",
"None",
"... | [
1730,
4
] | [
2284,
34
] | python | en | ['en', 'error', 'th'] | False |
AliceAgent.__init__ | (self, opt, shared=None) |
Initialize this agent.
|
Initialize this agent.
| def __init__(self, opt, shared=None):
"""
Initialize this agent.
"""
if not IMPORT_OKAY:
raise ImportError(
"ALICE agent needs python-aiml installed. Please run:\n "
"`pip install git+https://github.com/paulovn/python-aiml.git`."
)
... | [
"def",
"__init__",
"(",
"self",
",",
"opt",
",",
"shared",
"=",
"None",
")",
":",
"if",
"not",
"IMPORT_OKAY",
":",
"raise",
"ImportError",
"(",
"\"ALICE agent needs python-aiml installed. Please run:\\n \"",
"\"`pip install git+https://github.com/paulovn/python-aiml.git`.\"",... | [
30,
4
] | [
46,
38
] | python | en | ['en', 'error', 'th'] | False |
AliceAgent.act | (self) |
Generate response to last seen observation.
Replies with a message from using the Alice bot.
:returns: message dict with reply
|
Generate response to last seen observation. | def act(self):
"""
Generate response to last seen observation.
Replies with a message from using the Alice bot.
:returns: message dict with reply
"""
obs = self.observation
if obs is None:
return {'text': 'Nothing to reply to yet.'}
reply =... | [
"def",
"act",
"(",
"self",
")",
":",
"obs",
"=",
"self",
".",
"observation",
"if",
"obs",
"is",
"None",
":",
"return",
"{",
"'text'",
":",
"'Nothing to reply to yet.'",
"}",
"reply",
"=",
"{",
"}",
"reply",
"[",
"'id'",
"]",
"=",
"self",
".",
"getID"... | [
62,
4
] | [
80,
20
] | python | en | ['en', 'error', 'th'] | False |
BaseMenuService.__init__ | (self, context: InjectionContext) | Initialize a menu service instance. | Initialize a menu service instance. | def __init__(self, context: InjectionContext):
"""Initialize a menu service instance."""
self._context = context | [
"def",
"__init__",
"(",
"self",
",",
"context",
":",
"InjectionContext",
")",
":",
"self",
".",
"_context",
"=",
"context"
] | [
14,
4
] | [
16,
31
] | python | en | ['en', 'co', 'en'] | True |
BaseMenuService.service_handler | (cls) | Quick accessor for conductor to use. | Quick accessor for conductor to use. | def service_handler(cls):
"""Quick accessor for conductor to use."""
async def get_instance(context: InjectionContext):
"""Return registered server."""
return cls(context)
return get_instance | [
"def",
"service_handler",
"(",
"cls",
")",
":",
"async",
"def",
"get_instance",
"(",
"context",
":",
"InjectionContext",
")",
":",
"\"\"\"Return registered server.\"\"\"",
"return",
"cls",
"(",
"context",
")",
"return",
"get_instance"
] | [
19,
4
] | [
26,
27
] | python | en | ['en', 'en', 'en'] | True |
BaseMenuService.get_active_menu | (
self, connection: ConnectionRecord = None, thread_id: str = None
) |
Render the current menu.
Args:
connection: The active connection record
thread_id: The thread identifier from the requesting message.
|
Render the current menu. | async def get_active_menu(
self, connection: ConnectionRecord = None, thread_id: str = None
) -> Menu:
"""
Render the current menu.
Args:
connection: The active connection record
thread_id: The thread identifier from the requesting message.
""" | [
"async",
"def",
"get_active_menu",
"(",
"self",
",",
"connection",
":",
"ConnectionRecord",
"=",
"None",
",",
"thread_id",
":",
"str",
"=",
"None",
")",
"->",
"Menu",
":"
] | [
29,
4
] | [
38,
11
] | python | en | ['en', 'error', 'th'] | False |
BaseMenuService.perform_menu_action | (
self,
action_name: str,
action_params: dict,
connection: ConnectionRecord = None,
thread_id: str = None,
) |
Perform an action defined by the active menu.
Args:
action_name: The unique name of the action being performed
action_params: A collection of parameters for the action
connection: The active connection record
thread_id: The thread identifier from the req... |
Perform an action defined by the active menu. | async def perform_menu_action(
self,
action_name: str,
action_params: dict,
connection: ConnectionRecord = None,
thread_id: str = None,
) -> AgentMessage:
"""
Perform an action defined by the active menu.
Args:
action_name: The unique name... | [
"async",
"def",
"perform_menu_action",
"(",
"self",
",",
"action_name",
":",
"str",
",",
"action_params",
":",
"dict",
",",
"connection",
":",
"ConnectionRecord",
"=",
"None",
",",
"thread_id",
":",
"str",
"=",
"None",
",",
")",
"->",
"AgentMessage",
":"
] | [
41,
4
] | [
56,
11
] | python | en | ['en', 'error', 'th'] | False |
AcuteEvalAgentState.update_data | (self, packet: "Packet") |
Process the incoming data packet, and handle updating the state.
|
Process the incoming data packet, and handle updating the state.
| def update_data(self, packet: "Packet") -> None:
"""
Process the incoming data packet, and handle updating the state.
"""
assert (
packet.data.get("MEPHISTO_is_submit") is True
), "Static tasks should only have final act"
self.state["times"]["task_end"] = time... | [
"def",
"update_data",
"(",
"self",
",",
"packet",
":",
"\"Packet\"",
")",
"->",
"None",
":",
"assert",
"(",
"packet",
".",
"data",
".",
"get",
"(",
"\"MEPHISTO_is_submit\"",
")",
"is",
"True",
")",
",",
"\"Static tasks should only have final act\"",
"self",
".... | [
41,
4
] | [
50,
24
] | python | en | ['en', 'error', 'th'] | False |
Title.align | (self) |
Sets the horizontal alignment of the title. It defaults to
`center` except for bullet charts for which it defaults to
right.
The 'align' property is an enumeration that may be specified as:
- One of the following enumeration values:
['left', 'center', 'rig... |
Sets the horizontal alignment of the title. It defaults to
`center` except for bullet charts for which it defaults to
right.
The 'align' property is an enumeration that may be specified as:
- One of the following enumeration values:
['left', 'center', 'rig... | def align(self):
"""
Sets the horizontal alignment of the title. It defaults to
`center` except for bullet charts for which it defaults to
right.
The 'align' property is an enumeration that may be specified as:
- One of the following enumeration values:
... | [
"def",
"align",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"align\"",
"]"
] | [
15,
4
] | [
29,
28
] | python | en | ['en', 'error', 'th'] | False |
Title.font | (self) |
Set the font used to display the title
The 'font' property is an instance of Font
that may be specified as:
- An instance of :class:`plotly.graph_objs.indicator.title.Font`
- A dict of string/value properties that will be passed
to the Font constructor
... |
Set the font used to display the title
The 'font' property is an instance of Font
that may be specified as:
- An instance of :class:`plotly.graph_objs.indicator.title.Font`
- A dict of string/value properties that will be passed
to the Font constructor
... | def font(self):
"""
Set the font used to display the title
The 'font' property is an instance of Font
that may be specified as:
- An instance of :class:`plotly.graph_objs.indicator.title.Font`
- A dict of string/value properties that will be passed
to... | [
"def",
"font",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"font\"",
"]"
] | [
38,
4
] | [
75,
27
] | python | en | ['en', 'error', 'th'] | False |
Title.text | (self) |
Sets the title of this indicator.
The 'text' property is a string and must be specified as:
- A string
- A number that will be converted to a string
Returns
-------
str
|
Sets the title of this indicator.
The 'text' property is a string and must be specified as:
- A string
- A number that will be converted to a string | def text(self):
"""
Sets the title of this indicator.
The 'text' property is a string and must be specified as:
- A string
- A number that will be converted to a string
Returns
-------
str
"""
return self["text"] | [
"def",
"text",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"text\"",
"]"
] | [
84,
4
] | [
96,
27
] | python | en | ['en', 'error', 'th'] | False |
Title.__init__ | (self, arg=None, align=None, font=None, text=None, **kwargs) |
Construct a new Title object
Parameters
----------
arg
dict of properties compatible with this constructor or
an instance of
:class:`plotly.graph_objs.indicator.Title`
align
Sets the horizontal alignment of the title. It d... |
Construct a new Title object
Parameters
----------
arg
dict of properties compatible with this constructor or
an instance of
:class:`plotly.graph_objs.indicator.Title`
align
Sets the horizontal alignment of the title. It d... | def __init__(self, arg=None, align=None, font=None, text=None, **kwargs):
"""
Construct a new Title object
Parameters
----------
arg
dict of properties compatible with this constructor or
an instance of
:class:`plotly.graph_objs.indica... | [
"def",
"__init__",
"(",
"self",
",",
"arg",
"=",
"None",
",",
"align",
"=",
"None",
",",
"font",
"=",
"None",
",",
"text",
"=",
"None",
",",
"*",
"*",
"kwargs",
")",
":",
"super",
"(",
"Title",
",",
"self",
")",
".",
"__init__",
"(",
"\"title\"",... | [
117,
4
] | [
188,
34
] | python | en | ['en', 'error', 'th'] | False |
Annotation.align | (self) |
Sets the horizontal alignment of the `text` within the box. Has
an effect only if `text` spans two or more lines (i.e. `text`
contains one or more <br> HTML tags) or if an explicit width is
set to override the text width.
The 'align' property is an enumeration that may be s... |
Sets the horizontal alignment of the `text` within the box. Has
an effect only if `text` spans two or more lines (i.e. `text`
contains one or more <br> HTML tags) or if an explicit width is
set to override the text width.
The 'align' property is an enumeration that may be s... | def align(self):
"""
Sets the horizontal alignment of the `text` within the box. Has
an effect only if `text` spans two or more lines (i.e. `text`
contains one or more <br> HTML tags) or if an explicit width is
set to override the text width.
The 'align' property is ... | [
"def",
"align",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"align\"",
"]"
] | [
53,
4
] | [
68,
28
] | python | en | ['en', 'error', 'th'] | False |
Annotation.arrowcolor | (self) |
Sets the color of the annotation arrow.
The 'arrowcolor' 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,1... |
Sets the color of the annotation arrow.
The 'arrowcolor' 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,1... | def arrowcolor(self):
"""
Sets the color of the annotation arrow.
The 'arrowcolor' 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",
"arrowcolor",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"arrowcolor\"",
"]"
] | [
77,
4
] | [
127,
33
] | python | en | ['en', 'error', 'th'] | False |
Annotation.arrowhead | (self) |
Sets the end annotation arrow head style.
The 'arrowhead' property is a integer and may be specified as:
- An int (or float that will be cast to an int)
in the interval [0, 8]
Returns
-------
int
|
Sets the end annotation arrow head style.
The 'arrowhead' property is a integer and may be specified as:
- An int (or float that will be cast to an int)
in the interval [0, 8] | def arrowhead(self):
"""
Sets the end annotation arrow head style.
The 'arrowhead' property is a integer and may be specified as:
- An int (or float that will be cast to an int)
in the interval [0, 8]
Returns
-------
int
"""
ret... | [
"def",
"arrowhead",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"arrowhead\"",
"]"
] | [
136,
4
] | [
148,
32
] | python | en | ['en', 'error', 'th'] | False |
Annotation.arrowside | (self) |
Sets the annotation arrow head position.
The 'arrowside' property is a flaglist and may be specified
as a string containing:
- Any combination of ['end', 'start'] joined with '+' characters
(e.g. 'end+start')
OR exactly one of ['none'] (e.g. 'none')
... |
Sets the annotation arrow head position.
The 'arrowside' property is a flaglist and may be specified
as a string containing:
- Any combination of ['end', 'start'] joined with '+' characters
(e.g. 'end+start')
OR exactly one of ['none'] (e.g. 'none') | def arrowside(self):
"""
Sets the annotation arrow head position.
The 'arrowside' property is a flaglist and may be specified
as a string containing:
- Any combination of ['end', 'start'] joined with '+' characters
(e.g. 'end+start')
OR exactly one ... | [
"def",
"arrowside",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"arrowside\"",
"]"
] | [
157,
4
] | [
171,
32
] | python | en | ['en', 'error', 'th'] | False |
Annotation.arrowsize | (self) |
Sets the size of the end annotation arrow head, relative to
`arrowwidth`. A value of 1 (default) gives a head about 3x as
wide as the line.
The 'arrowsize' property is a number and may be specified as:
- An int or float in the interval [0.3, inf]
Returns
... |
Sets the size of the end annotation arrow head, relative to
`arrowwidth`. A value of 1 (default) gives a head about 3x as
wide as the line.
The 'arrowsize' property is a number and may be specified as:
- An int or float in the interval [0.3, inf] | def arrowsize(self):
"""
Sets the size of the end annotation arrow head, relative to
`arrowwidth`. A value of 1 (default) gives a head about 3x as
wide as the line.
The 'arrowsize' property is a number and may be specified as:
- An int or float in the interval [0.3... | [
"def",
"arrowsize",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"arrowsize\"",
"]"
] | [
180,
4
] | [
193,
32
] | python | en | ['en', 'error', 'th'] | False |
Annotation.arrowwidth | (self) |
Sets the width (in px) of annotation arrow line.
The 'arrowwidth' property is a number and may be specified as:
- An int or float in the interval [0.1, inf]
Returns
-------
int|float
|
Sets the width (in px) of annotation arrow line.
The 'arrowwidth' property is a number and may be specified as:
- An int or float in the interval [0.1, inf] | def arrowwidth(self):
"""
Sets the width (in px) of annotation arrow line.
The 'arrowwidth' property is a number and may be specified as:
- An int or float in the interval [0.1, inf]
Returns
-------
int|float
"""
return self["arrowwidth"] | [
"def",
"arrowwidth",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"arrowwidth\"",
"]"
] | [
202,
4
] | [
213,
33
] | python | en | ['en', 'error', 'th'] | False |
Annotation.ax | (self) |
Sets the x component of the arrow tail about the arrow head (in
pixels).
The 'ax' property is a number and may be specified as:
- An int or float
Returns
-------
int|float
|
Sets the x component of the arrow tail about the arrow head (in
pixels).
The 'ax' property is a number and may be specified as:
- An int or float | def ax(self):
"""
Sets the x component of the arrow tail about the arrow head (in
pixels).
The 'ax' property is a number and may be specified as:
- An int or float
Returns
-------
int|float
"""
return self["ax"] | [
"def",
"ax",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"ax\"",
"]"
] | [
222,
4
] | [
234,
25
] | python | en | ['en', 'error', 'th'] | False |
Annotation.ay | (self) |
Sets the y component of the arrow tail about the arrow head (in
pixels).
The 'ay' property is a number and may be specified as:
- An int or float
Returns
-------
int|float
|
Sets the y component of the arrow tail about the arrow head (in
pixels).
The 'ay' property is a number and may be specified as:
- An int or float | def ay(self):
"""
Sets the y component of the arrow tail about the arrow head (in
pixels).
The 'ay' property is a number and may be specified as:
- An int or float
Returns
-------
int|float
"""
return self["ay"] | [
"def",
"ay",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"ay\"",
"]"
] | [
243,
4
] | [
255,
25
] | python | en | ['en', 'error', 'th'] | False |
Annotation.bgcolor | (self) |
Sets the background color of the annotation.
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... |
Sets the background color of the annotation.
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... | def bgcolor(self):
"""
Sets the background color of the annotation.
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%)')
- A... | [
"def",
"bgcolor",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"bgcolor\"",
"]"
] | [
264,
4
] | [
314,
30
] | python | en | ['en', 'error', 'th'] | False |
Annotation.bordercolor | (self) |
Sets the color of the border enclosing the annotation `text`.
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/hsv... |
Sets the color of the border enclosing the annotation `text`.
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/hsv... | def bordercolor(self):
"""
Sets the color of the border enclosing the annotation `text`.
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,... | [
"def",
"bordercolor",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"bordercolor\"",
"]"
] | [
323,
4
] | [
373,
34
] | python | en | ['en', 'error', 'th'] | False |
Annotation.borderpad | (self) |
Sets the padding (in px) between the `text` and the enclosing
border.
The 'borderpad' property is a number and may be specified as:
- An int or float in the interval [0, inf]
Returns
-------
int|float
|
Sets the padding (in px) between the `text` and the enclosing
border.
The 'borderpad' property is a number and may be specified as:
- An int or float in the interval [0, inf] | def borderpad(self):
"""
Sets the padding (in px) between the `text` and the enclosing
border.
The 'borderpad' property is a number and may be specified as:
- An int or float in the interval [0, inf]
Returns
-------
int|float
"""
re... | [
"def",
"borderpad",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"borderpad\"",
"]"
] | [
382,
4
] | [
394,
32
] | python | en | ['en', 'error', 'th'] | False |
Annotation.borderwidth | (self) |
Sets the width (in px) of the border enclosing the annotation
`text`.
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) of the border enclosing the annotation
`text`.
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) of the border enclosing the annotation
`text`.
The 'borderwidth' property is a number and may be specified as:
- An int or float in the interval [0, inf]
Returns
-------
int|float
"""
... | [
"def",
"borderwidth",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"borderwidth\"",
"]"
] | [
403,
4
] | [
415,
34
] | python | en | ['en', 'error', 'th'] | False |
Annotation.captureevents | (self) |
Determines whether the annotation text box captures mouse move
and click events, or allows those events to pass through to
data points in the plot that may be behind the annotation. By
default `captureevents` is False unless `hovertext` is
provided. If you use the event `plotly_... |
Determines whether the annotation text box captures mouse move
and click events, or allows those events to pass through to
data points in the plot that may be behind the annotation. By
default `captureevents` is False unless `hovertext` is
provided. If you use the event `plotly_... | def captureevents(self):
"""
Determines whether the annotation text box captures mouse move
and click events, or allows those events to pass through to
data points in the plot that may be behind the annotation. By
default `captureevents` is False unless `hovertext` is
pro... | [
"def",
"captureevents",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"captureevents\"",
"]"
] | [
424,
4
] | [
440,
36
] | python | en | ['en', 'error', 'th'] | False |
Annotation.font | (self) |
Sets the annotation text font.
The 'font' property is an instance of Font
that may be specified as:
- An instance of :class:`plotly.graph_objs.layout.scene.annotation.Font`
- A dict of string/value properties that will be passed
to the Font constructor
... |
Sets the annotation text font.
The 'font' property is an instance of Font
that may be specified as:
- An instance of :class:`plotly.graph_objs.layout.scene.annotation.Font`
- A dict of string/value properties that will be passed
to the Font constructor
... | def font(self):
"""
Sets the annotation text font.
The 'font' property is an instance of Font
that may be specified as:
- An instance of :class:`plotly.graph_objs.layout.scene.annotation.Font`
- A dict of string/value properties that will be passed
to... | [
"def",
"font",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"font\"",
"]"
] | [
449,
4
] | [
486,
27
] | python | en | ['en', 'error', 'th'] | False |
Annotation.height | (self) |
Sets an explicit height for the text box. null (default) lets
the text set the box height. Taller text will be clipped.
The 'height' property is a number and may be specified as:
- An int or float in the interval [1, inf]
Returns
-------
int|float
... |
Sets an explicit height for the text box. null (default) lets
the text set the box height. Taller text will be clipped.
The 'height' property is a number and may be specified as:
- An int or float in the interval [1, inf] | def height(self):
"""
Sets an explicit height for the text box. null (default) lets
the text set the box height. Taller text will be clipped.
The 'height' property is a number and may be specified as:
- An int or float in the interval [1, inf]
Returns
----... | [
"def",
"height",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"height\"",
"]"
] | [
495,
4
] | [
507,
29
] | python | en | ['en', 'error', 'th'] | False |
Annotation.hoverlabel | (self) |
The 'hoverlabel' property is an instance of Hoverlabel
that may be specified as:
- An instance of :class:`plotly.graph_objs.layout.scene.annotation.Hoverlabel`
- A dict of string/value properties that will be passed
to the Hoverlabel constructor
Supporte... |
The 'hoverlabel' property is an instance of Hoverlabel
that may be specified as:
- An instance of :class:`plotly.graph_objs.layout.scene.annotation.Hoverlabel`
- A dict of string/value properties that will be passed
to the Hoverlabel constructor
Supporte... | def hoverlabel(self):
"""
The 'hoverlabel' property is an instance of Hoverlabel
that may be specified as:
- An instance of :class:`plotly.graph_objs.layout.scene.annotation.Hoverlabel`
- A dict of string/value properties that will be passed
to the Hoverlabel cons... | [
"def",
"hoverlabel",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"hoverlabel\"",
"]"
] | [
516,
4
] | [
543,
33
] | python | en | ['en', 'error', 'th'] | False |
Annotation.hovertext | (self) |
Sets text to appear when hovering over this annotation. If
omitted or blank, no hover label will appear.
The 'hovertext' property is a string and must be specified as:
- A string
- A number that will be converted to a string
Returns
-------
str
... |
Sets text to appear when hovering over this annotation. If
omitted or blank, no hover label will appear.
The 'hovertext' property is a string and must be specified as:
- A string
- A number that will be converted to a string | def hovertext(self):
"""
Sets text to appear when hovering over this annotation. If
omitted or blank, no hover label will appear.
The 'hovertext' property is a string and must be specified as:
- A string
- A number that will be converted to a string
Retu... | [
"def",
"hovertext",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"hovertext\"",
"]"
] | [
552,
4
] | [
565,
32
] | python | en | ['en', 'error', 'th'] | False |
Annotation.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\"",
"]"
] | [
574,
4
] | [
592,
27
] | python | en | ['en', 'error', 'th'] | False |
Annotation.opacity | (self) |
Sets the opacity of the annotation (text + arrow).
The 'opacity' property is a number and may be specified as:
- An int or float in the interval [0, 1]
Returns
-------
int|float
|
Sets the opacity of the annotation (text + arrow).
The 'opacity' property is a number and may be specified as:
- An int or float in the interval [0, 1] | def opacity(self):
"""
Sets the opacity of the annotation (text + arrow).
The 'opacity' property is a number and may be specified as:
- An int or float in the interval [0, 1]
Returns
-------
int|float
"""
return self["opacity"] | [
"def",
"opacity",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"opacity\"",
"]"
] | [
601,
4
] | [
612,
30
] | python | en | ['en', 'error', 'th'] | False |
Annotation.showarrow | (self) |
Determines whether or not the annotation is drawn with an
arrow. If True, `text` is placed near the arrow's tail. If
False, `text` lines up with the `x` and `y` provided.
The 'showarrow' property must be specified as a bool
(either True, or False)
Returns
-... |
Determines whether or not the annotation is drawn with an
arrow. If True, `text` is placed near the arrow's tail. If
False, `text` lines up with the `x` and `y` provided.
The 'showarrow' property must be specified as a bool
(either True, or False) | def showarrow(self):
"""
Determines whether or not the annotation is drawn with an
arrow. If True, `text` is placed near the arrow's tail. If
False, `text` lines up with the `x` and `y` provided.
The 'showarrow' property must be specified as a bool
(either True, or F... | [
"def",
"showarrow",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"showarrow\"",
"]"
] | [
621,
4
] | [
634,
32
] | python | en | ['en', 'error', 'th'] | False |
Annotation.standoff | (self) |
Sets a distance, in pixels, to move the end arrowhead away from
the position it is pointing at, for example to point at the
edge of a marker independent of zoom. Note that this shortens
the arrow from the `ax` / `ay` vector, in contrast to `xshift`
/ `yshift` which moves everyth... |
Sets a distance, in pixels, to move the end arrowhead away from
the position it is pointing at, for example to point at the
edge of a marker independent of zoom. Note that this shortens
the arrow from the `ax` / `ay` vector, in contrast to `xshift`
/ `yshift` which moves everyth... | def standoff(self):
"""
Sets a distance, in pixels, to move the end arrowhead away from
the position it is pointing at, for example to point at the
edge of a marker independent of zoom. Note that this shortens
the arrow from the `ax` / `ay` vector, in contrast to `xshift`
... | [
"def",
"standoff",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"standoff\"",
"]"
] | [
643,
4
] | [
658,
31
] | python | en | ['en', 'error', 'th'] | False |
Annotation.startarrowhead | (self) |
Sets the start annotation arrow head style.
The 'startarrowhead' property is a integer and may be specified as:
- An int (or float that will be cast to an int)
in the interval [0, 8]
Returns
-------
int
|
Sets the start annotation arrow head style.
The 'startarrowhead' property is a integer and may be specified as:
- An int (or float that will be cast to an int)
in the interval [0, 8] | def startarrowhead(self):
"""
Sets the start annotation arrow head style.
The 'startarrowhead' property is a integer and may be specified as:
- An int (or float that will be cast to an int)
in the interval [0, 8]
Returns
-------
int
"""... | [
"def",
"startarrowhead",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"startarrowhead\"",
"]"
] | [
667,
4
] | [
679,
37
] | 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.