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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
WebsocketManager._complete_setup | (self) |
Complete necessary setup items.
|
Complete necessary setup items.
| def _complete_setup(self):
"""
Complete necessary setup items.
"""
self.agent_pool = {}
self.messenger_agent_states = {}
self.agent_id_to_overworld_future = {}
self.task_to_agent_ids = {}
self._load_model() | [
"def",
"_complete_setup",
"(",
"self",
")",
":",
"self",
".",
"agent_pool",
"=",
"{",
"}",
"self",
".",
"messenger_agent_states",
"=",
"{",
"}",
"self",
".",
"agent_id_to_overworld_future",
"=",
"{",
"}",
"self",
".",
"task_to_agent_ids",
"=",
"{",
"}",
"s... | [
58,
4
] | [
66,
26
] | python | en | ['en', 'error', 'th'] | False |
WebsocketManager._load_model | (self) |
Load model if necessary.
|
Load model if necessary.
| def _load_model(self):
"""
Load model if necessary.
"""
if 'models' in self.opt and self.should_load_model:
model_params = {}
model_info = {}
for model in self.opt['models']:
model_opt = self.opt['models'][model]
overrid... | [
"def",
"_load_model",
"(",
"self",
")",
":",
"if",
"'models'",
"in",
"self",
".",
"opt",
"and",
"self",
".",
"should_load_model",
":",
"model_params",
"=",
"{",
"}",
"model_info",
"=",
"{",
"}",
"for",
"model",
"in",
"self",
".",
"opt",
"[",
"'models'"... | [
68,
4
] | [
83,
63
] | python | en | ['en', 'error', 'th'] | False |
WebsocketManager._handle_message_read | (self, event) |
Send read receipt back to user who sent message This function is left empty as
it is not applicable to websockets since read receipts are not supported.
|
Send read receipt back to user who sent message This function is left empty as
it is not applicable to websockets since read receipts are not supported.
| def _handle_message_read(self, event):
"""
Send read receipt back to user who sent message This function is left empty as
it is not applicable to websockets since read receipts are not supported.
"""
pass | [
"def",
"_handle_message_read",
"(",
"self",
",",
"event",
")",
":",
"pass"
] | [
85,
4
] | [
90,
12
] | python | en | ['en', 'error', 'th'] | False |
WebsocketManager._manager_loop_fn | (self) |
An iteration of the manager's main loop to launch worlds.
|
An iteration of the manager's main loop to launch worlds.
| def _manager_loop_fn(self):
"""
An iteration of the manager's main loop to launch worlds.
"""
with self.agent_pool_change_condition:
valid_pools = self._get_unique_pool()
for world_type, agent_pool in valid_pools.items():
# check if agent has excee... | [
"def",
"_manager_loop_fn",
"(",
"self",
")",
":",
"with",
"self",
".",
"agent_pool_change_condition",
":",
"valid_pools",
"=",
"self",
".",
"_get_unique_pool",
"(",
")",
"for",
"world_type",
",",
"agent_pool",
"in",
"valid_pools",
".",
"items",
"(",
")",
":",
... | [
92,
4
] | [
159,
56
] | python | en | ['en', 'error', 'th'] | False |
WebsocketManager.start_task | (self) |
Begin handling task.
|
Begin handling task.
| def start_task(self):
"""
Begin handling task.
"""
self.running = True
self.app = self._make_app()
self.app.listen(self.port)
# Must use a tornado callback to run the main loop
callback_time = utils.THREAD_MEDIUM_SLEEP * 1000
tornado.ioloop.Periodi... | [
"def",
"start_task",
"(",
"self",
")",
":",
"self",
".",
"running",
"=",
"True",
"self",
".",
"app",
"=",
"self",
".",
"_make_app",
"(",
")",
"self",
".",
"app",
".",
"listen",
"(",
"self",
".",
"port",
")",
"# Must use a tornado callback to run the main l... | [
161,
4
] | [
173,
47
] | python | en | ['en', 'error', 'th'] | False |
WebsocketManager.shutdown | (self) |
Defined to shutown the tornado application.
|
Defined to shutown the tornado application.
| def shutdown(self):
"""
Defined to shutown the tornado application.
"""
try:
self.world_runner.shutdown()
self._expire_all_conversations()
finally:
pass
tornado.ioloop.IOLoop.current().stop() | [
"def",
"shutdown",
"(",
"self",
")",
":",
"try",
":",
"self",
".",
"world_runner",
".",
"shutdown",
"(",
")",
"self",
".",
"_expire_all_conversations",
"(",
")",
"finally",
":",
"pass",
"tornado",
".",
"ioloop",
".",
"IOLoop",
".",
"current",
"(",
")",
... | [
175,
4
] | [
184,
46
] | python | en | ['en', 'error', 'th'] | False |
WebsocketManager._create_agent | (self, task_id, socketID) |
Initialize an agent and return it.
Called each time an agent is placed into a new task.
:param task_id:
string task identifier
:param agent_id:
int agent id
|
Initialize an agent and return it. | def _create_agent(self, task_id, socketID):
"""
Initialize an agent and return it.
Called each time an agent is placed into a new task.
:param task_id:
string task identifier
:param agent_id:
int agent id
"""
return WebsocketAgent(self.op... | [
"def",
"_create_agent",
"(",
"self",
",",
"task_id",
",",
"socketID",
")",
":",
"return",
"WebsocketAgent",
"(",
"self",
".",
"opt",
",",
"self",
",",
"socketID",
",",
"task_id",
")"
] | [
186,
4
] | [
197,
64
] | python | en | ['en', 'error', 'th'] | False |
WebsocketManager._make_app | (self) |
Starts the tornado application.
|
Starts the tornado application.
| def _make_app(self):
"""
Starts the tornado application.
"""
message_callback = self._on_new_message
options['log_to_stderr'] = True
tornado.options.parse_command_line([])
return tornado.web.Application(
[
(
r"/web... | [
"def",
"_make_app",
"(",
"self",
")",
":",
"message_callback",
"=",
"self",
".",
"_on_new_message",
"options",
"[",
"'log_to_stderr'",
"]",
"=",
"True",
"tornado",
".",
"options",
".",
"parse_command_line",
"(",
"[",
"]",
")",
"return",
"tornado",
".",
"web"... | [
199,
4
] | [
217,
9
] | python | en | ['en', 'error', 'th'] | False |
WebsocketManager.observe_message | (self, socket_id, message, quick_replies=None, message_history=[]) |
Send a message through the message manager.
:param socket_id:
int identifier for agent socket to send message to
:param message:
(str) message to send through the socket.
:param quick_replies:
(list) list of strings to send as quick replies.
... |
Send a message through the message manager. | def observe_message(self, socket_id, message, quick_replies=None, message_history=[]):
"""
Send a message through the message manager.
:param socket_id:
int identifier for agent socket to send message to
:param message:
(str) message to send through the socket.
... | [
"def",
"observe_message",
"(",
"self",
",",
"socket_id",
",",
"message",
",",
"quick_replies",
"=",
"None",
",",
"message_history",
"=",
"[",
"]",
")",
":",
"if",
"quick_replies",
"is",
"not",
"None",
":",
"quick_replies",
"=",
"list",
"(",
"quick_replies",
... | [
219,
4
] | [
243,
83
] | python | en | ['en', 'error', 'th'] | False |
WebsocketManager.observe_payload | (self, socket_id, payload, quick_replies=None) |
Send a message through the message manager.
:param socket_id:
int identifier for agent socket to send message to
:param payload:
(dict) payload to send through the socket. The mandatory keys are:
'type': (str) Type of the payload (e.g. 'image')
... |
Send a message through the message manager. | def observe_payload(self, socket_id, payload, quick_replies=None):
"""
Send a message through the message manager.
:param socket_id:
int identifier for agent socket to send message to
:param payload:
(dict) payload to send through the socket. The mandatory keys a... | [
"def",
"observe_payload",
"(",
"self",
",",
"socket_id",
",",
"payload",
",",
"quick_replies",
"=",
"None",
")",
":",
"message",
"=",
"{",
"'text'",
":",
"''",
",",
"'payload'",
":",
"payload",
",",
"'quick_replies'",
":",
"quick_replies",
"}",
"payload",
... | [
245,
4
] | [
268,
83
] | python | en | ['en', 'error', 'th'] | False |
WebsocketManager.restructure_message | (self, message) |
This is to restructure a new message to conform to the message structure defined
in the `chat_service` README.
|
This is to restructure a new message to conform to the message structure defined
in the `chat_service` README.
| def restructure_message(self, message):
"""
This is to restructure a new message to conform to the message structure defined
in the `chat_service` README.
"""
return message | [
"def",
"restructure_message",
"(",
"self",
",",
"message",
")",
":",
"return",
"message"
] | [
270,
4
] | [
275,
22
] | python | en | ['en', 'error', 'th'] | False |
Domain.column | (self) |
If there is a layout grid, use the domain for this column in
the grid for this sunburst trace .
The 'column' property is a integer and may be specified as:
- An int (or float that will be cast to an int)
in the interval [0, 9223372036854775807]
Returns
... |
If there is a layout grid, use the domain for this column in
the grid for this sunburst trace .
The 'column' property is a integer and may be specified as:
- An int (or float that will be cast to an int)
in the interval [0, 9223372036854775807] | def column(self):
"""
If there is a layout grid, use the domain for this column in
the grid for this sunburst trace .
The 'column' property is a integer and may be specified as:
- An int (or float that will be cast to an int)
in the interval [0, 922337203685477... | [
"def",
"column",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"column\"",
"]"
] | [
15,
4
] | [
28,
29
] | python | en | ['en', 'error', 'th'] | False |
Domain.row | (self) |
If there is a layout grid, use the domain for this row in the
grid for this sunburst trace .
The 'row' property is a integer and may be specified as:
- An int (or float that will be cast to an int)
in the interval [0, 9223372036854775807]
Returns
----... |
If there is a layout grid, use the domain for this row in the
grid for this sunburst trace .
The 'row' property is a integer and may be specified as:
- An int (or float that will be cast to an int)
in the interval [0, 9223372036854775807] | def row(self):
"""
If there is a layout grid, use the domain for this row in the
grid for this sunburst trace .
The 'row' property is a integer and may be specified as:
- An int (or float that will be cast to an int)
in the interval [0, 9223372036854775807]
... | [
"def",
"row",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"row\"",
"]"
] | [
37,
4
] | [
50,
26
] | python | en | ['en', 'error', 'th'] | False |
Domain.x | (self) |
Sets the horizontal domain of this sunburst trace (in plot
fraction).
The 'x' property is an info array that may be specified as:
* a list or tuple of 2 elements where:
(0) The 'x[0]' property is a number and may be specified as:
- An int or float in the interval... |
Sets the horizontal domain of this sunburst trace (in plot
fraction).
The 'x' property is an info array that may be specified as:
* a list or tuple of 2 elements where:
(0) The 'x[0]' property is a number and may be specified as:
- An int or float in the interval... | def x(self):
"""
Sets the horizontal domain of this sunburst trace (in plot
fraction).
The 'x' property is an info array that may be specified as:
* a list or tuple of 2 elements where:
(0) The 'x[0]' property is a number and may be specified as:
- An int ... | [
"def",
"x",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"x\"",
"]"
] | [
59,
4
] | [
76,
24
] | python | en | ['en', 'error', 'th'] | False |
Domain.y | (self) |
Sets the vertical domain of this sunburst trace (in plot
fraction).
The 'y' property is an info array that may be specified as:
* a list or tuple of 2 elements where:
(0) The 'y[0]' property is a number and may be specified as:
- An int or float in the interval [... |
Sets the vertical domain of this sunburst trace (in plot
fraction).
The 'y' property is an info array that may be specified as:
* a list or tuple of 2 elements where:
(0) The 'y[0]' property is a number and may be specified as:
- An int or float in the interval [... | def y(self):
"""
Sets the vertical domain of this sunburst trace (in plot
fraction).
The 'y' property is an info array that may be specified as:
* a list or tuple of 2 elements where:
(0) The 'y[0]' property is a number and may be specified as:
- An int or... | [
"def",
"y",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"y\"",
"]"
] | [
85,
4
] | [
102,
24
] | python | en | ['en', 'error', 'th'] | False |
Domain.__init__ | (self, arg=None, column=None, row=None, x=None, y=None, **kwargs) |
Construct a new Domain object
Parameters
----------
arg
dict of properties compatible with this constructor or
an instance of
:class:`plotly.graph_objs.sunburst.Domain`
column
If there is a layout grid, use the domain for ... |
Construct a new Domain object
Parameters
----------
arg
dict of properties compatible with this constructor or
an instance of
:class:`plotly.graph_objs.sunburst.Domain`
column
If there is a layout grid, use the domain for ... | def __init__(self, arg=None, column=None, row=None, x=None, y=None, **kwargs):
"""
Construct a new Domain object
Parameters
----------
arg
dict of properties compatible with this constructor or
an instance of
:class:`plotly.graph_objs.... | [
"def",
"__init__",
"(",
"self",
",",
"arg",
"=",
"None",
",",
"column",
"=",
"None",
",",
"row",
"=",
"None",
",",
"x",
"=",
"None",
",",
"y",
"=",
"None",
",",
"*",
"*",
"kwargs",
")",
":",
"super",
"(",
"Domain",
",",
"self",
")",
".",
"__i... | [
127,
4
] | [
206,
34
] | python | en | ['en', 'error', 'th'] | False |
_FindAllMatches | (regex, s) | Generates all matches of regex in string s. | Generates all matches of regex in string s. | def _FindAllMatches(regex, s):
"""Generates all matches of regex in string s."""
r = re.compile(regex)
return r.finditer(s) | [
"def",
"_FindAllMatches",
"(",
"regex",
",",
"s",
")",
":",
"r",
"=",
"re",
".",
"compile",
"(",
"regex",
")",
"return",
"r",
".",
"finditer",
"(",
"s",
")"
] | [
136,
0
] | [
140,
22
] | python | en | ['en', 'en', 'en'] | True |
_GenericDiagnoser | (short_name, long_name, diagnoses, msg) | Diagnoses the given disease by pattern matching.
Can provide different diagnoses for different patterns.
Args:
short_name: Short name of the disease.
long_name: Long name of the disease.
diagnoses: A list of pairs (regex, pattern for formatting the diagnosis
for matching regex).
... | Diagnoses the given disease by pattern matching. | def _GenericDiagnoser(short_name, long_name, diagnoses, msg):
"""Diagnoses the given disease by pattern matching.
Can provide different diagnoses for different patterns.
Args:
short_name: Short name of the disease.
long_name: Long name of the disease.
diagnoses: A list of pairs (regex, pattern for... | [
"def",
"_GenericDiagnoser",
"(",
"short_name",
",",
"long_name",
",",
"diagnoses",
",",
"msg",
")",
":",
"for",
"regex",
",",
"diagnosis",
"in",
"diagnoses",
":",
"if",
"re",
".",
"search",
"(",
"regex",
",",
"msg",
")",
":",
"diagnosis",
"=",
"'%(file)s... | [
143,
0
] | [
162,
64
] | python | en | ['en', 'en', 'en'] | True |
_NeedToReturnReferenceDiagnoser | (msg) | Diagnoses the NRR disease, given the error messages by the compiler. | Diagnoses the NRR disease, given the error messages by the compiler. | def _NeedToReturnReferenceDiagnoser(msg):
"""Diagnoses the NRR disease, given the error messages by the compiler."""
gcc_regex = (r'In member function \'testing::internal::ReturnAction<R>.*\n'
+ _GCC_FILE_LINE_RE + r'instantiated from here\n'
r'.*gmock-actions\.h.*error: creating arra... | [
"def",
"_NeedToReturnReferenceDiagnoser",
"(",
"msg",
")",
":",
"gcc_regex",
"=",
"(",
"r'In member function \\'testing::internal::ReturnAction<R>.*\\n'",
"+",
"_GCC_FILE_LINE_RE",
"+",
"r'instantiated from here\\n'",
"r'.*gmock-actions\\.h.*error: creating array with negative size'",
... | [
165,
0
] | [
187,
31
] | python | en | ['en', 'en', 'en'] | True |
_NeedToReturnSomethingDiagnoser | (msg) | Diagnoses the NRS disease, given the error messages by the compiler. | Diagnoses the NRS disease, given the error messages by the compiler. | def _NeedToReturnSomethingDiagnoser(msg):
"""Diagnoses the NRS disease, given the error messages by the compiler."""
gcc_regex = (_GCC_FILE_LINE_RE + r'(instantiated from here\n.'
r'*gmock.*actions\.h.*error: void value not ignored)'
r'|(error: control reaches end of non-void function... | [
"def",
"_NeedToReturnSomethingDiagnoser",
"(",
"msg",
")",
":",
"gcc_regex",
"=",
"(",
"_GCC_FILE_LINE_RE",
"+",
"r'(instantiated from here\\n.'",
"r'*gmock.*actions\\.h.*error: void value not ignored)'",
"r'|(error: control reaches end of non-void function)'",
")",
"clang_regex1",
"... | [
190,
0
] | [
214,
10
] | python | en | ['en', 'en', 'en'] | True |
_NeedToReturnNothingDiagnoser | (msg) | Diagnoses the NRN disease, given the error messages by the compiler. | Diagnoses the NRN disease, given the error messages by the compiler. | def _NeedToReturnNothingDiagnoser(msg):
"""Diagnoses the NRN disease, given the error messages by the compiler."""
gcc_regex = (_GCC_FILE_LINE_RE + r'instantiated from here\n'
r'.*gmock-actions\.h.*error: instantiation of '
r'\'testing::internal::ReturnAction<R>::Impl<F>::value_\' '
... | [
"def",
"_NeedToReturnNothingDiagnoser",
"(",
"msg",
")",
":",
"gcc_regex",
"=",
"(",
"_GCC_FILE_LINE_RE",
"+",
"r'instantiated from here\\n'",
"r'.*gmock-actions\\.h.*error: instantiation of '",
"r'\\'testing::internal::ReturnAction<R>::Impl<F>::value_\\' '",
"r'as type \\'void\\''",
"... | [
217,
0
] | [
251,
10
] | python | en | ['en', 'en', 'en'] | True |
_IncompleteByReferenceArgumentDiagnoser | (msg) | Diagnoses the IBRA disease, given the error messages by the compiler. | Diagnoses the IBRA disease, given the error messages by the compiler. | def _IncompleteByReferenceArgumentDiagnoser(msg):
"""Diagnoses the IBRA disease, given the error messages by the compiler."""
gcc_regex = (_GCC_FILE_LINE_RE + r'instantiated from here\n'
r'.*gtest-printers\.h.*error: invalid application of '
r'\'sizeof\' to incomplete type \'(?P<type>... | [
"def",
"_IncompleteByReferenceArgumentDiagnoser",
"(",
"msg",
")",
":",
"gcc_regex",
"=",
"(",
"_GCC_FILE_LINE_RE",
"+",
"r'instantiated from here\\n'",
"r'.*gtest-printers\\.h.*error: invalid application of '",
"r'\\'sizeof\\' to incomplete type \\'(?P<type>.*)\\''",
")",
"clang_regex... | [
254,
0
] | [
278,
31
] | python | en | ['en', 'en', 'en'] | True |
_OverloadedFunctionMatcherDiagnoser | (msg) | Diagnoses the OFM disease, given the error messages by the compiler. | Diagnoses the OFM disease, given the error messages by the compiler. | def _OverloadedFunctionMatcherDiagnoser(msg):
"""Diagnoses the OFM disease, given the error messages by the compiler."""
gcc_regex = (_GCC_FILE_LINE_RE + r'error: no matching function for '
r'call to \'Truly\(<unresolved overloaded function type>\)')
clang_regex = (_CLANG_FILE_LINE_RE + r'error: n... | [
"def",
"_OverloadedFunctionMatcherDiagnoser",
"(",
"msg",
")",
":",
"gcc_regex",
"=",
"(",
"_GCC_FILE_LINE_RE",
"+",
"r'error: no matching function for '",
"r'call to \\'Truly\\(<unresolved overloaded function type>\\)'",
")",
"clang_regex",
"=",
"(",
"_CLANG_FILE_LINE_RE",
"+",
... | [
281,
0
] | [
299,
31
] | python | en | ['en', 'en', 'en'] | True |
_OverloadedFunctionActionDiagnoser | (msg) | Diagnoses the OFA disease, given the error messages by the compiler. | Diagnoses the OFA disease, given the error messages by the compiler. | def _OverloadedFunctionActionDiagnoser(msg):
"""Diagnoses the OFA disease, given the error messages by the compiler."""
gcc_regex = (_GCC_FILE_LINE_RE + r'error: no matching function for call to '
r'\'Invoke\(<unresolved overloaded function type>')
clang_regex = (_CLANG_FILE_LINE_RE + r'error: no ... | [
"def",
"_OverloadedFunctionActionDiagnoser",
"(",
"msg",
")",
":",
"gcc_regex",
"=",
"(",
"_GCC_FILE_LINE_RE",
"+",
"r'error: no matching function for call to '",
"r'\\'Invoke\\(<unresolved overloaded function type>'",
")",
"clang_regex",
"=",
"(",
"_CLANG_FILE_LINE_RE",
"+",
"... | [
302,
0
] | [
324,
31
] | python | en | ['en', 'en', 'en'] | True |
_OverloadedMethodActionDiagnoser | (msg) | Diagnoses the OMA disease, given the error messages by the compiler. | Diagnoses the OMA disease, given the error messages by the compiler. | def _OverloadedMethodActionDiagnoser(msg):
"""Diagnoses the OMA disease, given the error messages by the compiler."""
gcc_regex = (_GCC_FILE_LINE_RE + r'error: no matching function for '
r'call to \'Invoke\(.+, <unresolved overloaded function '
r'type>\)')
clang_regex = (_CLANG_FILE... | [
"def",
"_OverloadedMethodActionDiagnoser",
"(",
"msg",
")",
":",
"gcc_regex",
"=",
"(",
"_GCC_FILE_LINE_RE",
"+",
"r'error: no matching function for '",
"r'call to \\'Invoke\\(.+, <unresolved overloaded function '",
"r'type>\\)'",
")",
"clang_regex",
"=",
"(",
"_CLANG_FILE_LINE_R... | [
327,
0
] | [
353,
31
] | python | en | ['en', 'en', 'en'] | True |
_MockObjectPointerDiagnoser | (msg) | Diagnoses the MOP disease, given the error messages by the compiler. | Diagnoses the MOP disease, given the error messages by the compiler. | def _MockObjectPointerDiagnoser(msg):
"""Diagnoses the MOP disease, given the error messages by the compiler."""
gcc_regex = (_GCC_FILE_LINE_RE + r'error: request for member '
r'\'gmock_(?P<method>.+)\' in \'(?P<mock_object>.+)\', '
r'which is of non-class type \'(.*::)*(?P<class_name... | [
"def",
"_MockObjectPointerDiagnoser",
"(",
"msg",
")",
":",
"gcc_regex",
"=",
"(",
"_GCC_FILE_LINE_RE",
"+",
"r'error: request for member '",
"r'\\'gmock_(?P<method>.+)\\' in \\'(?P<mock_object>.+)\\', '",
"r'which is of non-class type \\'(.*::)*(?P<class_name>.+)\\*\\''",
")",
"clang_... | [
356,
0
] | [
392,
11
] | python | en | ['en', 'en', 'en'] | True |
_NeedToUseSymbolDiagnoser | (msg) | Diagnoses the NUS disease, given the error messages by the compiler. | Diagnoses the NUS disease, given the error messages by the compiler. | def _NeedToUseSymbolDiagnoser(msg):
"""Diagnoses the NUS disease, given the error messages by the compiler."""
gcc_regex = (_GCC_FILE_LINE_RE + r'error: \'(?P<symbol>.+)\' '
r'(was not declared in this scope|has not been declared)')
clang_regex = (_CLANG_FILE_LINE_RE +
r'error: (u... | [
"def",
"_NeedToUseSymbolDiagnoser",
"(",
"msg",
")",
":",
"gcc_regex",
"=",
"(",
"_GCC_FILE_LINE_RE",
"+",
"r'error: \\'(?P<symbol>.+)\\' '",
"r'(was not declared in this scope|has not been declared)'",
")",
"clang_regex",
"=",
"(",
"_CLANG_FILE_LINE_RE",
"+",
"r'error: (use of... | [
395,
0
] | [
412,
68
] | python | en | ['en', 'en', 'en'] | True |
_NeedToUseReturnNullDiagnoser | (msg) | Diagnoses the NRNULL disease, given the error messages by the compiler. | Diagnoses the NRNULL disease, given the error messages by the compiler. | def _NeedToUseReturnNullDiagnoser(msg):
"""Diagnoses the NRNULL disease, given the error messages by the compiler."""
gcc_regex = ('instantiated from \'testing::internal::ReturnAction<R>'
'::operator testing::Action<Func>\(\) const.*\n' +
_GCC_FILE_LINE_RE + r'instantiated from here\n... | [
"def",
"_NeedToUseReturnNullDiagnoser",
"(",
"msg",
")",
":",
"gcc_regex",
"=",
"(",
"'instantiated from \\'testing::internal::ReturnAction<R>'",
"'::operator testing::Action<Func>\\(\\) const.*\\n'",
"+",
"_GCC_FILE_LINE_RE",
"+",
"r'instantiated from here\\n'",
"r'.*error: no matchin... | [
415,
0
] | [
438,
10
] | python | en | ['en', 'en', 'en'] | True |
_TypeInTemplatedBaseDiagnoser | (msg) | Diagnoses the TTB disease, given the error messages by the compiler. | Diagnoses the TTB disease, given the error messages by the compiler. | def _TypeInTemplatedBaseDiagnoser(msg):
"""Diagnoses the TTB disease, given the error messages by the compiler."""
# This version works when the type is used as the mock function's return
# type.
gcc_4_3_1_regex_type_in_retval = (
r'In member function \'int .*\n' + _GCC_FILE_LINE_RE +
r'error: a fu... | [
"def",
"_TypeInTemplatedBaseDiagnoser",
"(",
"msg",
")",
":",
"# This version works when the type is used as the mock function's return",
"# type.",
"gcc_4_3_1_regex_type_in_retval",
"=",
"(",
"r'In member function \\'int .*\\n'",
"+",
"_GCC_FILE_LINE_RE",
"+",
"r'error: a function cal... | [
441,
0
] | [
507,
71
] | python | en | ['en', 'en', 'en'] | True |
_WrongMockMethodMacroDiagnoser | (msg) | Diagnoses the WMM disease, given the error messages by the compiler. | Diagnoses the WMM disease, given the error messages by the compiler. | def _WrongMockMethodMacroDiagnoser(msg):
"""Diagnoses the WMM disease, given the error messages by the compiler."""
gcc_regex = (_GCC_FILE_LINE_RE +
r'.*this_method_does_not_take_(?P<wrong_args>\d+)_argument.*\n'
r'.*\n'
r'.*candidates are.*FunctionMocker<[^>]+A(?P<args... | [
"def",
"_WrongMockMethodMacroDiagnoser",
"(",
"msg",
")",
":",
"gcc_regex",
"=",
"(",
"_GCC_FILE_LINE_RE",
"+",
"r'.*this_method_does_not_take_(?P<wrong_args>\\d+)_argument.*\\n'",
"r'.*\\n'",
"r'.*candidates are.*FunctionMocker<[^>]+A(?P<args>\\d+)\\)>'",
")",
"clang_regex",
"=",
... | [
510,
0
] | [
535,
31
] | python | en | ['en', 'en', 'en'] | True |
_WrongParenPositionDiagnoser | (msg) | Diagnoses the WPP disease, given the error messages by the compiler. | Diagnoses the WPP disease, given the error messages by the compiler. | def _WrongParenPositionDiagnoser(msg):
"""Diagnoses the WPP disease, given the error messages by the compiler."""
gcc_regex = (_GCC_FILE_LINE_RE +
r'error:.*testing::internal::MockSpec<.* has no member named \''
r'(?P<method>\w+)\'')
clang_regex = (_CLANG_NON_GMOCK_FILE_LINE_RE +
... | [
"def",
"_WrongParenPositionDiagnoser",
"(",
"msg",
")",
":",
"gcc_regex",
"=",
"(",
"_GCC_FILE_LINE_RE",
"+",
"r'error:.*testing::internal::MockSpec<.* has no member named \\''",
"r'(?P<method>\\w+)\\''",
")",
"clang_regex",
"=",
"(",
"_CLANG_NON_GMOCK_FILE_LINE_RE",
"+",
"r'er... | [
538,
0
] | [
556,
31
] | python | en | ['en', 'en', 'en'] | True |
Diagnose | (msg) | Generates all possible diagnoses given the compiler error message. | Generates all possible diagnoses given the compiler error message. | def Diagnose(msg):
"""Generates all possible diagnoses given the compiler error message."""
msg = re.sub(r'\x1b\[[^m]*m', '', msg) # Strips all color formatting.
# Assuming the string is using the UTF-8 encoding, replaces the left and
# the right single quote characters with apostrophes.
msg = re.sub(r'(\xe... | [
"def",
"Diagnose",
"(",
"msg",
")",
":",
"msg",
"=",
"re",
".",
"sub",
"(",
"r'\\x1b\\[[^m]*m'",
",",
"''",
",",
"msg",
")",
"# Strips all color formatting.",
"# Assuming the string is using the UTF-8 encoding, replaces the left and",
"# the right single quote characters with... | [
576,
0
] | [
590,
18
] | python | en | ['en', 'en', 'en'] | True |
Font.color | (self) |
The 'color' property is a color and may be specified as:
- A hex string (e.g. '#ff0000')
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
- An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
- A named CSS color:
... |
The 'color' property is a color and may be specified as:
- A hex string (e.g. '#ff0000')
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
- An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
- A named CSS color:
... | def color(self):
"""
The 'color' property is a color and may be specified as:
- A hex string (e.g. '#ff0000')
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
- An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
- A name... | [
"def",
"color",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"color\"",
"]"
] | [
15,
4
] | [
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
Sets the annotation text font.
Parameters
----------
arg
dict of properties compatible with this constructor or
an instance of
:class:`plotly.graph_objs.layout.scene.annotation.Font`
color
... |
Construct a new Font object
Sets the annotation text font. | def __init__(self, arg=None, color=None, family=None, size=None, **kwargs):
"""
Construct a new Font object
Sets the annotation text font.
Parameters
----------
arg
dict of properties compatible with this constructor or
an instance of
... | [
"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 |
legacy_bbox2delta | (proposals,
gt,
means=(0., 0., 0., 0.),
stds=(1., 1., 1., 1.)) | Compute deltas of proposals w.r.t. gt in the MMDet V1.x manner.
We usually compute the deltas of x, y, w, h of proposals w.r.t ground
truth bboxes to get regression target.
This is the inverse function of `delta2bbox()`
Args:
proposals (Tensor): Boxes to be transformed, shape (N, ..., 4)
... | Compute deltas of proposals w.r.t. gt in the MMDet V1.x manner. | def legacy_bbox2delta(proposals,
gt,
means=(0., 0., 0., 0.),
stds=(1., 1., 1., 1.)):
"""Compute deltas of proposals w.r.t. gt in the MMDet V1.x manner.
We usually compute the deltas of x, y, w, h of proposals w.r.t ground
truth bboxes to get... | [
"def",
"legacy_bbox2delta",
"(",
"proposals",
",",
"gt",
",",
"means",
"=",
"(",
"0.",
",",
"0.",
",",
"0.",
",",
"0.",
")",
",",
"stds",
"=",
"(",
"1.",
",",
"1.",
",",
"1.",
",",
"1.",
")",
")",
":",
"assert",
"proposals",
".",
"size",
"(",
... | [
81,
0
] | [
126,
17
] | python | en | ['en', 'en', 'en'] | True |
legacy_delta2bbox | (rois,
deltas,
means=(0., 0., 0., 0.),
stds=(1., 1., 1., 1.),
max_shape=None,
wh_ratio_clip=16 / 1000) | Apply deltas to shift/scale base boxes in the MMDet V1.x manner.
Typically the rois are anchor or proposed bounding boxes and the deltas are
network outputs used to shift/scale those boxes.
This is the inverse function of `bbox2delta()`
Args:
rois (Tensor): Boxes to be transformed. Has shape (... | Apply deltas to shift/scale base boxes in the MMDet V1.x manner. | def legacy_delta2bbox(rois,
deltas,
means=(0., 0., 0., 0.),
stds=(1., 1., 1., 1.),
max_shape=None,
wh_ratio_clip=16 / 1000):
"""Apply deltas to shift/scale base boxes in the MMDet V1.x manner.
Typicall... | [
"def",
"legacy_delta2bbox",
"(",
"rois",
",",
"deltas",
",",
"means",
"=",
"(",
"0.",
",",
"0.",
",",
"0.",
",",
"0.",
")",
",",
"stds",
"=",
"(",
"1.",
",",
"1.",
",",
"1.",
",",
"1.",
")",
",",
"max_shape",
"=",
"None",
",",
"wh_ratio_clip",
... | [
129,
0
] | [
211,
17
] | python | en | ['en', 'en', 'en'] | True |
Marker.color | (self) |
Sets the marker color of selected points.
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%... |
Sets the marker color of selected points.
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%... | def color(self):
"""
Sets the marker color of selected points.
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/h... | [
"def",
"color",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"color\"",
"]"
] | [
15,
4
] | [
65,
28
] | python | en | ['en', 'error', 'th'] | False |
Marker.opacity | (self) |
Sets the marker opacity of selected points.
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 marker opacity of selected points.
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 marker opacity of selected points.
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\"",
"]"
] | [
74,
4
] | [
85,
30
] | python | en | ['en', 'error', 'th'] | False |
Marker.size | (self) |
Sets the marker size of selected points.
The 'size' property is a number and may be specified as:
- An int or float in the interval [0, inf]
Returns
-------
int|float
|
Sets the marker size of selected points.
The 'size' property is a number and may be specified as:
- An int or float in the interval [0, inf] | def size(self):
"""
Sets the marker size of selected points.
The 'size' property is a number and may be specified as:
- An int or float in the interval [0, inf]
Returns
-------
int|float
"""
return self["size"] | [
"def",
"size",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"size\"",
"]"
] | [
94,
4
] | [
105,
27
] | python | en | ['en', 'error', 'th'] | False |
Marker.__init__ | (self, arg=None, color=None, opacity=None, size=None, **kwargs) |
Construct a new Marker object
Parameters
----------
arg
dict of properties compatible with this constructor or
an instance of :class:`plotly.graph_objs.scattercarpet.
selected.Marker`
color
Sets the marker color of selecte... |
Construct a new Marker object
Parameters
----------
arg
dict of properties compatible with this constructor or
an instance of :class:`plotly.graph_objs.scattercarpet.
selected.Marker`
color
Sets the marker color of selecte... | def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs):
"""
Construct a new Marker object
Parameters
----------
arg
dict of properties compatible with this constructor or
an instance of :class:`plotly.graph_objs.scattercarpet.... | [
"def",
"__init__",
"(",
"self",
",",
"arg",
"=",
"None",
",",
"color",
"=",
"None",
",",
"opacity",
"=",
"None",
",",
"size",
"=",
"None",
",",
"*",
"*",
"kwargs",
")",
":",
"super",
"(",
"Marker",
",",
"self",
")",
".",
"__init__",
"(",
"\"marke... | [
124,
4
] | [
193,
34
] | python | en | ['en', 'error', 'th'] | False |
Marker.color | (self) |
Area traces are deprecated! Please switch to the "barpolar"
trace type. Sets themarkercolor. It accepts either a specific
color or an array of numbers that are mapped to the colorscale
relative to the max and min values of the array or relative to
`marker.cmin` and `marker.cmax`... |
Area traces are deprecated! Please switch to the "barpolar"
trace type. Sets themarkercolor. It accepts either a specific
color or an array of numbers that are mapped to the colorscale
relative to the max and min values of the array or relative to
`marker.cmin` and `marker.cmax`... | def color(self):
"""
Area traces are deprecated! Please switch to the "barpolar"
trace type. Sets themarkercolor. It accepts either a specific
color or an array of numbers that are mapped to the colorscale
relative to the max and min values of the array or relative to
`ma... | [
"def",
"color",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"color\"",
"]"
] | [
24,
4
] | [
79,
28
] | python | en | ['en', 'error', 'th'] | False |
Marker.colorsrc | (self) |
Sets the source reference on Chart Studio Cloud for color .
The 'colorsrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
|
Sets the source reference on Chart Studio Cloud for color .
The 'colorsrc' property must be specified as a string or
as a plotly.grid_objs.Column object | def colorsrc(self):
"""
Sets the source reference on Chart Studio Cloud for color .
The 'colorsrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
"""
return self["colorsrc"] | [
"def",
"colorsrc",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"colorsrc\"",
"]"
] | [
88,
4
] | [
99,
31
] | python | en | ['en', 'error', 'th'] | False |
Marker.opacity | (self) |
Area traces are deprecated! Please switch to the "barpolar"
trace type. Sets the marker opacity.
The 'opacity' property is a number and may be specified as:
- An int or float in the interval [0, 1]
- A tuple, list, or one-dimensional numpy array of the above
Re... |
Area traces are deprecated! Please switch to the "barpolar"
trace type. Sets the marker opacity.
The 'opacity' property is a number and may be specified as:
- An int or float in the interval [0, 1]
- A tuple, list, or one-dimensional numpy array of the above | def opacity(self):
"""
Area traces are deprecated! Please switch to the "barpolar"
trace type. Sets the marker opacity.
The 'opacity' property is a number and may be specified as:
- An int or float in the interval [0, 1]
- A tuple, list, or one-dimensional numpy ... | [
"def",
"opacity",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"opacity\"",
"]"
] | [
108,
4
] | [
121,
30
] | python | en | ['en', 'error', 'th'] | False |
Marker.opacitysrc | (self) |
Sets the source reference on Chart Studio Cloud for opacity .
The 'opacitysrc' 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 opacity .
The 'opacitysrc' property must be specified as a string or
as a plotly.grid_objs.Column object | def opacitysrc(self):
"""
Sets the source reference on Chart Studio Cloud for opacity .
The 'opacitysrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
"""
return self["opacitysrc"] | [
"def",
"opacitysrc",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"opacitysrc\"",
"]"
] | [
130,
4
] | [
141,
33
] | python | en | ['en', 'error', 'th'] | False |
Marker.size | (self) |
Area traces are deprecated! Please switch to the "barpolar"
trace type. Sets the marker size (in px).
The 'size' property is a number and may be specified as:
- An int or float in the interval [0, inf]
- A tuple, list, or one-dimensional numpy array of the above
... |
Area traces are deprecated! Please switch to the "barpolar"
trace type. Sets the marker size (in px).
The 'size' property is a number and may be specified as:
- An int or float in the interval [0, inf]
- A tuple, list, or one-dimensional numpy array of the above | def size(self):
"""
Area traces are deprecated! Please switch to the "barpolar"
trace type. Sets the marker size (in px).
The 'size' property is a number and may be specified as:
- An int or float in the interval [0, inf]
- A tuple, list, or one-dimensional numpy... | [
"def",
"size",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"size\"",
"]"
] | [
150,
4
] | [
163,
27
] | python | en | ['en', 'error', 'th'] | False |
Marker.sizesrc | (self) |
Sets the source reference on Chart Studio Cloud for size .
The 'sizesrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
|
Sets the source reference on Chart Studio Cloud for size .
The 'sizesrc' property must be specified as a string or
as a plotly.grid_objs.Column object | def sizesrc(self):
"""
Sets the source reference on Chart Studio Cloud for size .
The 'sizesrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
"""
return self["sizesrc"] | [
"def",
"sizesrc",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"sizesrc\"",
"]"
] | [
172,
4
] | [
183,
30
] | python | en | ['en', 'error', 'th'] | False |
Marker.symbol | (self) |
Area traces are deprecated! Please switch to the "barpolar"
trace type. Sets the marker symbol type. Adding 100 is
equivalent to appending "-open" to a symbol name. Adding 200 is
equivalent to appending "-dot" to a symbol name. Adding 300 is
equivalent to appending "-open-dot" o... |
Area traces are deprecated! Please switch to the "barpolar"
trace type. Sets the marker symbol type. Adding 100 is
equivalent to appending "-open" to a symbol name. Adding 200 is
equivalent to appending "-dot" to a symbol name. Adding 300 is
equivalent to appending "-open-dot" o... | def symbol(self):
"""
Area traces are deprecated! Please switch to the "barpolar"
trace type. Sets the marker symbol type. Adding 100 is
equivalent to appending "-open" to a symbol name. Adding 200 is
equivalent to appending "-dot" to a symbol name. Adding 300 is
equivale... | [
"def",
"symbol",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"symbol\"",
"]"
] | [
192,
4
] | [
270,
29
] | python | en | ['en', 'error', 'th'] | False |
Marker.symbolsrc | (self) |
Sets the source reference on Chart Studio Cloud for symbol .
The 'symbolsrc' 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 symbol .
The 'symbolsrc' property must be specified as a string or
as a plotly.grid_objs.Column object | def symbolsrc(self):
"""
Sets the source reference on Chart Studio Cloud for symbol .
The 'symbolsrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
"""
return self["symbolsrc"] | [
"def",
"symbolsrc",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"symbolsrc\"",
"]"
] | [
279,
4
] | [
290,
32
] | python | en | ['en', 'error', 'th'] | False |
Marker.__init__ | (
self,
arg=None,
color=None,
colorsrc=None,
opacity=None,
opacitysrc=None,
size=None,
sizesrc=None,
symbol=None,
symbolsrc=None,
**kwargs
) |
Construct a new Marker object
Parameters
----------
arg
dict of properties compatible with this constructor or
an instance of :class:`plotly.graph_objs.area.Marker`
color
Area traces are deprecated! Please switch to the
"b... |
Construct a new Marker object
Parameters
----------
arg
dict of properties compatible with this constructor or
an instance of :class:`plotly.graph_objs.area.Marker`
color
Area traces are deprecated! Please switch to the
"b... | def __init__(
self,
arg=None,
color=None,
colorsrc=None,
opacity=None,
opacitysrc=None,
size=None,
sizesrc=None,
symbol=None,
symbolsrc=None,
**kwargs
):
"""
Construct a new Marker object
Paramet... | [
"def",
"__init__",
"(",
"self",
",",
"arg",
"=",
"None",
",",
"color",
"=",
"None",
",",
"colorsrc",
"=",
"None",
",",
"opacity",
"=",
"None",
",",
"opacitysrc",
"=",
"None",
",",
"size",
"=",
"None",
",",
"sizesrc",
"=",
"None",
",",
"symbol",
"="... | [
335,
4
] | [
461,
34
] | 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
Sets this color bar's title font. Note that the title's font
used to be set by the now deprecated `titlefont` attribute.
Parameters
----------
arg
dict of properties compatible with this constructor or
an inst... |
Construct a new Font object
Sets this color bar's title font. Note that the title's font
used to be set by the now deprecated `titlefont` attribute. | def __init__(self, arg=None, color=None, family=None, size=None, **kwargs):
"""
Construct a new Font object
Sets this color bar's title font. Note that the title's font
used to be set by the now deprecated `titlefont` attribute.
Parameters
----------
arg... | [
"def",
"__init__",
"(",
"self",
",",
"arg",
"=",
"None",
",",
"color",
"=",
"None",
",",
"family",
"=",
"None",
",",
"size",
"=",
"None",
",",
"*",
"*",
"kwargs",
")",
":",
"super",
"(",
"Font",
",",
"self",
")",
".",
"__init__",
"(",
"\"font\"",... | [
143,
4
] | [
227,
34
] | 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
Sets this color bar's title font. Note that the title's font
used to be set by the now deprecated `titlefont` attribute.
Parameters
----------
arg
dict of properties compatible with this constructor or
an inst... |
Construct a new Font object
Sets this color bar's title font. Note that the title's font
used to be set by the now deprecated `titlefont` attribute. | def __init__(self, arg=None, color=None, family=None, size=None, **kwargs):
"""
Construct a new Font object
Sets this color bar's title font. Note that the title's font
used to be set by the now deprecated `titlefont` attribute.
Parameters
----------
arg... | [
"def",
"__init__",
"(",
"self",
",",
"arg",
"=",
"None",
",",
"color",
"=",
"None",
",",
"family",
"=",
"None",
",",
"size",
"=",
"None",
",",
"*",
"*",
"kwargs",
")",
":",
"super",
"(",
"Font",
",",
"self",
")",
".",
"__init__",
"(",
"\"font\"",... | [
143,
4
] | [
227,
34
] | python | en | ['en', 'error', 'th'] | False |
RouteRecord.__init__ | (
self,
*,
record_id: str = None,
connection_id: str = None,
recipient_key: str = None,
created_at: str = None,
updated_at: str = None,
**kwargs
) |
Initialize a RouteRecord instance.
Args:
recipient_key: The recipient verkey of the route
|
Initialize a RouteRecord instance. | def __init__(
self,
*,
record_id: str = None,
connection_id: str = None,
recipient_key: str = None,
created_at: str = None,
updated_at: str = None,
**kwargs
):
"""
Initialize a RouteRecord instance.
Args:
recipient_... | [
"def",
"__init__",
"(",
"self",
",",
"*",
",",
"record_id",
":",
"str",
"=",
"None",
",",
"connection_id",
":",
"str",
"=",
"None",
",",
"recipient_key",
":",
"str",
"=",
"None",
",",
"created_at",
":",
"str",
"=",
"None",
",",
"updated_at",
":",
"st... | [
15,
4
] | [
37,
36
] | python | en | ['en', 'error', 'th'] | False |
MenuForm.__init__ | (
self,
*,
title: str = None,
description: str = None,
params: Sequence[MenuFormParam] = None,
submit_label: str = None,
) |
Initialize a MenuForm instance.
Args:
title: The menu form title
description: Additional descriptive text for the menu form
params: A list of form parameters
submit_label: An alternative label for the form submit button
|
Initialize a MenuForm instance. | def __init__(
self,
*,
title: str = None,
description: str = None,
params: Sequence[MenuFormParam] = None,
submit_label: str = None,
):
"""
Initialize a MenuForm instance.
Args:
title: The menu form title
description: A... | [
"def",
"__init__",
"(",
"self",
",",
"*",
",",
"title",
":",
"str",
"=",
"None",
",",
"description",
":",
"str",
"=",
"None",
",",
"params",
":",
"Sequence",
"[",
"MenuFormParam",
"]",
"=",
"None",
",",
"submit_label",
":",
"str",
"=",
"None",
",",
... | [
19,
4
] | [
39,
40
] | python | en | ['en', 'error', 'th'] | False |
Setup.setupTxns | (self, key, force: bool = False) |
Create base transactions
:param key: ledger
:param force: replace existing transaction files
|
Create base transactions | def setupTxns(self, key, force: bool = False):
"""
Create base transactions
:param key: ledger
:param force: replace existing transaction files
"""
import data
dataDir = os.path.dirname(data.__file__)
# TODO: Need to get "test" and "live" from ENVS prope... | [
"def",
"setupTxns",
"(",
"self",
",",
"key",
",",
"force",
":",
"bool",
"=",
"False",
")",
":",
"import",
"data",
"dataDir",
"=",
"os",
".",
"path",
".",
"dirname",
"(",
"data",
".",
"__file__",
")",
"# TODO: Need to get \"test\" and \"live\" from ENVS propert... | [
23,
4
] | [
56,
19
] | python | en | ['en', 'error', 'th'] | False |
ErrorX.array | (self) |
Sets the data corresponding the length of each error bar.
Values are plotted relative to the underlying data.
The 'array' property is an array that may be specified as a tuple,
list, numpy array, or pandas Series
Returns
-------
numpy.ndarray
|
Sets the data corresponding the length of each error bar.
Values are plotted relative to the underlying data.
The 'array' property is an array that may be specified as a tuple,
list, numpy array, or pandas Series | def array(self):
"""
Sets the data corresponding the length of each error bar.
Values are plotted relative to the underlying data.
The 'array' property is an array that may be specified as a tuple,
list, numpy array, or pandas Series
Returns
-------
... | [
"def",
"array",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"array\"",
"]"
] | [
31,
4
] | [
43,
28
] | python | en | ['en', 'error', 'th'] | False |
ErrorX.arrayminus | (self) |
Sets the data corresponding the length of each error bar in the
bottom (left) direction for vertical (horizontal) bars Values
are plotted relative to the underlying data.
The 'arrayminus' property is an array that may be specified as a tuple,
list, numpy array, or pandas Se... |
Sets the data corresponding the length of each error bar in the
bottom (left) direction for vertical (horizontal) bars Values
are plotted relative to the underlying data.
The 'arrayminus' property is an array that may be specified as a tuple,
list, numpy array, or pandas Se... | def arrayminus(self):
"""
Sets the data corresponding the length of each error bar in the
bottom (left) direction for vertical (horizontal) bars Values
are plotted relative to the underlying data.
The 'arrayminus' property is an array that may be specified as a tuple,
... | [
"def",
"arrayminus",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"arrayminus\"",
"]"
] | [
52,
4
] | [
65,
33
] | python | en | ['en', 'error', 'th'] | False |
ErrorX.arrayminussrc | (self) |
Sets the source reference on Chart Studio Cloud for arrayminus
.
The 'arrayminussrc' 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 arrayminus
.
The 'arrayminussrc' property must be specified as a string or
as a plotly.grid_objs.Column object | def arrayminussrc(self):
"""
Sets the source reference on Chart Studio Cloud for arrayminus
.
The 'arrayminussrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
"""
return self["arra... | [
"def",
"arrayminussrc",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"arrayminussrc\"",
"]"
] | [
74,
4
] | [
86,
36
] | python | en | ['en', 'error', 'th'] | False |
ErrorX.arraysrc | (self) |
Sets the source reference on Chart Studio Cloud for array .
The 'arraysrc' 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 array .
The 'arraysrc' property must be specified as a string or
as a plotly.grid_objs.Column object | def arraysrc(self):
"""
Sets the source reference on Chart Studio Cloud for array .
The 'arraysrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
"""
return self["arraysrc"] | [
"def",
"arraysrc",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"arraysrc\"",
"]"
] | [
95,
4
] | [
106,
31
] | python | en | ['en', 'error', 'th'] | False |
ErrorX.color | (self) |
Sets the stoke color of the error bars.
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%,1... |
Sets the stoke color of the error bars.
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%,1... | def color(self):
"""
Sets the stoke color of the error bars.
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/hsv... | [
"def",
"color",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"color\"",
"]"
] | [
115,
4
] | [
165,
28
] | python | en | ['en', 'error', 'th'] | False |
ErrorX.copy_ystyle | (self) |
The 'copy_ystyle' property must be specified as a bool
(either True, or False)
Returns
-------
bool
|
The 'copy_ystyle' property must be specified as a bool
(either True, or False) | def copy_ystyle(self):
"""
The 'copy_ystyle' property must be specified as a bool
(either True, or False)
Returns
-------
bool
"""
return self["copy_ystyle"] | [
"def",
"copy_ystyle",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"copy_ystyle\"",
"]"
] | [
174,
4
] | [
183,
34
] | python | en | ['en', 'error', 'th'] | False |
ErrorX.symmetric | (self) |
Determines whether or not the error bars have the same length
in both direction (top/bottom for vertical bars, left/right for
horizontal bars.
The 'symmetric' property must be specified as a bool
(either True, or False)
Returns
-------
bool
|
Determines whether or not the error bars have the same length
in both direction (top/bottom for vertical bars, left/right for
horizontal bars.
The 'symmetric' property must be specified as a bool
(either True, or False) | def symmetric(self):
"""
Determines whether or not the error bars have the same length
in both direction (top/bottom for vertical bars, left/right for
horizontal bars.
The 'symmetric' property must be specified as a bool
(either True, or False)
Returns
... | [
"def",
"symmetric",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"symmetric\"",
"]"
] | [
192,
4
] | [
205,
32
] | python | en | ['en', 'error', 'th'] | False |
ErrorX.thickness | (self) |
Sets the thickness (in px) of the error bars.
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 (in px) of the error bars.
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 (in px) of the error bars.
The 'thickness' property is a number and may be specified as:
- An int or float in the interval [0, inf]
Returns
-------
int|float
"""
return self["thickness"] | [
"def",
"thickness",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"thickness\"",
"]"
] | [
214,
4
] | [
225,
32
] | python | en | ['en', 'error', 'th'] | False |
ErrorX.traceref | (self) |
The 'traceref' property is a integer and may be specified as:
- An int (or float that will be cast to an int)
in the interval [0, 9223372036854775807]
Returns
-------
int
|
The 'traceref' property is a integer and may be specified as:
- An int (or float that will be cast to an int)
in the interval [0, 9223372036854775807] | def traceref(self):
"""
The 'traceref' property is a integer and may be specified as:
- An int (or float that will be cast to an int)
in the interval [0, 9223372036854775807]
Returns
-------
int
"""
return self["traceref"] | [
"def",
"traceref",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"traceref\"",
"]"
] | [
234,
4
] | [
244,
31
] | python | en | ['en', 'error', 'th'] | False |
ErrorX.tracerefminus | (self) |
The 'tracerefminus' property is a integer and may be specified as:
- An int (or float that will be cast to an int)
in the interval [0, 9223372036854775807]
Returns
-------
int
|
The 'tracerefminus' property is a integer and may be specified as:
- An int (or float that will be cast to an int)
in the interval [0, 9223372036854775807] | def tracerefminus(self):
"""
The 'tracerefminus' property is a integer and may be specified as:
- An int (or float that will be cast to an int)
in the interval [0, 9223372036854775807]
Returns
-------
int
"""
return self["tracerefminus"] | [
"def",
"tracerefminus",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"tracerefminus\"",
"]"
] | [
253,
4
] | [
263,
36
] | python | en | ['en', 'error', 'th'] | False |
ErrorX.type | (self) |
Determines the rule used to generate the error bars. If
*constant`, the bar lengths are of a constant value. Set this
constant in `value`. If "percent", the bar lengths correspond
to a percentage of underlying data. Set this percentage in
`value`. If "sqrt", the bar lengths corr... |
Determines the rule used to generate the error bars. If
*constant`, the bar lengths are of a constant value. Set this
constant in `value`. If "percent", the bar lengths correspond
to a percentage of underlying data. Set this percentage in
`value`. If "sqrt", the bar lengths corr... | def type(self):
"""
Determines the rule used to generate the error bars. If
*constant`, the bar lengths are of a constant value. Set this
constant in `value`. If "percent", the bar lengths correspond
to a percentage of underlying data. Set this percentage in
`value`. If "... | [
"def",
"type",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"type\"",
"]"
] | [
272,
4
] | [
290,
27
] | python | en | ['en', 'error', 'th'] | False |
ErrorX.value | (self) |
Sets the value of either the percentage (if `type` is set to
"percent") or the constant (if `type` is set to "constant")
corresponding to the lengths of the error bars.
The 'value' property is a number and may be specified as:
- An int or float in the interval [0, inf]
... |
Sets the value of either the percentage (if `type` is set to
"percent") or the constant (if `type` is set to "constant")
corresponding to the lengths of the error bars.
The 'value' property is a number and may be specified as:
- An int or float in the interval [0, inf] | def value(self):
"""
Sets the value of either the percentage (if `type` is set to
"percent") or the constant (if `type` is set to "constant")
corresponding to the lengths of the error bars.
The 'value' property is a number and may be specified as:
- An int or float... | [
"def",
"value",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"value\"",
"]"
] | [
299,
4
] | [
312,
28
] | python | en | ['en', 'error', 'th'] | False |
ErrorX.valueminus | (self) |
Sets the value of either the percentage (if `type` is set to
"percent") or the constant (if `type` is set to "constant")
corresponding to the lengths of the error bars in the bottom
(left) direction for vertical (horizontal) bars
The 'valueminus' property is a number and ma... |
Sets the value of either the percentage (if `type` is set to
"percent") or the constant (if `type` is set to "constant")
corresponding to the lengths of the error bars in the bottom
(left) direction for vertical (horizontal) bars
The 'valueminus' property is a number and ma... | def valueminus(self):
"""
Sets the value of either the percentage (if `type` is set to
"percent") or the constant (if `type` is set to "constant")
corresponding to the lengths of the error bars in the bottom
(left) direction for vertical (horizontal) bars
The 'valuem... | [
"def",
"valueminus",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"valueminus\"",
"]"
] | [
321,
4
] | [
335,
33
] | python | en | ['en', 'error', 'th'] | False |
ErrorX.visible | (self) |
Determines whether or not this set of error bars is visible.
The 'visible' property must be specified as a bool
(either True, or False)
Returns
-------
bool
|
Determines whether or not this set of error bars is visible.
The 'visible' property must be specified as a bool
(either True, or False) | def visible(self):
"""
Determines whether or not this set of error bars is visible.
The 'visible' property must be specified as a bool
(either True, or False)
Returns
-------
bool
"""
return self["visible"] | [
"def",
"visible",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"visible\"",
"]"
] | [
344,
4
] | [
355,
30
] | python | en | ['en', 'error', 'th'] | False |
ErrorX.width | (self) |
Sets the width (in px) of the cross-bar at both ends of the
error bars.
The 'width' 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 cross-bar at both ends of the
error bars.
The 'width' property is a number and may be specified as:
- An int or float in the interval [0, inf] | def width(self):
"""
Sets the width (in px) of the cross-bar at both ends of the
error bars.
The 'width' property is a number and may be specified as:
- An int or float in the interval [0, inf]
Returns
-------
int|float
"""
return s... | [
"def",
"width",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"width\"",
"]"
] | [
364,
4
] | [
376,
28
] | python | en | ['en', 'error', 'th'] | False |
ErrorX.__init__ | (
self,
arg=None,
array=None,
arrayminus=None,
arrayminussrc=None,
arraysrc=None,
color=None,
copy_ystyle=None,
symmetric=None,
thickness=None,
traceref=None,
tracerefminus=None,
type=None,
value=None,
... |
Construct a new ErrorX object
Parameters
----------
arg
dict of properties compatible with this constructor or
an instance of :class:`plotly.graph_objs.bar.ErrorX`
array
Sets the data corresponding the length of each error
... |
Construct a new ErrorX object
Parameters
----------
arg
dict of properties compatible with this constructor or
an instance of :class:`plotly.graph_objs.bar.ErrorX`
array
Sets the data corresponding the length of each error
... | def __init__(
self,
arg=None,
array=None,
arrayminus=None,
arrayminussrc=None,
arraysrc=None,
color=None,
copy_ystyle=None,
symmetric=None,
thickness=None,
traceref=None,
tracerefminus=None,
type=None,
value=... | [
"def",
"__init__",
"(",
"self",
",",
"arg",
"=",
"None",
",",
"array",
"=",
"None",
",",
"arrayminus",
"=",
"None",
",",
"arrayminussrc",
"=",
"None",
",",
"arraysrc",
"=",
"None",
",",
"color",
"=",
"None",
",",
"copy_ystyle",
"=",
"None",
",",
"sym... | [
444,
4
] | [
628,
34
] | python | en | ['en', 'error', 'th'] | False |
ProblemReport.__init__ | (
self,
*,
msg_catalog: str = None,
locale: str = None,
explain_ltxt: str = None,
explain_l10n: Mapping[str, str] = None,
problem_items: Sequence[Mapping[str, str]] = None,
who_retries: str = None,
fix_hint_ltxt: Mapping[str, str] = None,
i... |
Initialize a ProblemReport message instance.
Args:
msg_catalog: Reference to a message catalog
locale: Locale identifier
explain_ltxt: Localized message
explain_l10n: Dictionary of localizations
problem_items: List of problem items
... |
Initialize a ProblemReport message instance. | def __init__(
self,
*,
msg_catalog: str = None,
locale: str = None,
explain_ltxt: str = None,
explain_l10n: Mapping[str, str] = None,
problem_items: Sequence[Mapping[str, str]] = None,
who_retries: str = None,
fix_hint_ltxt: Mapping[str, str] = Non... | [
"def",
"__init__",
"(",
"self",
",",
"*",
",",
"msg_catalog",
":",
"str",
"=",
"None",
",",
"locale",
":",
"str",
"=",
"None",
",",
"explain_ltxt",
":",
"str",
"=",
"None",
",",
"explain_l10n",
":",
"Mapping",
"[",
"str",
",",
"str",
"]",
"=",
"Non... | [
23,
4
] | [
69,
44
] | python | en | ['en', 'error', 'th'] | False |
Selected.marker | (self) |
The 'marker' property is an instance of Marker
that may be specified as:
- An instance of :class:`plotly.graph_objs.histogram.selected.Marker`
- A dict of string/value properties that will be passed
to the Marker constructor
Supported dict properties:
... |
The 'marker' property is an instance of Marker
that may be specified as:
- An instance of :class:`plotly.graph_objs.histogram.selected.Marker`
- A dict of string/value properties that will be passed
to the Marker constructor
Supported dict properties:
... | def marker(self):
"""
The 'marker' property is an instance of Marker
that may be specified as:
- An instance of :class:`plotly.graph_objs.histogram.selected.Marker`
- A dict of string/value properties that will be passed
to the Marker constructor
... | [
"def",
"marker",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"marker\"",
"]"
] | [
15,
4
] | [
34,
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.histogram.selected.Textfont`
- A dict of string/value properties that will be passed
to the Textfont constructor
Supported dict proper... |
The 'textfont' property is an instance of Textfont
that may be specified as:
- An instance of :class:`plotly.graph_objs.histogram.selected.Textfont`
- A dict of string/value properties that will be passed
to the Textfont constructor
Supported dict proper... | def textfont(self):
"""
The 'textfont' property is an instance of Textfont
that may be specified as:
- An instance of :class:`plotly.graph_objs.histogram.selected.Textfont`
- A dict of string/value properties that will be passed
to the Textfont constructor
... | [
"def",
"textfont",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"textfont\"",
"]"
] | [
43,
4
] | [
60,
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.histogram.Selected`
marker
:class:`plotly.graph_objects.histogram.se... |
Construct a new Selected object
Parameters
----------
arg
dict of properties compatible with this constructor or
an instance of
:class:`plotly.graph_objs.histogram.Selected`
marker
:class:`plotly.graph_objects.histogram.se... | 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.histogram... | [
"def",
"__init__",
"(",
"self",
",",
"arg",
"=",
"None",
",",
"marker",
"=",
"None",
",",
"textfont",
"=",
"None",
",",
"*",
"*",
"kwargs",
")",
":",
"super",
"(",
"Selected",
",",
"self",
")",
".",
"__init__",
"(",
"\"selected\"",
")",
"if",
"\"_p... | [
79,
4
] | [
144,
34
] | python | en | ['en', 'error', 'th'] | False |
Hoverlabel.align | (self) |
Sets the horizontal alignment of the text content within hover
label box. Has an effect only if the hover label text spans
more two or more lines
The 'align' property is an enumeration that may be specified as:
- One of the following enumeration values:
['... |
Sets the horizontal alignment of the text content within hover
label box. Has an effect only if the hover label text spans
more two or more lines
The 'align' property is an enumeration that may be specified as:
- One of the following enumeration values:
['... | def align(self):
"""
Sets the horizontal alignment of the text content within hover
label box. Has an effect only if the hover label text spans
more two or more lines
The 'align' property is an enumeration that may be specified as:
- One of the following enumeratio... | [
"def",
"align",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"align\"",
"]"
] | [
25,
4
] | [
40,
28
] | python | en | ['en', 'error', 'th'] | False |
Hoverlabel.alignsrc | (self) |
Sets the source reference on Chart Studio Cloud for align .
The 'alignsrc' 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 align .
The 'alignsrc' property must be specified as a string or
as a plotly.grid_objs.Column object | def alignsrc(self):
"""
Sets the source reference on Chart Studio Cloud for align .
The 'alignsrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
"""
return self["alignsrc"] | [
"def",
"alignsrc",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"alignsrc\"",
"]"
] | [
49,
4
] | [
60,
31
] | python | en | ['en', 'error', 'th'] | False |
Hoverlabel.bgcolor | (self) |
Sets the background color of the hover labels for this trace
The 'bgcolor' property is a color and may be specified as:
- A hex string (e.g. '#ff0000')
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
- An hsv/hsva str... |
Sets the background color of the hover labels for this trace
The 'bgcolor' property is a color and may be specified as:
- A hex string (e.g. '#ff0000')
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
- An hsv/hsva str... | def bgcolor(self):
"""
Sets the background color of the hover labels for this trace
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%)... | [
"def",
"bgcolor",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"bgcolor\"",
"]"
] | [
69,
4
] | [
120,
30
] | python | en | ['en', 'error', 'th'] | False |
Hoverlabel.bgcolorsrc | (self) |
Sets the source reference on Chart Studio Cloud for bgcolor .
The 'bgcolorsrc' 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 bgcolor .
The 'bgcolorsrc' property must be specified as a string or
as a plotly.grid_objs.Column object | def bgcolorsrc(self):
"""
Sets the source reference on Chart Studio Cloud for bgcolor .
The 'bgcolorsrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
"""
return self["bgcolorsrc"] | [
"def",
"bgcolorsrc",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"bgcolorsrc\"",
"]"
] | [
129,
4
] | [
140,
33
] | python | en | ['en', 'error', 'th'] | False |
Hoverlabel.bordercolor | (self) |
Sets the border color of the hover labels for this trace.
The 'bordercolor' property is a color and may be specified as:
- A hex string (e.g. '#ff0000')
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
- An hsv/hsva st... |
Sets the border color of the hover labels for this trace.
The 'bordercolor' property is a color and may be specified as:
- A hex string (e.g. '#ff0000')
- An rgb/rgba string (e.g. 'rgb(255,0,0)')
- An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
- An hsv/hsva st... | def bordercolor(self):
"""
Sets the border color of the hover labels for this trace.
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%... | [
"def",
"bordercolor",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"bordercolor\"",
"]"
] | [
149,
4
] | [
200,
34
] | python | en | ['en', 'error', 'th'] | False |
Hoverlabel.bordercolorsrc | (self) |
Sets the source reference on Chart Studio Cloud for
bordercolor .
The 'bordercolorsrc' 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
bordercolor .
The 'bordercolorsrc' property must be specified as a string or
as a plotly.grid_objs.Column object | def bordercolorsrc(self):
"""
Sets the source reference on Chart Studio Cloud for
bordercolor .
The 'bordercolorsrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
"""
return self["bo... | [
"def",
"bordercolorsrc",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"bordercolorsrc\"",
"]"
] | [
209,
4
] | [
221,
37
] | python | en | ['en', 'error', 'th'] | False |
Hoverlabel.font | (self) |
Sets the font used in hover labels.
The 'font' property is an instance of Font
that may be specified as:
- An instance of :class:`plotly.graph_objs.area.hoverlabel.Font`
- A dict of string/value properties that will be passed
to the Font constructor
... |
Sets the font used in hover labels.
The 'font' property is an instance of Font
that may be specified as:
- An instance of :class:`plotly.graph_objs.area.hoverlabel.Font`
- A dict of string/value properties that will be passed
to the Font constructor
... | def font(self):
"""
Sets the font used in hover labels.
The 'font' property is an instance of Font
that may be specified as:
- An instance of :class:`plotly.graph_objs.area.hoverlabel.Font`
- A dict of string/value properties that will be passed
to th... | [
"def",
"font",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"font\"",
"]"
] | [
230,
4
] | [
277,
27
] | python | en | ['en', 'error', 'th'] | False |
Hoverlabel.namelength | (self) |
Sets the default length (in number of characters) of the trace
name in the hover labels for all traces. -1 shows the whole
name regardless of length. 0-3 shows the first 0-3 characters,
and an integer >3 will show the whole name if it is less than
that many characters, but if it... |
Sets the default length (in number of characters) of the trace
name in the hover labels for all traces. -1 shows the whole
name regardless of length. 0-3 shows the first 0-3 characters,
and an integer >3 will show the whole name if it is less than
that many characters, but if it... | def namelength(self):
"""
Sets the default length (in number of characters) of the trace
name in the hover labels for all traces. -1 shows the whole
name regardless of length. 0-3 shows the first 0-3 characters,
and an integer >3 will show the whole name if it is less than
... | [
"def",
"namelength",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"namelength\"",
"]"
] | [
286,
4
] | [
304,
33
] | python | en | ['en', 'error', 'th'] | False |
Hoverlabel.namelengthsrc | (self) |
Sets the source reference on Chart Studio Cloud for namelength
.
The 'namelengthsrc' 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 namelength
.
The 'namelengthsrc' property must be specified as a string or
as a plotly.grid_objs.Column object | def namelengthsrc(self):
"""
Sets the source reference on Chart Studio Cloud for namelength
.
The 'namelengthsrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
"""
return self["name... | [
"def",
"namelengthsrc",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"namelengthsrc\"",
"]"
] | [
313,
4
] | [
325,
36
] | python | en | ['en', 'error', 'th'] | False |
Hoverlabel.__init__ | (
self,
arg=None,
align=None,
alignsrc=None,
bgcolor=None,
bgcolorsrc=None,
bordercolor=None,
bordercolorsrc=None,
font=None,
namelength=None,
namelengthsrc=None,
**kwargs
) |
Construct a new Hoverlabel object
Parameters
----------
arg
dict of properties compatible with this constructor or
an instance of
:class:`plotly.graph_objs.area.Hoverlabel`
align
Sets the horizontal alignment of the text c... |
Construct a new Hoverlabel object
Parameters
----------
arg
dict of properties compatible with this constructor or
an instance of
:class:`plotly.graph_objs.area.Hoverlabel`
align
Sets the horizontal alignment of the text c... | def __init__(
self,
arg=None,
align=None,
alignsrc=None,
bgcolor=None,
bgcolorsrc=None,
bordercolor=None,
bordercolorsrc=None,
font=None,
namelength=None,
namelengthsrc=None,
**kwargs
):
"""
Construct a n... | [
"def",
"__init__",
"(",
"self",
",",
"arg",
"=",
"None",
",",
"align",
"=",
"None",
",",
"alignsrc",
"=",
"None",
",",
"bgcolor",
"=",
"None",
",",
"bgcolorsrc",
"=",
"None",
",",
"bordercolor",
"=",
"None",
",",
"bordercolorsrc",
"=",
"None",
",",
"... | [
370,
4
] | [
502,
34
] | python | en | ['en', 'error', 'th'] | False |
IntEpoch.__init__ | (self) | Initializer. | Initializer. | def __init__(self):
"""Initializer."""
super().__init__( # use 64-bit for Aries RFC compatibility
min=-9223372036854775808,
max=9223372036854775807,
error="Value {input} is not a valid integer epoch time."
) | [
"def",
"__init__",
"(",
"self",
")",
":",
"super",
"(",
")",
".",
"__init__",
"(",
"# use 64-bit for Aries RFC compatibility",
"min",
"=",
"-",
"9223372036854775808",
",",
"max",
"=",
"9223372036854775807",
",",
"error",
"=",
"\"Value {input} is not a valid integer ep... | [
17,
4
] | [
24,
9
] | python | de | ['de', 'pl', 'it'] | False |
IndyDID.__init__ | (self) | Initializer. | Initializer. | def __init__(self):
"""Initializer."""
super().__init__(
rf"^(did:sov:)?[{B58}]{{21,22}}$",
error="Value {input} is not an indy decentralized identifier (DID)."
) | [
"def",
"__init__",
"(",
"self",
")",
":",
"super",
"(",
")",
".",
"__init__",
"(",
"rf\"^(did:sov:)?[{B58}]{{21,22}}$\"",
",",
"error",
"=",
"\"Value {input} is not an indy decentralized identifier (DID).\"",
")"
] | [
32,
4
] | [
38,
9
] | python | de | ['de', 'pl', 'it'] | False |
IndyRawPublicKey.__init__ | (self) | Initializer. | Initializer. | def __init__(self):
"""Initializer."""
super().__init__(
rf"^[{B58}]{{43,44}}$",
error="Value {input} is not a raw Ed25519VerificationKey2018 key."
) | [
"def",
"__init__",
"(",
"self",
")",
":",
"super",
"(",
")",
".",
"__init__",
"(",
"rf\"^[{B58}]{{43,44}}$\"",
",",
"error",
"=",
"\"Value {input} is not a raw Ed25519VerificationKey2018 key.\"",
")"
] | [
46,
4
] | [
52,
9
] | python | de | ['de', 'pl', 'it'] | False |
IndyCredDefId.__init__ | (self) | Initializer. | Initializer. | def __init__(self):
"""Initializer."""
super().__init__(
(
rf"([{B58}]{{21,22}})" # issuer DID
f":3" # cred def id marker
f":CL" # sig alg
rf":(([1-9][0-9]*)|([{B58}]{{21,22}}:2:.+:[0-9.]+))" # schema txn / id
... | [
"def",
"__init__",
"(",
"self",
")",
":",
"super",
"(",
")",
".",
"__init__",
"(",
"(",
"rf\"([{B58}]{{21,22}})\"",
"# issuer DID",
"f\":3\"",
"# cred def id marker",
"f\":CL\"",
"# sig alg",
"rf\":(([1-9][0-9]*)|([{B58}]{{21,22}}:2:.+:[0-9.]+))\"",
"# schema txn / id",
"f\... | [
60,
4
] | [
72,
9
] | python | de | ['de', 'pl', 'it'] | False |
IndyVersion.__init__ | (self) | Initializer. | Initializer. | def __init__(self):
"""Initializer."""
super().__init__(
rf"^[0-9.]+$",
error="Value {input} is not an indy version (use only digits and '.')."
) | [
"def",
"__init__",
"(",
"self",
")",
":",
"super",
"(",
")",
".",
"__init__",
"(",
"rf\"^[0-9.]+$\"",
",",
"error",
"=",
"\"Value {input} is not an indy version (use only digits and '.').\"",
")"
] | [
80,
4
] | [
86,
9
] | python | de | ['de', 'pl', 'it'] | False |
IndySchemaId.__init__ | (self) | Initializer. | Initializer. | def __init__(self):
"""Initializer."""
super().__init__(
rf"^[{B58}]{{21,22}}:2:.+:[0-9.]+$",
error="Value {input} is not an indy schema identifier."
) | [
"def",
"__init__",
"(",
"self",
")",
":",
"super",
"(",
")",
".",
"__init__",
"(",
"rf\"^[{B58}]{{21,22}}:2:.+:[0-9.]+$\"",
",",
"error",
"=",
"\"Value {input} is not an indy schema identifier.\"",
")"
] | [
94,
4
] | [
100,
9
] | python | de | ['de', 'pl', 'it'] | False |
IndyRevRegId.__init__ | (self) | Initializer. | Initializer. | def __init__(self):
"""Initializer."""
super().__init__(
(
rf"^([{B58}]{{21,22}}):4:"
rf"([{B58}]{{21,22}}):3:"
rf"CL:(([1-9][0-9]*)|([{B58}]{{21,22}}:2:.+:[0-9.]+))(:.+)?:"
rf"CL_ACCUM:.+$"
),
error="Va... | [
"def",
"__init__",
"(",
"self",
")",
":",
"super",
"(",
")",
".",
"__init__",
"(",
"(",
"rf\"^([{B58}]{{21,22}}):4:\"",
"rf\"([{B58}]{{21,22}}):3:\"",
"rf\"CL:(([1-9][0-9]*)|([{B58}]{{21,22}}:2:.+:[0-9.]+))(:.+)?:\"",
"rf\"CL_ACCUM:.+$\"",
")",
",",
"error",
"=",
"\"Value {... | [
108,
4
] | [
119,
9
] | python | de | ['de', 'pl', 'it'] | False |
IndyPredicate.__init__ | (self) | Initializer. | Initializer. | def __init__(self):
"""Initializer."""
super().__init__(
choices=["<", "<=", ">=", ">"],
error="Value {input} must be one of {choices}."
) | [
"def",
"__init__",
"(",
"self",
")",
":",
"super",
"(",
")",
".",
"__init__",
"(",
"choices",
"=",
"[",
"\"<\"",
",",
"\"<=\"",
",",
"\">=\"",
",",
"\">\"",
"]",
",",
"error",
"=",
"\"Value {input} must be one of {choices}.\"",
")"
] | [
127,
4
] | [
133,
9
] | python | de | ['de', 'pl', 'it'] | False |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.