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
MultiAgentDialogWorld.report
(self)
Report metrics for all subagents.
Report metrics for all subagents.
def report(self): """ Report metrics for all subagents. """ metrics = {} for a in self.agents: if hasattr(a, 'report'): m = a.report() for k, v in m.items(): if k not in metrics: # first agent...
[ "def", "report", "(", "self", ")", ":", "metrics", "=", "{", "}", "for", "a", "in", "self", ".", "agents", ":", "if", "hasattr", "(", "a", ",", "'report'", ")", ":", "m", "=", "a", ".", "report", "(", ")", "for", "k", ",", "v", "in", "m", "...
[ 482, 4 ]
[ 497, 22 ]
python
en
['en', 'error', 'th']
False
MultiAgentDialogWorld.shutdown
(self)
Shutdown each agent.
Shutdown each agent.
def shutdown(self): """ Shutdown each agent. """ for a in self.agents: a.shutdown()
[ "def", "shutdown", "(", "self", ")", ":", "for", "a", "in", "self", ".", "agents", ":", "a", ".", "shutdown", "(", ")" ]
[ 499, 4 ]
[ 504, 24 ]
python
en
['en', 'error', 'th']
False
MultiWorld.num_examples
(self)
Return sum of each subworld's number of examples.
Return sum of each subworld's number of examples.
def num_examples(self): """ Return sum of each subworld's number of examples. """ if not hasattr(self, 'num_exs'): worlds_num_exs = [w.num_examples() for w in self.worlds] if any(num is None for num in worlds_num_exs): self.num_exs = None ...
[ "def", "num_examples", "(", "self", ")", ":", "if", "not", "hasattr", "(", "self", ",", "'num_exs'", ")", ":", "worlds_num_exs", "=", "[", "w", ".", "num_examples", "(", ")", "for", "w", "in", "self", ".", "worlds", "]", "if", "any", "(", "num", "i...
[ 569, 4 ]
[ 579, 27 ]
python
en
['en', 'error', 'th']
False
MultiWorld.num_episodes
(self)
Return sum of each subworld's number of episodes.
Return sum of each subworld's number of episodes.
def num_episodes(self): """ Return sum of each subworld's number of episodes. """ if not hasattr(self, 'num_eps'): worlds_num_eps = [w.num_episodes() for w in self.worlds] if any(num is None for num in worlds_num_eps): self.num_eps = None ...
[ "def", "num_episodes", "(", "self", ")", ":", "if", "not", "hasattr", "(", "self", ",", "'num_eps'", ")", ":", "worlds_num_eps", "=", "[", "w", ".", "num_episodes", "(", ")", "for", "w", "in", "self", ".", "worlds", "]", "if", "any", "(", "num", "i...
[ 581, 4 ]
[ 591, 27 ]
python
en
['en', 'error', 'th']
False
MultiWorld.get_agents
(self)
Return the agents in the *current* subworld.
Return the agents in the *current* subworld.
def get_agents(self): """ Return the agents in the *current* subworld. """ return self.worlds[self.world_idx].get_agents()
[ "def", "get_agents", "(", "self", ")", ":", "return", "self", ".", "worlds", "[", "self", ".", "world_idx", "]", ".", "get_agents", "(", ")" ]
[ 593, 4 ]
[ 597, 55 ]
python
en
['en', 'error', 'th']
False
MultiWorld.get_task_agent
(self)
Not possible/well-defined in this setting.
Not possible/well-defined in this setting.
def get_task_agent(self): """ Not possible/well-defined in this setting. """ return self.worlds[self.world_idx].get_task_agent()
[ "def", "get_task_agent", "(", "self", ")", ":", "return", "self", ".", "worlds", "[", "self", ".", "world_idx", "]", ".", "get_task_agent", "(", ")" ]
[ 599, 4 ]
[ 603, 59 ]
python
en
['en', 'error', 'th']
False
MultiWorld.get_model_agent
(self)
Not implemented.
Not implemented.
def get_model_agent(self): """ Not implemented. """ return self.worlds[self.world_idx].get_model_agent()
[ "def", "get_model_agent", "(", "self", ")", ":", "return", "self", ".", "worlds", "[", "self", ".", "world_idx", "]", ".", "get_model_agent", "(", ")" ]
[ 605, 4 ]
[ 609, 60 ]
python
en
['en', 'error', 'th']
False
MultiWorld.get_acts
(self)
Return the acts in the *current* subworld.
Return the acts in the *current* subworld.
def get_acts(self): """ Return the acts in the *current* subworld. """ return self.worlds[self.world_idx].get_acts()
[ "def", "get_acts", "(", "self", ")", ":", "return", "self", ".", "worlds", "[", "self", ".", "world_idx", "]", ".", "get_acts", "(", ")" ]
[ 611, 4 ]
[ 615, 53 ]
python
en
['en', 'error', 'th']
False
MultiWorld.share
(self)
Share all the subworlds.
Share all the subworlds.
def share(self): """ Share all the subworlds. """ shared_data = {} shared_data['world_class'] = type(self) shared_data['opt'] = self.opt shared_data['worlds'] = [w.share() for w in self.worlds] return shared_data
[ "def", "share", "(", "self", ")", ":", "shared_data", "=", "{", "}", "shared_data", "[", "'world_class'", "]", "=", "type", "(", "self", ")", "shared_data", "[", "'opt'", "]", "=", "self", ".", "opt", "shared_data", "[", "'worlds'", "]", "=", "[", "w...
[ 617, 4 ]
[ 625, 26 ]
python
en
['en', 'error', 'th']
False
MultiWorld.epoch_done
(self)
Return if *all* the subworlds are done.
Return if *all* the subworlds are done.
def epoch_done(self): """ Return if *all* the subworlds are done. """ for t in self.worlds: if not t.epoch_done(): return False return True
[ "def", "epoch_done", "(", "self", ")", ":", "for", "t", "in", "self", ".", "worlds", ":", "if", "not", "t", ".", "epoch_done", "(", ")", ":", "return", "False", "return", "True" ]
[ 627, 4 ]
[ 634, 19 ]
python
en
['en', 'error', 'th']
False
MultiWorld.parley_init
(self)
Update the current subworld. If we are in the middle of an episode, keep the same world and finish this episode. If we have finished this episode, pick a new world (either in a random or round-robin fashion).
Update the current subworld.
def parley_init(self): """ Update the current subworld. If we are in the middle of an episode, keep the same world and finish this episode. If we have finished this episode, pick a new world (either in a random or round-robin fashion). """ self.parleys = self.par...
[ "def", "parley_init", "(", "self", ")", ":", "self", ".", "parleys", "=", "self", ".", "parleys", "+", "1", "if", "self", ".", "world_idx", ">=", "0", "and", "self", ".", "worlds", "[", "self", ".", "world_idx", "]", ".", "episode_done", "(", ")", ...
[ 636, 4 ]
[ 661, 29 ]
python
en
['en', 'error', 'th']
False
MultiWorld.parley
(self)
Parley the *current* subworld.
Parley the *current* subworld.
def parley(self): """ Parley the *current* subworld. """ self.parley_init() self.worlds[self.world_idx].parley() self.update_counters()
[ "def", "parley", "(", "self", ")", ":", "self", ".", "parley_init", "(", ")", "self", ".", "worlds", "[", "self", ".", "world_idx", "]", ".", "parley", "(", ")", "self", ".", "update_counters", "(", ")" ]
[ 663, 4 ]
[ 669, 30 ]
python
en
['en', 'error', 'th']
False
MultiWorld.display
(self)
Display all subworlds.
Display all subworlds.
def display(self): """ Display all subworlds. """ if self.world_idx != -1: s = '' w = self.worlds[self.world_idx] if self.parleys == 0: s = '[world ' + str(self.world_idx) + ':' + w.getID() + ']\n' s = s + w.display() ...
[ "def", "display", "(", "self", ")", ":", "if", "self", ".", "world_idx", "!=", "-", "1", ":", "s", "=", "''", "w", "=", "self", ".", "worlds", "[", "self", ".", "world_idx", "]", "if", "self", ".", "parleys", "==", "0", ":", "s", "=", "'[world ...
[ 671, 4 ]
[ 683, 21 ]
python
en
['en', 'error', 'th']
False
MultiWorld.report
(self)
Report aggregate metrics across all subworlds.
Report aggregate metrics across all subworlds.
def report(self): """ Report aggregate metrics across all subworlds. """ metrics = aggregate_named_reports( {w.getID(): w.report() for w in self.worlds}, micro_average=self.opt.get('aggregate_micro', False), ) if 'exs' in metrics: self....
[ "def", "report", "(", "self", ")", ":", "metrics", "=", "aggregate_named_reports", "(", "{", "w", ".", "getID", "(", ")", ":", "w", ".", "report", "(", ")", "for", "w", "in", "self", ".", "worlds", "}", ",", "micro_average", "=", "self", ".", "opt"...
[ 685, 4 ]
[ 695, 22 ]
python
en
['en', 'error', 'th']
False
MultiWorld.reset
(self)
Reset all subworlds.
Reset all subworlds.
def reset(self): """ Reset all subworlds. """ for w in self.worlds: w.reset()
[ "def", "reset", "(", "self", ")", ":", "for", "w", "in", "self", ".", "worlds", ":", "w", ".", "reset", "(", ")" ]
[ 697, 4 ]
[ 702, 21 ]
python
en
['en', 'error', 'th']
False
MultiWorld.reset_metrics
(self)
Reset metrics in all subworlds.
Reset metrics in all subworlds.
def reset_metrics(self): """ Reset metrics in all subworlds. """ for w in self.worlds: w.reset_metrics()
[ "def", "reset_metrics", "(", "self", ")", ":", "for", "w", "in", "self", ".", "worlds", ":", "w", ".", "reset_metrics", "(", ")" ]
[ 704, 4 ]
[ 709, 29 ]
python
en
['en', 'error', 'th']
False
BatchWorld.batch_observe
(self, index, batch_actions, index_acting)
Observe corresponding actions in all subworlds.
Observe corresponding actions in all subworlds.
def batch_observe(self, index, batch_actions, index_acting): """ Observe corresponding actions in all subworlds. """ batch_observations = [] for i, w in enumerate(self.worlds): agents = w.get_agents() observation = None if batch_actions[i] is N...
[ "def", "batch_observe", "(", "self", ",", "index", ",", "batch_actions", ",", "index_acting", ")", ":", "batch_observations", "=", "[", "]", "for", "i", ",", "w", "in", "enumerate", "(", "self", ".", "worlds", ")", ":", "agents", "=", "w", ".", "get_ag...
[ 775, 4 ]
[ 806, 33 ]
python
en
['en', 'error', 'th']
False
BatchWorld.batch_act
(self, agent_idx, batch_observation)
Act in all subworlds.
Act in all subworlds.
def batch_act(self, agent_idx, batch_observation): """ Act in all subworlds. """ # Given batch observation, do update for agents[index]. # Call update on agent a = self.world.get_agents()[agent_idx] if hasattr(a, 'batch_act'): batch_actions = a.batch_a...
[ "def", "batch_act", "(", "self", ",", "agent_idx", ",", "batch_observation", ")", ":", "# Given batch observation, do update for agents[index].", "# Call update on agent", "a", "=", "self", ".", "world", ".", "get_agents", "(", ")", "[", "agent_idx", "]", "if", "has...
[ 808, 4 ]
[ 829, 28 ]
python
en
['en', 'error', 'th']
False
BatchWorld.parley
(self)
Parley in all subworlds. Usually with ref:`batch_act` and ref:`batch_observe`.
Parley in all subworlds.
def parley(self): """ Parley in all subworlds. Usually with ref:`batch_act` and ref:`batch_observe`. """ # Collect batch together for each agent, and do update. # Assumes DialogPartnerWorld, MultiAgentWorld, or MultiWorlds of them. num_agents = len(self.world.get...
[ "def", "parley", "(", "self", ")", ":", "# Collect batch together for each agent, and do update.", "# Assumes DialogPartnerWorld, MultiAgentWorld, or MultiWorlds of them.", "num_agents", "=", "len", "(", "self", ".", "world", ".", "get_agents", "(", ")", ")", "batch_observati...
[ 831, 4 ]
[ 859, 30 ]
python
en
['en', 'error', 'th']
False
BatchWorld.display
(self)
Display the full batch.
Display the full batch.
def display(self): """ Display the full batch. """ s = "[--batchsize " + str(len(self.worlds)) + "--]\n" for i, w in enumerate(self.worlds): s += "[batch world " + str(i) + ":]\n" s += w.display() + '\n' s += "[--end of batch--]" return s
[ "def", "display", "(", "self", ")", ":", "s", "=", "\"[--batchsize \"", "+", "str", "(", "len", "(", "self", ".", "worlds", ")", ")", "+", "\"--]\\n\"", "for", "i", ",", "w", "in", "enumerate", "(", "self", ".", "worlds", ")", ":", "s", "+=", "\"...
[ 861, 4 ]
[ 870, 16 ]
python
en
['en', 'error', 'th']
False
BatchWorld.num_examples
(self)
Return the number of examples for the root world.
Return the number of examples for the root world.
def num_examples(self): """ Return the number of examples for the root world. """ return self.world.num_examples()
[ "def", "num_examples", "(", "self", ")", ":", "return", "self", ".", "world", ".", "num_examples", "(", ")" ]
[ 872, 4 ]
[ 876, 40 ]
python
en
['en', 'error', 'th']
False
BatchWorld.num_episodes
(self)
Return the number of episodes for the root world.
Return the number of episodes for the root world.
def num_episodes(self): """ Return the number of episodes for the root world. """ return self.world.num_episodes()
[ "def", "num_episodes", "(", "self", ")", ":", "return", "self", ".", "world", ".", "num_episodes", "(", ")" ]
[ 878, 4 ]
[ 882, 40 ]
python
en
['en', 'error', 'th']
False
BatchWorld.get_total_exs
(self)
Return the total number of processed episodes in the root world.
Return the total number of processed episodes in the root world.
def get_total_exs(self): """ Return the total number of processed episodes in the root world. """ return self.world.get_total_exs()
[ "def", "get_total_exs", "(", "self", ")", ":", "return", "self", ".", "world", ".", "get_total_exs", "(", ")" ]
[ 884, 4 ]
[ 888, 41 ]
python
en
['en', 'error', 'th']
False
BatchWorld.getID
(self)
Return the ID of the root world.
Return the ID of the root world.
def getID(self): """ Return the ID of the root world. """ return self.world.getID()
[ "def", "getID", "(", "self", ")", ":", "return", "self", ".", "world", ".", "getID", "(", ")" ]
[ 890, 4 ]
[ 894, 33 ]
python
en
['en', 'error', 'th']
False
BatchWorld.get_agents
(self)
Return the agents of the root world.
Return the agents of the root world.
def get_agents(self): """ Return the agents of the root world. """ return self.world.get_agents()
[ "def", "get_agents", "(", "self", ")", ":", "return", "self", ".", "world", ".", "get_agents", "(", ")" ]
[ 896, 4 ]
[ 900, 38 ]
python
en
['en', 'error', 'th']
False
BatchWorld.get_task_agent
(self)
Return task agent of the root world.
Return task agent of the root world.
def get_task_agent(self): """ Return task agent of the root world. """ return self.world.get_task_agent()
[ "def", "get_task_agent", "(", "self", ")", ":", "return", "self", ".", "world", ".", "get_task_agent", "(", ")" ]
[ 902, 4 ]
[ 906, 42 ]
python
en
['en', 'error', 'th']
False
BatchWorld.get_model_agent
(self)
Return model agent of the root world.
Return model agent of the root world.
def get_model_agent(self): """ Return model agent of the root world. """ return self.world.get_model_agent()
[ "def", "get_model_agent", "(", "self", ")", ":", "return", "self", ".", "world", ".", "get_model_agent", "(", ")" ]
[ 908, 4 ]
[ 912, 43 ]
python
en
['en', 'error', 'th']
False
BatchWorld.episode_done
(self)
Return whether the episode is done. A batch world is never finished, so this always returns `False`.
Return whether the episode is done.
def episode_done(self): """ Return whether the episode is done. A batch world is never finished, so this always returns `False`. """ return False
[ "def", "episode_done", "(", "self", ")", ":", "return", "False" ]
[ 914, 4 ]
[ 920, 20 ]
python
en
['en', 'error', 'th']
False
BatchWorld.epoch_done
(self)
Return if the epoch is done in the root world.
Return if the epoch is done in the root world.
def epoch_done(self): """ Return if the epoch is done in the root world. """ # first check parent world: if it says it's done, we're done if self.world.epoch_done(): return True # otherwise check if all shared worlds are done for world in self.worlds: ...
[ "def", "epoch_done", "(", "self", ")", ":", "# first check parent world: if it says it's done, we're done", "if", "self", ".", "world", ".", "epoch_done", "(", ")", ":", "return", "True", "# otherwise check if all shared worlds are done", "for", "world", "in", "self", "...
[ 922, 4 ]
[ 933, 19 ]
python
en
['en', 'error', 'th']
False
BatchWorld.report
(self)
Report metrics for the root world.
Report metrics for the root world.
def report(self): """ Report metrics for the root world. """ return self.world.report()
[ "def", "report", "(", "self", ")", ":", "return", "self", ".", "world", ".", "report", "(", ")" ]
[ 935, 4 ]
[ 939, 34 ]
python
en
['en', 'error', 'th']
False
BatchWorld.reset
(self)
Reset the root world, and all copies.
Reset the root world, and all copies.
def reset(self): """ Reset the root world, and all copies. """ self.world.reset() for w in self.worlds: w.reset()
[ "def", "reset", "(", "self", ")", ":", "self", ".", "world", ".", "reset", "(", ")", "for", "w", "in", "self", ".", "worlds", ":", "w", ".", "reset", "(", ")" ]
[ 941, 4 ]
[ 947, 21 ]
python
en
['en', 'error', 'th']
False
BatchWorld.reset_metrics
(self)
Reset metrics in the root world.
Reset metrics in the root world.
def reset_metrics(self): """ Reset metrics in the root world. """ self.world.reset_metrics()
[ "def", "reset_metrics", "(", "self", ")", ":", "self", ".", "world", ".", "reset_metrics", "(", ")" ]
[ 949, 4 ]
[ 953, 34 ]
python
en
['en', 'error', 'th']
False
BatchWorld.shutdown
(self)
Shutdown each world.
Shutdown each world.
def shutdown(self): """ Shutdown each world. """ for w in self.worlds: w.shutdown() self.world.shutdown()
[ "def", "shutdown", "(", "self", ")", ":", "for", "w", "in", "self", ".", "worlds", ":", "w", ".", "shutdown", "(", ")", "self", ".", "world", ".", "shutdown", "(", ")" ]
[ 955, 4 ]
[ 961, 29 ]
python
en
['en', 'error', 'th']
False
DynamicBatchWorld._ceil
(self, n)
Round to the nearest multiple of 8. TensorCores only work when a tensor is a multiple of 8 in almost all dimensions. This means all examples cost is related to their nearest multiple of 8. See https://devblogs.nvidia.com/programming-tensor-cores-cuda-9/ for more inform...
Round to the nearest multiple of 8.
def _ceil(self, n): """ Round to the nearest multiple of 8. TensorCores only work when a tensor is a multiple of 8 in almost all dimensions. This means all examples cost is related to their nearest multiple of 8. See https://devblogs.nvidia.com/programming-tensor-cores-...
[ "def", "_ceil", "(", "self", ",", "n", ")", ":", "# round up to r, all things are equal", "from", "parlai", ".", "utils", ".", "torch", "import", "FP16_PAD_SIZE", "return", "(", "(", "n", "+", "FP16_PAD_SIZE", "-", "1", ")", "//", "FP16_PAD_SIZE", ")", "*", ...
[ 1048, 4 ]
[ 1062, 73 ]
python
en
['en', 'error', 'th']
False
escape_string
(s)
Logic taken from the official rcon client. There's probably plenty of nicer and more bulletproof ones
Logic taken from the official rcon client. There's probably plenty of nicer and more bulletproof ones
def escape_string(s): """Logic taken from the official rcon client. There's probably plenty of nicer and more bulletproof ones """ if not isinstance(s, str): return s st = "" for index in range(len(s)): st = ( (st + s[index] if s[index] != "\\" else st + "\\\\") ...
[ "def", "escape_string", "(", "s", ")", ":", "if", "not", "isinstance", "(", "s", ",", "str", ")", ":", "return", "s", "st", "=", "\"\"", "for", "index", "in", "range", "(", "len", "(", "s", ")", ")", ":", "st", "=", "(", "(", "st", "+", "s", ...
[ 14, 0 ]
[ 27, 13 ]
python
en
['en', 'en', 'en']
True
ServerCtl.set_autobalance_enabled
(self, bool_str)
String bool is on / off
String bool is on / off
def set_autobalance_enabled(self, bool_str): """ String bool is on / off """ return self._request(f"setautobalanceenabled {bool_str}")
[ "def", "set_autobalance_enabled", "(", "self", ",", "bool_str", ")", ":", "return", "self", ".", "_request", "(", "f\"setautobalanceenabled {bool_str}\"", ")" ]
[ 299, 4 ]
[ 303, 65 ]
python
en
['en', 'error', 'th']
False
ServerCtl.set_votekick_enabled
(self, bool_str)
String bool is on / off
String bool is on / off
def set_votekick_enabled(self, bool_str): """ String bool is on / off """ return self._request(f"setvotekickenabled {bool_str}")
[ "def", "set_votekick_enabled", "(", "self", ",", "bool_str", ")", ":", "return", "self", ".", "_request", "(", "f\"setvotekickenabled {bool_str}\"", ")" ]
[ 333, 4 ]
[ 337, 62 ]
python
en
['en', 'error', 'th']
False
ServerCtl.set_votekick_threshold
(self, threshold_pairs_str)
PlayerCount,Threshold[,PlayerCount,Threshold,...]
PlayerCount,Threshold[,PlayerCount,Threshold,...]
def set_votekick_threshold(self, threshold_pairs_str): """ PlayerCount,Threshold[,PlayerCount,Threshold,...] """ return self._request(f"setvotekickthreshold {threshold_pairs_str}")
[ "def", "set_votekick_threshold", "(", "self", ",", "threshold_pairs_str", ")", ":", "return", "self", ".", "_request", "(", "f\"setvotekickthreshold {threshold_pairs_str}\"", ")" ]
[ 339, 4 ]
[ 343, 75 ]
python
en
['en', 'error', 'th']
False
PresentationHandler.handle
(self, context: RequestContext, responder: BaseResponder)
Message handler logic for presentations. Args: context: request context responder: responder callback
Message handler logic for presentations.
async def handle(self, context: RequestContext, responder: BaseResponder): """ Message handler logic for presentations. Args: context: request context responder: responder callback """ self._logger.debug("PresentationHandler called with context %s", cont...
[ "async", "def", "handle", "(", "self", ",", "context", ":", "RequestContext", ",", "responder", ":", "BaseResponder", ")", ":", "self", ".", "_logger", ".", "debug", "(", "\"PresentationHandler called with context %s\"", ",", "context", ")", "assert", "isinstance"...
[ 16, 4 ]
[ 40, 88 ]
python
en
['en', 'error', 'th']
False
bbox3d_mapping_back
(bboxes, scale_factor, flip_horizontal, flip_vertical)
Map bboxes from testing scale to original image scale. Args: bboxes (:obj:`BaseInstance3DBoxes`): Boxes to be mapped back. scale_factor (float): Scale factor. flip_horizontal (bool): Whether to flip horizontally. flip_vertical (bool): Whether to flip vertically. Returns: ...
Map bboxes from testing scale to original image scale.
def bbox3d_mapping_back(bboxes, scale_factor, flip_horizontal, flip_vertical): """Map bboxes from testing scale to original image scale. Args: bboxes (:obj:`BaseInstance3DBoxes`): Boxes to be mapped back. scale_factor (float): Scale factor. flip_horizontal (bool): Whether to flip horizo...
[ "def", "bbox3d_mapping_back", "(", "bboxes", ",", "scale_factor", ",", "flip_horizontal", ",", "flip_vertical", ")", ":", "new_bboxes", "=", "bboxes", ".", "clone", "(", ")", "if", "flip_horizontal", ":", "new_bboxes", ".", "flip", "(", "'horizontal'", ")", "i...
[ 3, 0 ]
[ 22, 21 ]
python
en
['en', 'en', 'en']
True
bbox3d2roi
(bbox_list)
Convert a list of bounding boxes to roi format. Args: bbox_list (list[torch.Tensor]): A list of bounding boxes corresponding to a batch of images. Returns: torch.Tensor: Region of interests in shape (n, c), where \ the channels are in order of [batch_ind, x, y ...]. ...
Convert a list of bounding boxes to roi format.
def bbox3d2roi(bbox_list): """Convert a list of bounding boxes to roi format. Args: bbox_list (list[torch.Tensor]): A list of bounding boxes corresponding to a batch of images. Returns: torch.Tensor: Region of interests in shape (n, c), where \ the channels are in o...
[ "def", "bbox3d2roi", "(", "bbox_list", ")", ":", "rois_list", "=", "[", "]", "for", "img_id", ",", "bboxes", "in", "enumerate", "(", "bbox_list", ")", ":", "if", "bboxes", ".", "size", "(", "0", ")", ">", "0", ":", "img_inds", "=", "bboxes", ".", "...
[ 25, 0 ]
[ 45, 15 ]
python
en
['en', 'en', 'en']
True
bbox3d2result
(bboxes, scores, labels)
Convert detection results to a list of numpy arrays. Args: bboxes (torch.Tensor): Bounding boxes with shape of (n, 5). labels (torch.Tensor): Labels with shape of (n, ). scores (torch.Tensor): Scores with shape of (n, ). Returns: dict[str, torch.Tensor]: Bounding box results in...
Convert detection results to a list of numpy arrays.
def bbox3d2result(bboxes, scores, labels): """Convert detection results to a list of numpy arrays. Args: bboxes (torch.Tensor): Bounding boxes with shape of (n, 5). labels (torch.Tensor): Labels with shape of (n, ). scores (torch.Tensor): Scores with shape of (n, ). Returns: ...
[ "def", "bbox3d2result", "(", "bboxes", ",", "scores", ",", "labels", ")", ":", "return", "dict", "(", "boxes_3d", "=", "bboxes", ".", "to", "(", "'cpu'", ")", ",", "scores_3d", "=", "scores", ".", "cpu", "(", ")", ",", "labels_3d", "=", "labels", "."...
[ 48, 0 ]
[ 66, 31 ]
python
en
['en', 'en', 'en']
True
Bar.alignmentgroup
(self)
Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently. The 'alignmentgroup' property is a string and must be specified as: - A string ...
Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently. The 'alignmentgroup' property is a string and must be specified as: - A string ...
def alignmentgroup(self): """ Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently. The 'alignmentgroup' property is a string and must be specif...
[ "def", "alignmentgroup", "(", "self", ")", ":", "return", "self", "[", "\"alignmentgroup\"", "]" ]
[ 82, 4 ]
[ 96, 37 ]
python
en
['en', 'error', 'th']
False
Bar.base
(self)
Sets where the bar base is drawn (in position axis units). In "stack" or "relative" barmode, traces that set "base" will be excluded and drawn in "overlay" mode instead. The 'base' property accepts values of any type Returns ------- Any|numpy.ndarray ...
Sets where the bar base is drawn (in position axis units). In "stack" or "relative" barmode, traces that set "base" will be excluded and drawn in "overlay" mode instead. The 'base' property accepts values of any type
def base(self): """ Sets where the bar base is drawn (in position axis units). In "stack" or "relative" barmode, traces that set "base" will be excluded and drawn in "overlay" mode instead. The 'base' property accepts values of any type Returns ------- ...
[ "def", "base", "(", "self", ")", ":", "return", "self", "[", "\"base\"", "]" ]
[ 105, 4 ]
[ 117, 27 ]
python
en
['en', 'error', 'th']
False
Bar.basesrc
(self)
Sets the source reference on Chart Studio Cloud for base . The 'basesrc' 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 base . The 'basesrc' property must be specified as a string or as a plotly.grid_objs.Column object
def basesrc(self): """ Sets the source reference on Chart Studio Cloud for base . The 'basesrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["basesrc"]
[ "def", "basesrc", "(", "self", ")", ":", "return", "self", "[", "\"basesrc\"", "]" ]
[ 126, 4 ]
[ 137, 30 ]
python
en
['en', 'error', 'th']
False
Bar.cliponaxis
(self)
Determines whether the text nodes are clipped about the subplot axes. To show the 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 (either True, or ...
Determines whether the text nodes are clipped about the subplot axes. To show the 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 (either True, or ...
def cliponaxis(self): """ Determines whether the text nodes are clipped about the subplot axes. To show the 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...
[ "def", "cliponaxis", "(", "self", ")", ":", "return", "self", "[", "\"cliponaxis\"", "]" ]
[ 146, 4 ]
[ 160, 33 ]
python
en
['en', 'error', 'th']
False
Bar.constraintext
(self)
Constrain the size of text inside or outside a bar to be no larger than the bar itself. The 'constraintext' property is an enumeration that may be specified as: - One of the following enumeration values: ['inside', 'outside', 'both', 'none'] Returns ...
Constrain the size of text inside or outside a bar to be no larger than the bar itself. The 'constraintext' property is an enumeration that may be specified as: - One of the following enumeration values: ['inside', 'outside', 'both', 'none']
def constraintext(self): """ Constrain the size of text inside or outside a bar to be no larger than the bar itself. The 'constraintext' property is an enumeration that may be specified as: - One of the following enumeration values: ['inside', 'outside', 'b...
[ "def", "constraintext", "(", "self", ")", ":", "return", "self", "[", "\"constraintext\"", "]" ]
[ 169, 4 ]
[ 182, 36 ]
python
en
['en', 'error', 'th']
False
Bar.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\"", "]" ]
[ 191, 4 ]
[ 205, 33 ]
python
en
['en', 'error', 'th']
False
Bar.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\"", "]" ]
[ 214, 4 ]
[ 226, 36 ]
python
en
['en', 'error', 'th']
False
Bar.dx
(self)
Sets the x coordinate step. See `x0` for more info. The 'dx' property is a number and may be specified as: - An int or float Returns ------- int|float
Sets the x coordinate step. See `x0` for more info. The 'dx' property is a number and may be specified as: - An int or float
def dx(self): """ Sets the x coordinate step. See `x0` for more info. The 'dx' property is a number and may be specified as: - An int or float Returns ------- int|float """ return self["dx"]
[ "def", "dx", "(", "self", ")", ":", "return", "self", "[", "\"dx\"", "]" ]
[ 235, 4 ]
[ 246, 25 ]
python
en
['en', 'error', 'th']
False
Bar.dy
(self)
Sets the y coordinate step. See `y0` for more info. The 'dy' property is a number and may be specified as: - An int or float Returns ------- int|float
Sets the y coordinate step. See `y0` for more info. The 'dy' property is a number and may be specified as: - An int or float
def dy(self): """ Sets the y coordinate step. See `y0` for more info. The 'dy' property is a number and may be specified as: - An int or float Returns ------- int|float """ return self["dy"]
[ "def", "dy", "(", "self", ")", ":", "return", "self", "[", "\"dy\"", "]" ]
[ 255, 4 ]
[ 266, 25 ]
python
en
['en', 'error', 'th']
False
Bar.error_x
(self)
The 'error_x' property is an instance of ErrorX that may be specified as: - An instance of :class:`plotly.graph_objs.bar.ErrorX` - A dict of string/value properties that will be passed to the ErrorX constructor Supported dict properties: ...
The 'error_x' property is an instance of ErrorX that may be specified as: - An instance of :class:`plotly.graph_objs.bar.ErrorX` - A dict of string/value properties that will be passed to the ErrorX constructor Supported dict properties: ...
def error_x(self): """ The 'error_x' property is an instance of ErrorX that may be specified as: - An instance of :class:`plotly.graph_objs.bar.ErrorX` - A dict of string/value properties that will be passed to the ErrorX constructor Supported dic...
[ "def", "error_x", "(", "self", ")", ":", "return", "self", "[", "\"error_x\"", "]" ]
[ 275, 4 ]
[ 347, 30 ]
python
en
['en', 'error', 'th']
False
Bar.error_y
(self)
The 'error_y' property is an instance of ErrorY that may be specified as: - An instance of :class:`plotly.graph_objs.bar.ErrorY` - A dict of string/value properties that will be passed to the ErrorY constructor Supported dict properties: ...
The 'error_y' property is an instance of ErrorY that may be specified as: - An instance of :class:`plotly.graph_objs.bar.ErrorY` - A dict of string/value properties that will be passed to the ErrorY constructor Supported dict properties: ...
def error_y(self): """ The 'error_y' property is an instance of ErrorY that may be specified as: - An instance of :class:`plotly.graph_objs.bar.ErrorY` - A dict of string/value properties that will be passed to the ErrorY constructor Supported dic...
[ "def", "error_y", "(", "self", ")", ":", "return", "self", "[", "\"error_y\"", "]" ]
[ 356, 4 ]
[ 426, 30 ]
python
en
['en', 'error', 'th']
False
Bar.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\"", "]" ]
[ 435, 4 ]
[ 452, 32 ]
python
en
['en', 'error', 'th']
False
Bar.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\"", "]" ]
[ 461, 4 ]
[ 473, 35 ]
python
en
['en', 'error', 'th']
False
Bar.hoverlabel
(self)
The 'hoverlabel' property is an instance of Hoverlabel that may be specified as: - An instance of :class:`plotly.graph_objs.bar.Hoverlabel` - A dict of string/value properties that will be passed to the Hoverlabel constructor Supported dict properties: ...
The 'hoverlabel' property is an instance of Hoverlabel that may be specified as: - An instance of :class:`plotly.graph_objs.bar.Hoverlabel` - A dict of string/value properties that will be passed to the Hoverlabel constructor Supported dict properties: ...
def hoverlabel(self): """ The 'hoverlabel' property is an instance of Hoverlabel that may be specified as: - An instance of :class:`plotly.graph_objs.bar.Hoverlabel` - A dict of string/value properties that will be passed to the Hoverlabel constructor ...
[ "def", "hoverlabel", "(", "self", ")", ":", "return", "self", "[", "\"hoverlabel\"", "]" ]
[ 482, 4 ]
[ 532, 33 ]
python
en
['en', 'error', 'th']
False
Bar.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\"", "]" ]
[ 541, 4 ]
[ 573, 36 ]
python
en
['en', 'error', 'th']
False
Bar.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\"", "]" ]
[ 582, 4 ]
[ 594, 39 ]
python
en
['en', 'error', 'th']
False
Bar.hovertext
(self)
Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a "text" flag. ...
Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a "text" flag. ...
def hovertext(self): """ Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinf...
[ "def", "hovertext", "(", "self", ")", ":", "return", "self", "[", "\"hovertext\"", "]" ]
[ 603, 4 ]
[ 620, 32 ]
python
en
['en', 'error', 'th']
False
Bar.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\"", "]" ]
[ 629, 4 ]
[ 641, 35 ]
python
en
['en', 'error', 'th']
False
Bar.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\"", "]" ]
[ 650, 4 ]
[ 663, 26 ]
python
en
['en', 'error', 'th']
False
Bar.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\"", "]" ]
[ 672, 4 ]
[ 683, 29 ]
python
en
['en', 'error', 'th']
False
Bar.insidetextanchor
(self)
Determines if texts are kept at center or start/end points in `textposition` "inside" mode. The 'insidetextanchor' property is an enumeration that may be specified as: - One of the following enumeration values: ['end', 'middle', 'start'] Returns -...
Determines if texts are kept at center or start/end points in `textposition` "inside" mode. The 'insidetextanchor' property is an enumeration that may be specified as: - One of the following enumeration values: ['end', 'middle', 'start']
def insidetextanchor(self): """ Determines if texts are kept at center or start/end points in `textposition` "inside" mode. The 'insidetextanchor' property is an enumeration that may be specified as: - One of the following enumeration values: ['end', 'middl...
[ "def", "insidetextanchor", "(", "self", ")", ":", "return", "self", "[", "\"insidetextanchor\"", "]" ]
[ 692, 4 ]
[ 705, 39 ]
python
en
['en', 'error', 'th']
False
Bar.insidetextfont
(self)
Sets the font used for `text` lying inside the bar. The 'insidetextfont' property is an instance of Insidetextfont that may be specified as: - An instance of :class:`plotly.graph_objs.bar.Insidetextfont` - A dict of string/value properties that will be passed ...
Sets the font used for `text` lying inside the bar. The 'insidetextfont' property is an instance of Insidetextfont that may be specified as: - An instance of :class:`plotly.graph_objs.bar.Insidetextfont` - A dict of string/value properties that will be passed ...
def insidetextfont(self): """ Sets the font used for `text` lying inside the bar. The 'insidetextfont' property is an instance of Insidetextfont that may be specified as: - An instance of :class:`plotly.graph_objs.bar.Insidetextfont` - A dict of string/value prop...
[ "def", "insidetextfont", "(", "self", ")", ":", "return", "self", "[", "\"insidetextfont\"", "]" ]
[ 714, 4 ]
[ 761, 37 ]
python
en
['en', 'error', 'th']
False
Bar.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\"", "]" ]
[ 770, 4 ]
[ 784, 34 ]
python
en
['en', 'error', 'th']
False
Bar.marker
(self)
The 'marker' property is an instance of Marker that may be specified as: - An instance of :class:`plotly.graph_objs.bar.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.bar.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.bar.Marker` - A dict of string/value properties that will be passed to the Marker constructor Supported dict ...
[ "def", "marker", "(", "self", ")", ":", "return", "self", "[", "\"marker\"", "]" ]
[ 793, 4 ]
[ 902, 29 ]
python
en
['en', 'error', 'th']
False
Bar.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\"", "]" ]
[ 911, 4 ]
[ 930, 27 ]
python
en
['en', 'error', 'th']
False
Bar.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\"", "]" ]
[ 939, 4 ]
[ 950, 30 ]
python
en
['en', 'error', 'th']
False
Bar.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\"", "]" ]
[ 959, 4 ]
[ 972, 27 ]
python
en
['en', 'error', 'th']
False
Bar.offset
(self)
Shifts the position where the bar is drawn (in position axis units). In "group" barmode, traces that set "offset" will be excluded and drawn in "overlay" mode instead. The 'offset' property is a number and may be specified as: - An int or float - A tuple, list, ...
Shifts the position where the bar is drawn (in position axis units). In "group" barmode, traces that set "offset" will be excluded and drawn in "overlay" mode instead. The 'offset' property is a number and may be specified as: - An int or float - A tuple, list, ...
def offset(self): """ Shifts the position where the bar is drawn (in position axis units). In "group" barmode, traces that set "offset" will be excluded and drawn in "overlay" mode instead. The 'offset' property is a number and may be specified as: - An int or floa...
[ "def", "offset", "(", "self", ")", ":", "return", "self", "[", "\"offset\"", "]" ]
[ 981, 4 ]
[ 995, 29 ]
python
en
['en', 'error', 'th']
False
Bar.offsetgroup
(self)
Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up. The 'offsetgroup' property is a string and must be specified as: - A string - A number that will be converted to...
Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up. The 'offsetgroup' property is a string and must be specified as: - A string - A number that will be converted to...
def offsetgroup(self): """ Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up. The 'offsetgroup' property is a string and must be specified as: - A string - ...
[ "def", "offsetgroup", "(", "self", ")", ":", "return", "self", "[", "\"offsetgroup\"", "]" ]
[ 1004, 4 ]
[ 1018, 34 ]
python
en
['en', 'error', 'th']
False
Bar.offsetsrc
(self)
Sets the source reference on Chart Studio Cloud for offset . The 'offsetsrc' 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 offset . The 'offsetsrc' property must be specified as a string or as a plotly.grid_objs.Column object
def offsetsrc(self): """ Sets the source reference on Chart Studio Cloud for offset . The 'offsetsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["offsetsrc"]
[ "def", "offsetsrc", "(", "self", ")", ":", "return", "self", "[", "\"offsetsrc\"", "]" ]
[ 1027, 4 ]
[ 1038, 32 ]
python
en
['en', 'error', 'th']
False
Bar.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\"", "]" ]
[ 1047, 4 ]
[ 1058, 30 ]
python
en
['en', 'error', 'th']
False
Bar.orientation
(self)
Sets the orientation of the bars. With "v" ("h"), the value of the each bar spans along the vertical (horizontal). The 'orientation' property is an enumeration that may be specified as: - One of the following enumeration values: ['v', 'h'] Returns ...
Sets the orientation of the bars. With "v" ("h"), the value of the each bar spans along the vertical (horizontal). The 'orientation' property is an enumeration that may be specified as: - One of the following enumeration values: ['v', 'h']
def orientation(self): """ Sets the orientation of the bars. With "v" ("h"), the value of the each bar spans along the vertical (horizontal). The 'orientation' property is an enumeration that may be specified as: - One of the following enumeration values: [...
[ "def", "orientation", "(", "self", ")", ":", "return", "self", "[", "\"orientation\"", "]" ]
[ 1067, 4 ]
[ 1080, 34 ]
python
en
['en', 'error', 'th']
False
Bar.outsidetextfont
(self)
Sets the font used for `text` lying outside the bar. The 'outsidetextfont' property is an instance of Outsidetextfont that may be specified as: - An instance of :class:`plotly.graph_objs.bar.Outsidetextfont` - A dict of string/value properties that will be passed ...
Sets the font used for `text` lying outside the bar. The 'outsidetextfont' property is an instance of Outsidetextfont that may be specified as: - An instance of :class:`plotly.graph_objs.bar.Outsidetextfont` - A dict of string/value properties that will be passed ...
def outsidetextfont(self): """ Sets the font used for `text` lying outside the bar. The 'outsidetextfont' property is an instance of Outsidetextfont that may be specified as: - An instance of :class:`plotly.graph_objs.bar.Outsidetextfont` - A dict of string/value...
[ "def", "outsidetextfont", "(", "self", ")", ":", "return", "self", "[", "\"outsidetextfont\"", "]" ]
[ 1089, 4 ]
[ 1136, 38 ]
python
en
['en', 'error', 'th']
False
Bar.r
(self)
r coordinates in scatter traces are deprecated!Please switch to the "scatterpolar" trace type.Sets the radial coordinatesfor legacy polar chart only. The 'r' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ...
r coordinates in scatter traces are deprecated!Please switch to the "scatterpolar" trace type.Sets the radial coordinatesfor legacy polar chart only. The 'r' property is an array that may be specified as a tuple, list, numpy array, or pandas Series
def r(self): """ r coordinates in scatter traces are deprecated!Please switch to the "scatterpolar" trace type.Sets the radial coordinatesfor legacy polar chart only. The 'r' property is an array that may be specified as a tuple, list, numpy array, or pandas Series ...
[ "def", "r", "(", "self", ")", ":", "return", "self", "[", "\"r\"", "]" ]
[ 1145, 4 ]
[ 1158, 24 ]
python
en
['en', 'error', 'th']
False
Bar.rsrc
(self)
Sets the source reference on Chart Studio Cloud for r . The 'rsrc' 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 r . The 'rsrc' property must be specified as a string or as a plotly.grid_objs.Column object
def rsrc(self): """ Sets the source reference on Chart Studio Cloud for r . The 'rsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["rsrc"]
[ "def", "rsrc", "(", "self", ")", ":", "return", "self", "[", "\"rsrc\"", "]" ]
[ 1167, 4 ]
[ 1178, 27 ]
python
en
['en', 'error', 'th']
False
Bar.selected
(self)
The 'selected' property is an instance of Selected that may be specified as: - An instance of :class:`plotly.graph_objs.bar.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.bar.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.bar.Selected` - A dict of string/value properties that will be passed to the Selected constructor Suppo...
[ "def", "selected", "(", "self", ")", ":", "return", "self", "[", "\"selected\"", "]" ]
[ 1187, 4 ]
[ 1209, 31 ]
python
en
['en', 'error', 'th']
False
Bar.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\"", "]" ]
[ 1218, 4 ]
[ 1233, 37 ]
python
en
['en', 'error', 'th']
False
Bar.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\"", "]" ]
[ 1242, 4 ]
[ 1254, 33 ]
python
en
['en', 'error', 'th']
False
Bar.stream
(self)
The 'stream' property is an instance of Stream that may be specified as: - An instance of :class:`plotly.graph_objs.bar.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.bar.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.bar.Stream` - A dict of string/value properties that will be passed to the Stream constructor Supported dict ...
[ "def", "stream", "(", "self", ")", ":", "return", "self", "[", "\"stream\"", "]" ]
[ 1263, 4 ]
[ 1287, 29 ]
python
en
['en', 'error', 'th']
False
Bar.t
(self)
t coordinates in scatter traces are deprecated!Please switch to the "scatterpolar" trace type.Sets the angular coordinatesfor legacy polar chart only. The 't' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ...
t coordinates in scatter traces are deprecated!Please switch to the "scatterpolar" trace type.Sets the angular coordinatesfor legacy polar chart only. The 't' property is an array that may be specified as a tuple, list, numpy array, or pandas Series
def t(self): """ t coordinates in scatter traces are deprecated!Please switch to the "scatterpolar" trace type.Sets the angular coordinatesfor legacy polar chart only. The 't' property is an array that may be specified as a tuple, list, numpy array, or pandas Series ...
[ "def", "t", "(", "self", ")", ":", "return", "self", "[", "\"t\"", "]" ]
[ 1296, 4 ]
[ 1309, 24 ]
python
en
['en', 'error', 'th']
False
Bar.text
(self)
Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a "text" flag and "hovertext" is no...
Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a "text" flag and "hovertext" is no...
def text(self): """ Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a "text"...
[ "def", "text", "(", "self", ")", ":", "return", "self", "[", "\"text\"", "]" ]
[ 1318, 4 ]
[ 1336, 27 ]
python
en
['en', 'error', 'th']
False
Bar.textangle
(self)
Sets the angle of the tick labels with respect to the bar. For example, a `tickangle` of -90 draws the tick labels vertically. With "auto" the texts may automatically be rotated to fit with the maximum size in bars. The 'textangle' property is a angle (in degrees) that may ...
Sets the angle of the tick labels with respect to the bar. For example, a `tickangle` of -90 draws the tick labels vertically. With "auto" the texts may automatically be rotated to fit with the maximum size in bars. The 'textangle' property is a angle (in degrees) that may ...
def textangle(self): """ Sets the angle of the tick labels with respect to the bar. For example, a `tickangle` of -90 draws the tick labels vertically. With "auto" the texts may automatically be rotated to fit with the maximum size in bars. The 'textangle' property i...
[ "def", "textangle", "(", "self", ")", ":", "return", "self", "[", "\"textangle\"", "]" ]
[ 1345, 4 ]
[ 1361, 32 ]
python
en
['en', 'error', 'th']
False
Bar.textfont
(self)
Sets the font used for `text`. The 'textfont' property is an instance of Textfont that may be specified as: - An instance of :class:`plotly.graph_objs.bar.Textfont` - A dict of string/value properties that will be passed to the Textfont constructor ...
Sets the font used for `text`. The 'textfont' property is an instance of Textfont that may be specified as: - An instance of :class:`plotly.graph_objs.bar.Textfont` - A dict of string/value properties that will be passed to the Textfont constructor ...
def textfont(self): """ Sets the font used for `text`. The 'textfont' property is an instance of Textfont that may be specified as: - An instance of :class:`plotly.graph_objs.bar.Textfont` - A dict of string/value properties that will be passed to the...
[ "def", "textfont", "(", "self", ")", ":", "return", "self", "[", "\"textfont\"", "]" ]
[ 1370, 4 ]
[ 1417, 31 ]
python
en
['en', 'error', 'th']
False
Bar.textposition
(self)
Specifies the location of the `text`. "inside" positions `text` inside, next to the bar end (rotated and scaled if needed). "outside" positions `text` outside, next to the bar end (scaled if needed), unless there is another bar stacked on this one, then the text gets pushed insi...
Specifies the location of the `text`. "inside" positions `text` inside, next to the bar end (rotated and scaled if needed). "outside" positions `text` outside, next to the bar end (scaled if needed), unless there is another bar stacked on this one, then the text gets pushed insi...
def textposition(self): """ Specifies the location of the `text`. "inside" positions `text` inside, next to the bar end (rotated and scaled if needed). "outside" positions `text` outside, next to the bar end (scaled if needed), unless there is another bar stacked on this one, ...
[ "def", "textposition", "(", "self", ")", ":", "return", "self", "[", "\"textposition\"", "]" ]
[ 1426, 4 ]
[ 1445, 35 ]
python
en
['en', 'error', 'th']
False
Bar.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\"", "]" ]
[ 1454, 4 ]
[ 1466, 38 ]
python
en
['en', 'error', 'th']
False
Bar.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\"", "]" ]
[ 1475, 4 ]
[ 1486, 30 ]
python
en
['en', 'error', 'th']
False
Bar.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\"", "]" ]
[ 1495, 4 ]
[ 1521, 35 ]
python
en
['en', 'error', 'th']
False
Bar.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\"", "]" ]
[ 1530, 4 ]
[ 1542, 38 ]
python
en
['en', 'error', 'th']
False
Bar.tsrc
(self)
Sets the source reference on Chart Studio Cloud for t . The 'tsrc' 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 t . The 'tsrc' property must be specified as a string or as a plotly.grid_objs.Column object
def tsrc(self): """ Sets the source reference on Chart Studio Cloud for t . The 'tsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["tsrc"]
[ "def", "tsrc", "(", "self", ")", ":", "return", "self", "[", "\"tsrc\"", "]" ]
[ 1551, 4 ]
[ 1562, 27 ]
python
en
['en', 'error', 'th']
False
Bar.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\"", "]" ]
[ 1571, 4 ]
[ 1584, 26 ]
python
en
['en', 'error', 'th']
False
Bar.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\"", "]" ]
[ 1593, 4 ]
[ 1617, 33 ]
python
en
['en', 'error', 'th']
False
Bar.unselected
(self)
The 'unselected' property is an instance of Unselected that may be specified as: - An instance of :class:`plotly.graph_objs.bar.Unselected` - A dict of string/value properties that will be passed to the Unselected constructor Supported dict properties: ...
The 'unselected' property is an instance of Unselected that may be specified as: - An instance of :class:`plotly.graph_objs.bar.Unselected` - A dict of string/value properties that will be passed to the Unselected constructor Supported dict properties: ...
def unselected(self): """ The 'unselected' property is an instance of Unselected that may be specified as: - An instance of :class:`plotly.graph_objs.bar.Unselected` - A dict of string/value properties that will be passed to the Unselected constructor ...
[ "def", "unselected", "(", "self", ")", ":", "return", "self", "[", "\"unselected\"", "]" ]
[ 1626, 4 ]
[ 1649, 33 ]
python
en
['en', 'error', 'th']
False
Bar.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\"", "]" ]
[ 1658, 4 ]
[ 1672, 30 ]
python
en
['en', 'error', 'th']
False
Bar.width
(self)
Sets the bar width (in position axis units). The 'width' 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 Returns ------- int|float|numpy.ndarray ...
Sets the bar width (in position axis units). The 'width' 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 width(self): """ Sets the bar width (in position axis units). The 'width' 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 Returns ------- in...
[ "def", "width", "(", "self", ")", ":", "return", "self", "[", "\"width\"", "]" ]
[ 1681, 4 ]
[ 1693, 28 ]
python
en
['en', 'error', 'th']
False
Bar.widthsrc
(self)
Sets the source reference on Chart Studio Cloud for width . The 'widthsrc' 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 width . The 'widthsrc' property must be specified as a string or as a plotly.grid_objs.Column object
def widthsrc(self): """ Sets the source reference on Chart Studio Cloud for width . The 'widthsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["widthsrc"]
[ "def", "widthsrc", "(", "self", ")", ":", "return", "self", "[", "\"widthsrc\"", "]" ]
[ 1702, 4 ]
[ 1713, 31 ]
python
en
['en', 'error', 'th']
False
Bar.x
(self)
Sets the x coordinates. The 'x' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- numpy.ndarray
Sets the x coordinates. The 'x' property is an array that may be specified as a tuple, list, numpy array, or pandas Series
def x(self): """ Sets the x coordinates. The 'x' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- numpy.ndarray """ return self["x"]
[ "def", "x", "(", "self", ")", ":", "return", "self", "[", "\"x\"", "]" ]
[ 1722, 4 ]
[ 1733, 24 ]
python
en
['en', 'error', 'th']
False
Bar.x0
(self)
Alternate to `x`. Builds a linear space of x coordinates. Use with `dx` where `x0` is the starting coordinate and `dx` the step. The 'x0' property accepts values of any type Returns ------- Any
Alternate to `x`. Builds a linear space of x coordinates. Use with `dx` where `x0` is the starting coordinate and `dx` the step. The 'x0' property accepts values of any type
def x0(self): """ Alternate to `x`. Builds a linear space of x coordinates. Use with `dx` where `x0` is the starting coordinate and `dx` the step. The 'x0' property accepts values of any type Returns ------- Any """ return self["x0"]
[ "def", "x0", "(", "self", ")", ":", "return", "self", "[", "\"x0\"", "]" ]
[ 1742, 4 ]
[ 1754, 25 ]
python
en
['en', 'error', 'th']
False
Bar.xaxis
(self)
Sets a reference between this trace's x coordinates and a 2D cartesian x axis. If "x" (the default value), the x coordinates refer to `layout.xaxis`. If "x2", the x coordinates refer to `layout.xaxis2`, and so on. The 'xaxis' property is an identifier of a particular ...
Sets a reference between this trace's x coordinates and a 2D cartesian x axis. If "x" (the default value), the x coordinates refer to `layout.xaxis`. If "x2", the x coordinates refer to `layout.xaxis2`, and so on. The 'xaxis' property is an identifier of a particular ...
def xaxis(self): """ Sets a reference between this trace's x coordinates and a 2D cartesian x axis. If "x" (the default value), the x coordinates refer to `layout.xaxis`. If "x2", the x coordinates refer to `layout.xaxis2`, and so on. The 'xaxis' property is an ident...
[ "def", "xaxis", "(", "self", ")", ":", "return", "self", "[", "\"xaxis\"", "]" ]
[ 1763, 4 ]
[ 1779, 28 ]
python
en
['en', 'error', 'th']
False