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
BartAgent.add_cmdline_args
( cls, parser: ParlaiParser, partial_opt: Optional[Opt] = None )
Override to add init-fairseq-model arg.
Override to add init-fairseq-model arg.
def add_cmdline_args( cls, parser: ParlaiParser, partial_opt: Optional[Opt] = None ) -> ParlaiParser: """ Override to add init-fairseq-model arg. """ super().add_cmdline_args(parser, partial_opt=partial_opt) group = parser.add_argument_group('Bart Args') group...
[ "def", "add_cmdline_args", "(", "cls", ",", "parser", ":", "ParlaiParser", ",", "partial_opt", ":", "Optional", "[", "Opt", "]", "=", "None", ")", "->", "ParlaiParser", ":", "super", "(", ")", ".", "add_cmdline_args", "(", "parser", ",", "partial_opt", "="...
[ 46, 4 ]
[ 68, 21 ]
python
en
['en', 'error', 'th']
False
BartAgent._initialize_bart
(self, opt: Opt)
Download and convert BART pre-trained models. Additionally, convert `init-fairseq-model` if necessary. :param opt: ParlAI-parsed options :return opt: return opt with BART-specific args.
Download and convert BART pre-trained models.
def _initialize_bart(self, opt: Opt) -> Opt: """ Download and convert BART pre-trained models. Additionally, convert `init-fairseq-model` if necessary. :param opt: ParlAI-parsed options :return opt: return opt with BART-specific args. """ ...
[ "def", "_initialize_bart", "(", "self", ",", "opt", ":", "Opt", ")", "->", "Opt", ":", "init_model", ",", "_", "=", "self", ".", "_get_init_model", "(", "opt", ",", "None", ")", "if", "not", "opt", ".", "get", "(", "'converting'", ")", "and", "(", ...
[ 75, 4 ]
[ 99, 18 ]
python
en
['en', 'error', 'th']
False
BartAgent._get_conversion_args
(self, opt: Opt)
Get args for fairseq model conversion. :param opt: ParlAI Opt :return args: returns dictionary of args to send to conversion script.
Get args for fairseq model conversion.
def _get_conversion_args(self, opt: Opt) -> Dict[str, Any]: """ Get args for fairseq model conversion. :param opt: ParlAI Opt :return args: returns dictionary of args to send to conversion script. """ model_name = os.path.split(opt['init_fairseq_...
[ "def", "_get_conversion_args", "(", "self", ",", "opt", ":", "Opt", ")", "->", "Dict", "[", "str", ",", "Any", "]", ":", "model_name", "=", "os", ".", "path", ".", "split", "(", "opt", "[", "'init_fairseq_model'", "]", ")", "[", "-", "1", "]", "arg...
[ 101, 4 ]
[ 124, 19 ]
python
en
['en', 'error', 'th']
False
BartAgent._convert_model
(self, opt: Opt)
Convert fairseq init model to ParlAI Model. :param opt: options :return opt: return opt with new init_model path
Convert fairseq init model to ParlAI Model.
def _convert_model(self, opt: Opt) -> Opt: """ Convert fairseq init model to ParlAI Model. :param opt: options :return opt: return opt with new init_model path """ args = self._get_conversion_args(opt) ConversionScript.main(**args) ...
[ "def", "_convert_model", "(", "self", ",", "opt", ":", "Opt", ")", "->", "Opt", ":", "args", "=", "self", ".", "_get_conversion_args", "(", "opt", ")", "ConversionScript", ".", "main", "(", "*", "*", "args", ")", "opt", "[", "'init_model'", "]", "=", ...
[ 126, 4 ]
[ 139, 18 ]
python
en
['en', 'error', 'th']
False
BartAgent.build_model
(self)
Build and return model.
Build and return model.
def build_model(self) -> BartModel: """ Build and return model. """ model = BartModel(self.opt, self.dict) if self.opt['embedding_type'] != 'random': self._copy_embeddings( model.encoder.embeddings.weight, self.opt['embedding_type'] ) ...
[ "def", "build_model", "(", "self", ")", "->", "BartModel", ":", "model", "=", "BartModel", "(", "self", ".", "opt", ",", "self", ".", "dict", ")", "if", "self", ".", "opt", "[", "'embedding_type'", "]", "!=", "'random'", ":", "self", ".", "_copy_embedd...
[ 141, 4 ]
[ 150, 20 ]
python
en
['en', 'error', 'th']
False
BartAgent._set_text_vec
( self, obs: Message, history: History, truncate: Optional[int] )
Override to prepend start token and append end token.
Override to prepend start token and append end token.
def _set_text_vec( self, obs: Message, history: History, truncate: Optional[int] ) -> Message: """ Override to prepend start token and append end token. """ obs = super()._set_text_vec(obs, history, truncate) if 'text' not in obs or 'text_vec' not in obs: ...
[ "def", "_set_text_vec", "(", "self", ",", "obs", ":", "Message", ",", "history", ":", "History", ",", "truncate", ":", "Optional", "[", "int", "]", ")", "->", "Message", ":", "obs", "=", "super", "(", ")", ".", "_set_text_vec", "(", "obs", ",", "hist...
[ 152, 4 ]
[ 169, 18 ]
python
en
['en', 'error', 'th']
False
BartAgent._get_initial_decoder_input
( self, bsz: int, beam_size: int, dev: torch.device )
Override to seed decoder with EOS BOS token.
Override to seed decoder with EOS BOS token.
def _get_initial_decoder_input( self, bsz: int, beam_size: int, dev: torch.device ) -> torch.LongTensor: """ Override to seed decoder with EOS BOS token. """ return ( torch.LongTensor([self.END_IDX, self.START_IDX]) # type: ignore .expand(bsz * beam_s...
[ "def", "_get_initial_decoder_input", "(", "self", ",", "bsz", ":", "int", ",", "beam_size", ":", "int", ",", "dev", ":", "torch", ".", "device", ")", "->", "torch", ".", "LongTensor", ":", "return", "(", "torch", ".", "LongTensor", "(", "[", "self", "....
[ 171, 4 ]
[ 181, 9 ]
python
en
['en', 'error', 'th']
False
BartAgent.compute_loss
(self, batch, return_output=False)
Override TGA.compute_loss to ignore start token.
Override TGA.compute_loss to ignore start token.
def compute_loss(self, batch, return_output=False): """ Override TGA.compute_loss to ignore start token. """ if batch.label_vec is None: raise ValueError('Cannot compute loss without a label.') model_output = self.model(*self._model_input(batch), ys=batch.label_vec) ...
[ "def", "compute_loss", "(", "self", ",", "batch", ",", "return_output", "=", "False", ")", ":", "if", "batch", ".", "label_vec", "is", "None", ":", "raise", "ValueError", "(", "'Cannot compute loss without a label.'", ")", "model_output", "=", "self", ".", "mo...
[ 183, 4 ]
[ 216, 23 ]
python
en
['en', 'error', 'th']
False
BartAgent._construct_token_losses
(self, labels, model_output)
Override TGA._construct_token_losses to ignore start token.
Override TGA._construct_token_losses to ignore start token.
def _construct_token_losses(self, labels, model_output): """ Override TGA._construct_token_losses to ignore start token. """ # Get non-aggregated losses scores, _, _ = model_output scores = scores[:, 1:, :] # ignore start token score_view = scores.reshape(-1, sco...
[ "def", "_construct_token_losses", "(", "self", ",", "labels", ",", "model_output", ")", ":", "# Get non-aggregated losses", "scores", ",", "_", ",", "_", "=", "model_output", "scores", "=", "scores", "[", ":", ",", "1", ":", ",", ":", "]", "# ignore start to...
[ 218, 4 ]
[ 239, 27 ]
python
en
['en', 'error', 'th']
False
ForwardInvitation.__init__
( self, *, invitation: ConnectionInvitation = None, message: str = None, **kwargs )
Initialize invitation object. Args: invitation: The connection invitation message: Comments on the introduction
Initialize invitation object.
def __init__( self, *, invitation: ConnectionInvitation = None, message: str = None, **kwargs ): """ Initialize invitation object. Args: invitation: The connection invitation message: Comments on the introduction """ super(ForwardInvitation, s...
[ "def", "__init__", "(", "self", ",", "*", ",", "invitation", ":", "ConnectionInvitation", "=", "None", ",", "message", ":", "str", "=", "None", ",", "*", "*", "kwargs", ")", ":", "super", "(", "ForwardInvitation", ",", "self", ")", ".", "__init__", "("...
[ 29, 4 ]
[ 41, 30 ]
python
en
['en', 'error', 'th']
False
BahdanauAttention.__init__
(self, enc_hidden_size=512, dec_hidden_size=256, attention_size=700, coverage=False, weight_norm=False, bias=True, pointer_end_bias=False)
Bahdanau Attention (+ Coverage)
Bahdanau Attention (+ Coverage)
def __init__(self, enc_hidden_size=512, dec_hidden_size=256, attention_size=700, coverage=False, weight_norm=False, bias=True, pointer_end_bias=False): """Bahdanau Attention (+ Coverage)""" super().__in...
[ "def", "__init__", "(", "self", ",", "enc_hidden_size", "=", "512", ",", "dec_hidden_size", "=", "256", ",", "attention_size", "=", "700", ",", "coverage", "=", "False", ",", "weight_norm", "=", "False", ",", "bias", "=", "True", ",", "pointer_end_bias", "...
[ 12, 4 ]
[ 50, 61 ]
python
en
['fr', 'en', 'sw']
False
BahdanauAttention.forward
(self, encoder_outputs, decoder_state, mask, coverage=None)
Args: encoder_outputs [B, source_len, hidden_size] decoder_state [B, hidden_size] mask [B, source_len] coverage [B, source_len] (optional) Return: attention [B, source_len] e = v T tanh (Wh @ h + Ws @ s + b) a = softmax(e) ...
Args: encoder_outputs [B, source_len, hidden_size] decoder_state [B, hidden_size] mask [B, source_len] coverage [B, source_len] (optional) Return: attention [B, source_len]
def forward(self, encoder_outputs, decoder_state, mask, coverage=None): """ Args: encoder_outputs [B, source_len, hidden_size] decoder_state [B, hidden_size] mask [B, source_len] coverage [B, source_len] (optional) Return: attention [B,...
[ "def", "forward", "(", "self", ",", "encoder_outputs", ",", "decoder_state", ",", "mask", ",", "coverage", "=", "None", ")", ":", "B", ",", "source_len", ",", "_", "=", "encoder_outputs", ".", "size", "(", ")", "# Attention Energy", "# [B, source_len, hidden_s...
[ 52, 4 ]
[ 104, 24 ]
python
en
['en', 'error', 'th']
False
CopySwitch.__init__
(self, enc_hidden_size=512, dec_hidden_size=256)
Pointing the Unknown Words (ACL 2016)
Pointing the Unknown Words (ACL 2016)
def __init__(self, enc_hidden_size=512, dec_hidden_size=256): """Pointing the Unknown Words (ACL 2016)""" super().__init__() self.enc_hidden_size = enc_hidden_size self.dec_hidden_size = dec_hidden_size # self.W = nn.Linear(hidden_size, 1) # self.U = nn.Linear(hidden_si...
[ "def", "__init__", "(", "self", ",", "enc_hidden_size", "=", "512", ",", "dec_hidden_size", "=", "256", ")", ":", "super", "(", ")", ".", "__init__", "(", ")", "self", ".", "enc_hidden_size", "=", "enc_hidden_size", "self", ".", "dec_hidden_size", "=", "de...
[ 108, 4 ]
[ 119, 35 ]
python
en
['en', 'en', 'en']
True
CopySwitch.forward
(self, decoder_state, context)
Args: decoder_state [B, hidden_size] context [B, hidden_size] Return: p [B, 1] p = sigmoid(W @ s + U @ c + b)
Args: decoder_state [B, hidden_size] context [B, hidden_size] Return: p [B, 1]
def forward(self, decoder_state, context): """ Args: decoder_state [B, hidden_size] context [B, hidden_size] Return: p [B, 1] p = sigmoid(W @ s + U @ c + b) """ # [B, 1] # p = self.W(decoder_state) + self.U(context) p =...
[ "def", "forward", "(", "self", ",", "decoder_state", ",", "context", ")", ":", "# [B, 1]", "# p = self.W(decoder_state) + self.U(context)", "p", "=", "self", ".", "W", "(", "torch", ".", "cat", "(", "[", "decoder_state", ",", "context", "]", ",", "dim", "=",...
[ 121, 4 ]
[ 136, 16 ]
python
en
['en', 'error', 'th']
False
PointerGenerator.__init__
(self, enc_hidden_size=512, dec_hidden_size=256, embed_size=128, rnn_type='LSTM')
Estimation of Word Generation (vs Copying) Probability Get To The Point: Summarization with Pointer-Generator Networks (ACL 2017)
Estimation of Word Generation (vs Copying) Probability Get To The Point: Summarization with Pointer-Generator Networks (ACL 2017)
def __init__(self, enc_hidden_size=512, dec_hidden_size=256, embed_size=128, rnn_type='LSTM'): """Estimation of Word Generation (vs Copying) Probability Get To The Point: Summarization with Pointer-Generator Networks (ACL 2017)""" super().__init__() self.enc_hidden_size = enc_hidden_size...
[ "def", "__init__", "(", "self", ",", "enc_hidden_size", "=", "512", ",", "dec_hidden_size", "=", "256", ",", "embed_size", "=", "128", ",", "rnn_type", "=", "'LSTM'", ")", ":", "super", "(", ")", ".", "__init__", "(", ")", "self", ".", "enc_hidden_size",...
[ 140, 4 ]
[ 159, 35 ]
python
en
['en', 'en', 'en']
True
PointerGenerator.forward
(self, context, decoder_state, decoder_input)
Args: context [B, hidden_size] decoder_state [B, hidden_size] decoder_input [B, embed_size] Return: p_gen [B, 1] p = sigmoid(wh @ h + ws @ s + wx @ x + b)
Args: context [B, hidden_size] decoder_state [B, hidden_size] decoder_input [B, embed_size] Return: p_gen [B, 1]
def forward(self, context, decoder_state, decoder_input): """ Args: context [B, hidden_size] decoder_state [B, hidden_size] decoder_input [B, embed_size] Return: p_gen [B, 1] p = sigmoid(wh @ h + ws @ s + wx @ x + b) """ # ...
[ "def", "forward", "(", "self", ",", "context", ",", "decoder_state", ",", "decoder_input", ")", ":", "# p_gen = self.wh(context) \\", "# + self.ws(decoder_state) \\", "# + self.wx(decoder_input) \\", "# + self.b # [batch, 1]", "p_gen", "=", "self", ".", "W", "("...
[ 161, 4 ]
[ 180, 20 ]
python
en
['en', 'error', 'th']
False
Center.lat
(self)
Sets the latitude of the map's center. For all projection types, the map's latitude center lies at the middle of the latitude range by default. The 'lat' property is a number and may be specified as: - An int or float Returns ------- int|float ...
Sets the latitude of the map's center. For all projection types, the map's latitude center lies at the middle of the latitude range by default. The 'lat' property is a number and may be specified as: - An int or float
def lat(self): """ Sets the latitude of the map's center. For all projection types, the map's latitude center lies at the middle of the latitude range by default. The 'lat' property is a number and may be specified as: - An int or float Returns ---...
[ "def", "lat", "(", "self", ")", ":", "return", "self", "[", "\"lat\"", "]" ]
[ 15, 4 ]
[ 28, 26 ]
python
en
['en', 'error', 'th']
False
Center.lon
(self)
Sets the longitude of the map's center. By default, the map's longitude center lies at the middle of the longitude range for scoped projection and above `projection.rotation.lon` otherwise. The 'lon' property is a number and may be specified as: - An int or float ...
Sets the longitude of the map's center. By default, the map's longitude center lies at the middle of the longitude range for scoped projection and above `projection.rotation.lon` otherwise. The 'lon' property is a number and may be specified as: - An int or float
def lon(self): """ Sets the longitude of the map's center. By default, the map's longitude center lies at the middle of the longitude range for scoped projection and above `projection.rotation.lon` otherwise. The 'lon' property is a number and may be specified as: ...
[ "def", "lon", "(", "self", ")", ":", "return", "self", "[", "\"lon\"", "]" ]
[ 37, 4 ]
[ 51, 26 ]
python
en
['en', 'error', 'th']
False
Center.__init__
(self, arg=None, lat=None, lon=None, **kwargs)
Construct a new Center object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.layout.geo.Center` lat Sets the latitude of the map's center. For all ...
Construct a new Center object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.layout.geo.Center` lat Sets the latitude of the map's center. For all ...
def __init__(self, arg=None, lat=None, lon=None, **kwargs): """ Construct a new Center object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.layout.geo.Center` ...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "lat", "=", "None", ",", "lon", "=", "None", ",", "*", "*", "kwargs", ")", ":", "super", "(", "Center", ",", "self", ")", ".", "__init__", "(", "\"center\"", ")", "if", "\"_parent\"", ...
[ 73, 4 ]
[ 141, 34 ]
python
en
['en', 'error', 'th']
False
Eof
()
Returns the special cursor to denote the end-of-file.
Returns the special cursor to denote the end-of-file.
def Eof(): """Returns the special cursor to denote the end-of-file.""" return Cursor(-1, -1)
[ "def", "Eof", "(", ")", ":", "return", "Cursor", "(", "-", "1", ",", "-", "1", ")" ]
[ 131, 0 ]
[ 133, 23 ]
python
en
['en', 'en', 'en']
True
StartsWith
(lines, pos, string)
Returns True iff the given position in lines starts with 'string'.
Returns True iff the given position in lines starts with 'string'.
def StartsWith(lines, pos, string): """Returns True iff the given position in lines starts with 'string'.""" return lines[pos.line][pos.column:].startswith(string)
[ "def", "StartsWith", "(", "lines", ",", "pos", ",", "string", ")", ":", "return", "lines", "[", "pos", ".", "line", "]", "[", "pos", ".", "column", ":", "]", ".", "startswith", "(", "string", ")" ]
[ 162, 0 ]
[ 165, 56 ]
python
en
['en', 'en', 'en']
True
FindFirst
(lines, token_table, cursor)
Finds the first occurrence of any string in strings in lines.
Finds the first occurrence of any string in strings in lines.
def FindFirst(lines, token_table, cursor): """Finds the first occurrence of any string in strings in lines.""" start = cursor.Clone() cur_line_number = cursor.line for line in lines[start.line:]: if cur_line_number == start.line: line = line[start.column:] m = FindFirstInLine(line, token_table) ...
[ "def", "FindFirst", "(", "lines", ",", "token_table", ",", "cursor", ")", ":", "start", "=", "cursor", ".", "Clone", "(", ")", "cur_line_number", "=", "cursor", ".", "line", "for", "line", "in", "lines", "[", "start", ".", "line", ":", "]", ":", "if"...
[ 185, 0 ]
[ 204, 13 ]
python
en
['en', 'en', 'en']
True
SubString
(lines, start, end)
Returns a substring in lines.
Returns a substring in lines.
def SubString(lines, start, end): """Returns a substring in lines.""" if end == Eof(): end = Cursor(len(lines) - 1, len(lines[-1])) if start >= end: return '' if start.line == end.line: return lines[start.line][start.column:end.column] result_lines = ([lines[start.line][start.column:]] + ...
[ "def", "SubString", "(", "lines", ",", "start", ",", "end", ")", ":", "if", "end", "==", "Eof", "(", ")", ":", "end", "=", "Cursor", "(", "len", "(", "lines", ")", "-", "1", ",", "len", "(", "lines", "[", "-", "1", "]", ")", ")", "if", "sta...
[ 207, 0 ]
[ 222, 30 ]
python
en
['en', 'en', 'en']
True
StripMetaComments
(str)
Strip meta comments from each line in the given string.
Strip meta comments from each line in the given string.
def StripMetaComments(str): """Strip meta comments from each line in the given string.""" # First, completely remove lines containing nothing but a meta # comment, including the trailing \n. str = re.sub(r'^\s*\$\$.*\n', '', str) # Then, remove meta comments from contentful lines. return re.sub(r'\s*\$\$....
[ "def", "StripMetaComments", "(", "str", ")", ":", "# First, completely remove lines containing nothing but a meta", "# comment, including the trailing \\n.", "str", "=", "re", ".", "sub", "(", "r'^\\s*\\$\\$.*\\n'", ",", "''", ",", "str", ")", "# Then, remove meta comments fr...
[ 225, 0 ]
[ 233, 38 ]
python
en
['en', 'en', 'en']
True
MakeToken
(lines, start, end, token_type)
Creates a new instance of Token.
Creates a new instance of Token.
def MakeToken(lines, start, end, token_type): """Creates a new instance of Token.""" return Token(start, end, SubString(lines, start, end), token_type)
[ "def", "MakeToken", "(", "lines", ",", "start", ",", "end", ",", "token_type", ")", ":", "return", "Token", "(", "start", ",", "end", ",", "SubString", "(", "lines", ",", "start", ",", "end", ")", ",", "token_type", ")" ]
[ 236, 0 ]
[ 239, 68 ]
python
en
['en', 'en', 'en']
True
Tokenize
(s)
A generator that yields the tokens in the given string.
A generator that yields the tokens in the given string.
def Tokenize(s): """A generator that yields the tokens in the given string.""" if s != '': lines = s.splitlines(True) for token in TokenizeLines(lines, Cursor(0, 0)): yield token
[ "def", "Tokenize", "(", "s", ")", ":", "if", "s", "!=", "''", ":", "lines", "=", "s", ".", "splitlines", "(", "True", ")", "for", "token", "in", "TokenizeLines", "(", "lines", ",", "Cursor", "(", "0", ",", "0", ")", ")", ":", "yield", "token" ]
[ 381, 0 ]
[ 386, 17 ]
python
en
['en', 'en', 'en']
True
ParseToAST
(pump_src_text)
Convert the given Pump source text into an AST.
Convert the given Pump source text into an AST.
def ParseToAST(pump_src_text): """Convert the given Pump source text into an AST.""" tokens = list(Tokenize(pump_src_text)) code_node = ParseCodeNode(tokens) return code_node
[ "def", "ParseToAST", "(", "pump_src_text", ")", ":", "tokens", "=", "list", "(", "Tokenize", "(", "pump_src_text", ")", ")", "code_node", "=", "ParseCodeNode", "(", "tokens", ")", "return", "code_node" ]
[ 576, 0 ]
[ 580, 18 ]
python
en
['en', 'en', 'en']
True
ConvertFromPumpSource
(src_text)
Return the text generated from the given Pump source text.
Return the text generated from the given Pump source text.
def ConvertFromPumpSource(src_text): """Return the text generated from the given Pump source text.""" ast = ParseToAST(StripMetaComments(src_text)) output = Output() RunCode(Env(), ast, output) return BeautifyCode(output.string)
[ "def", "ConvertFromPumpSource", "(", "src_text", ")", ":", "ast", "=", "ParseToAST", "(", "StripMetaComments", "(", "src_text", ")", ")", "output", "=", "Output", "(", ")", "RunCode", "(", "Env", "(", ")", ",", "ast", ",", "output", ")", "return", "Beaut...
[ 822, 0 ]
[ 827, 36 ]
python
en
['en', 'en', 'en']
True
Cursor.Clone
(self)
Returns a copy of self.
Returns a copy of self.
def Clone(self): """Returns a copy of self.""" return Cursor(self.line, self.column)
[ "def", "Clone", "(", "self", ")", ":", "return", "Cursor", "(", "self", ".", "line", ",", "self", ".", "column", ")" ]
[ 124, 2 ]
[ 127, 41 ]
python
en
['en', 'ca', 'en']
True
Token.Clone
(self)
Returns a copy of self.
Returns a copy of self.
def Clone(self): """Returns a copy of self.""" return Token(self.start.Clone(), self.end.Clone(), self.value, self.token_type)
[ "def", "Clone", "(", "self", ")", ":", "return", "Token", "(", "self", ".", "start", ".", "Clone", "(", ")", ",", "self", ".", "end", ".", "Clone", "(", ")", ",", "self", ".", "value", ",", "self", ".", "token_type", ")" ]
[ 155, 2 ]
[ 159, 33 ]
python
en
['en', 'ca', 'en']
True
Ohlc.close
(self)
Sets the close values. The 'close' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- numpy.ndarray
Sets the close values. The 'close' property is an array that may be specified as a tuple, list, numpy array, or pandas Series
def close(self): """ Sets the close values. The 'close' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- numpy.ndarray """ return self["close"]
[ "def", "close", "(", "self", ")", ":", "return", "self", "[", "\"close\"", "]" ]
[ 56, 4 ]
[ 67, 28 ]
python
en
['en', 'error', 'th']
False
Ohlc.closesrc
(self)
Sets the source reference on Chart Studio Cloud for close . The 'closesrc' 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 close . The 'closesrc' property must be specified as a string or as a plotly.grid_objs.Column object
def closesrc(self): """ Sets the source reference on Chart Studio Cloud for close . The 'closesrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["closesrc"]
[ "def", "closesrc", "(", "self", ")", ":", "return", "self", "[", "\"closesrc\"", "]" ]
[ 76, 4 ]
[ 87, 31 ]
python
en
['en', 'error', 'th']
False
Ohlc.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\"", "]" ]
[ 96, 4 ]
[ 110, 33 ]
python
en
['en', 'error', 'th']
False
Ohlc.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\"", "]" ]
[ 119, 4 ]
[ 131, 36 ]
python
en
['en', 'error', 'th']
False
Ohlc.decreasing
(self)
The 'decreasing' property is an instance of Decreasing that may be specified as: - An instance of :class:`plotly.graph_objs.ohlc.Decreasing` - A dict of string/value properties that will be passed to the Decreasing constructor Supported dict properties: ...
The 'decreasing' property is an instance of Decreasing that may be specified as: - An instance of :class:`plotly.graph_objs.ohlc.Decreasing` - A dict of string/value properties that will be passed to the Decreasing constructor Supported dict properties: ...
def decreasing(self): """ The 'decreasing' property is an instance of Decreasing that may be specified as: - An instance of :class:`plotly.graph_objs.ohlc.Decreasing` - A dict of string/value properties that will be passed to the Decreasing constructor ...
[ "def", "decreasing", "(", "self", ")", ":", "return", "self", "[", "\"decreasing\"", "]" ]
[ 140, 4 ]
[ 158, 33 ]
python
en
['en', 'error', 'th']
False
Ohlc.high
(self)
Sets the high values. The 'high' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- numpy.ndarray
Sets the high values. The 'high' property is an array that may be specified as a tuple, list, numpy array, or pandas Series
def high(self): """ Sets the high values. The 'high' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- numpy.ndarray """ return self["high"]
[ "def", "high", "(", "self", ")", ":", "return", "self", "[", "\"high\"", "]" ]
[ 167, 4 ]
[ 178, 27 ]
python
en
['en', 'error', 'th']
False
Ohlc.highsrc
(self)
Sets the source reference on Chart Studio Cloud for high . The 'highsrc' 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 high . The 'highsrc' property must be specified as a string or as a plotly.grid_objs.Column object
def highsrc(self): """ Sets the source reference on Chart Studio Cloud for high . The 'highsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["highsrc"]
[ "def", "highsrc", "(", "self", ")", ":", "return", "self", "[", "\"highsrc\"", "]" ]
[ 187, 4 ]
[ 198, 30 ]
python
en
['en', 'error', 'th']
False
Ohlc.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\"", "]" ]
[ 207, 4 ]
[ 224, 32 ]
python
en
['en', 'error', 'th']
False
Ohlc.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\"", "]" ]
[ 233, 4 ]
[ 245, 35 ]
python
en
['en', 'error', 'th']
False
Ohlc.hoverlabel
(self)
The 'hoverlabel' property is an instance of Hoverlabel that may be specified as: - An instance of :class:`plotly.graph_objs.ohlc.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.ohlc.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.ohlc.Hoverlabel` - A dict of string/value properties that will be passed to the Hoverlabel constructor ...
[ "def", "hoverlabel", "(", "self", ")", ":", "return", "self", "[", "\"hoverlabel\"", "]" ]
[ 254, 4 ]
[ 307, 33 ]
python
en
['en', 'error', 'th']
False
Ohlc.hovertext
(self)
Same as `text`. The 'hovertext' property is a string and must be specified as: - A string - A number that will be converted to a string - A tuple, list, or one-dimensional numpy array of the above Returns ------- str|numpy.ndarray
Same as `text`. The 'hovertext' property is a string and must be specified as: - A string - A number that will be converted to a string - A tuple, list, or one-dimensional numpy array of the above
def hovertext(self): """ Same as `text`. The 'hovertext' property is a string and must be specified as: - A string - A number that will be converted to a string - A tuple, list, or one-dimensional numpy array of the above Returns ------- ...
[ "def", "hovertext", "(", "self", ")", ":", "return", "self", "[", "\"hovertext\"", "]" ]
[ 316, 4 ]
[ 329, 32 ]
python
en
['en', 'error', 'th']
False
Ohlc.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\"", "]" ]
[ 338, 4 ]
[ 350, 35 ]
python
en
['en', 'error', 'th']
False
Ohlc.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\"", "]" ]
[ 359, 4 ]
[ 372, 26 ]
python
en
['en', 'error', 'th']
False
Ohlc.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\"", "]" ]
[ 381, 4 ]
[ 392, 29 ]
python
en
['en', 'error', 'th']
False
Ohlc.increasing
(self)
The 'increasing' property is an instance of Increasing that may be specified as: - An instance of :class:`plotly.graph_objs.ohlc.Increasing` - A dict of string/value properties that will be passed to the Increasing constructor Supported dict properties: ...
The 'increasing' property is an instance of Increasing that may be specified as: - An instance of :class:`plotly.graph_objs.ohlc.Increasing` - A dict of string/value properties that will be passed to the Increasing constructor Supported dict properties: ...
def increasing(self): """ The 'increasing' property is an instance of Increasing that may be specified as: - An instance of :class:`plotly.graph_objs.ohlc.Increasing` - A dict of string/value properties that will be passed to the Increasing constructor ...
[ "def", "increasing", "(", "self", ")", ":", "return", "self", "[", "\"increasing\"", "]" ]
[ 401, 4 ]
[ 419, 33 ]
python
en
['en', 'error', 'th']
False
Ohlc.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\"", "]" ]
[ 428, 4 ]
[ 442, 34 ]
python
en
['en', 'error', 'th']
False
Ohlc.line
(self)
The 'line' property is an instance of Line that may be specified as: - An instance of :class:`plotly.graph_objs.ohlc.Line` - A dict of string/value properties that will be passed to the Line constructor Supported dict properties: ...
The 'line' property is an instance of Line that may be specified as: - An instance of :class:`plotly.graph_objs.ohlc.Line` - A dict of string/value properties that will be passed to the Line constructor Supported dict properties: ...
def line(self): """ The 'line' property is an instance of Line that may be specified as: - An instance of :class:`plotly.graph_objs.ohlc.Line` - A dict of string/value properties that will be passed to the Line constructor Supported dict propertie...
[ "def", "line", "(", "self", ")", ":", "return", "self", "[", "\"line\"", "]" ]
[ 451, 4 ]
[ 479, 27 ]
python
en
['en', 'error', 'th']
False
Ohlc.low
(self)
Sets the low values. The 'low' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- numpy.ndarray
Sets the low values. The 'low' property is an array that may be specified as a tuple, list, numpy array, or pandas Series
def low(self): """ Sets the low values. The 'low' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- numpy.ndarray """ return self["low"]
[ "def", "low", "(", "self", ")", ":", "return", "self", "[", "\"low\"", "]" ]
[ 488, 4 ]
[ 499, 26 ]
python
en
['en', 'error', 'th']
False
Ohlc.lowsrc
(self)
Sets the source reference on Chart Studio Cloud for low . The 'lowsrc' 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 low . The 'lowsrc' property must be specified as a string or as a plotly.grid_objs.Column object
def lowsrc(self): """ Sets the source reference on Chart Studio Cloud for low . The 'lowsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["lowsrc"]
[ "def", "lowsrc", "(", "self", ")", ":", "return", "self", "[", "\"lowsrc\"", "]" ]
[ 508, 4 ]
[ 519, 29 ]
python
en
['en', 'error', 'th']
False
Ohlc.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\"", "]" ]
[ 528, 4 ]
[ 547, 27 ]
python
en
['en', 'error', 'th']
False
Ohlc.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\"", "]" ]
[ 556, 4 ]
[ 567, 30 ]
python
en
['en', 'error', 'th']
False
Ohlc.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\"", "]" ]
[ 576, 4 ]
[ 589, 27 ]
python
en
['en', 'error', 'th']
False
Ohlc.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\"", "]" ]
[ 598, 4 ]
[ 609, 30 ]
python
en
['en', 'error', 'th']
False
Ohlc.open
(self)
Sets the open values. The 'open' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- numpy.ndarray
Sets the open values. The 'open' property is an array that may be specified as a tuple, list, numpy array, or pandas Series
def open(self): """ Sets the open values. The 'open' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- numpy.ndarray """ return self["open"]
[ "def", "open", "(", "self", ")", ":", "return", "self", "[", "\"open\"", "]" ]
[ 618, 4 ]
[ 629, 27 ]
python
en
['en', 'error', 'th']
False
Ohlc.opensrc
(self)
Sets the source reference on Chart Studio Cloud for open . The 'opensrc' 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 open . The 'opensrc' property must be specified as a string or as a plotly.grid_objs.Column object
def opensrc(self): """ Sets the source reference on Chart Studio Cloud for open . The 'opensrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["opensrc"]
[ "def", "opensrc", "(", "self", ")", ":", "return", "self", "[", "\"opensrc\"", "]" ]
[ 638, 4 ]
[ 649, 30 ]
python
en
['en', 'error', 'th']
False
Ohlc.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\"", "]" ]
[ 658, 4 ]
[ 673, 37 ]
python
en
['en', 'error', 'th']
False
Ohlc.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\"", "]" ]
[ 682, 4 ]
[ 694, 33 ]
python
en
['en', 'error', 'th']
False
Ohlc.stream
(self)
The 'stream' property is an instance of Stream that may be specified as: - An instance of :class:`plotly.graph_objs.ohlc.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.ohlc.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.ohlc.Stream` - A dict of string/value properties that will be passed to the Stream constructor Supported dict...
[ "def", "stream", "(", "self", ")", ":", "return", "self", "[", "\"stream\"", "]" ]
[ 703, 4 ]
[ 727, 29 ]
python
en
['en', 'error', 'th']
False
Ohlc.text
(self)
Sets hover text elements associated with each sample point. 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 this trace's sample points. The 'text' property is a string and must be specified as: ...
Sets hover text elements associated with each sample point. 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 this trace's sample points. The 'text' property is a string and must be specified as: ...
def text(self): """ Sets hover text elements associated with each sample point. 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 this trace's sample points. The 'text' property is a string a...
[ "def", "text", "(", "self", ")", ":", "return", "self", "[", "\"text\"", "]" ]
[ 736, 4 ]
[ 752, 27 ]
python
en
['en', 'error', 'th']
False
Ohlc.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\"", "]" ]
[ 761, 4 ]
[ 772, 30 ]
python
en
['en', 'error', 'th']
False
Ohlc.tickwidth
(self)
Sets the width of the open/close tick marks relative to the "x" minimal interval. The 'tickwidth' property is a number and may be specified as: - An int or float in the interval [0, 0.5] Returns ------- int|float
Sets the width of the open/close tick marks relative to the "x" minimal interval. The 'tickwidth' property is a number and may be specified as: - An int or float in the interval [0, 0.5]
def tickwidth(self): """ Sets the width of the open/close tick marks relative to the "x" minimal interval. The 'tickwidth' property is a number and may be specified as: - An int or float in the interval [0, 0.5] Returns ------- int|float ""...
[ "def", "tickwidth", "(", "self", ")", ":", "return", "self", "[", "\"tickwidth\"", "]" ]
[ 781, 4 ]
[ 793, 32 ]
python
en
['en', 'error', 'th']
False
Ohlc.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\"", "]" ]
[ 802, 4 ]
[ 815, 26 ]
python
en
['en', 'error', 'th']
False
Ohlc.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\"", "]" ]
[ 824, 4 ]
[ 848, 33 ]
python
en
['en', 'error', 'th']
False
Ohlc.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\"", "]" ]
[ 857, 4 ]
[ 871, 30 ]
python
en
['en', 'error', 'th']
False
Ohlc.x
(self)
Sets the x coordinates. If absent, linear coordinate will be generated. 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. If absent, linear coordinate will be generated. 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. If absent, linear coordinate will be generated. The 'x' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- numpy.ndarray """ return self[...
[ "def", "x", "(", "self", ")", ":", "return", "self", "[", "\"x\"", "]" ]
[ 880, 4 ]
[ 892, 24 ]
python
en
['en', 'error', 'th']
False
Ohlc.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\"", "]" ]
[ 901, 4 ]
[ 917, 28 ]
python
en
['en', 'error', 'th']
False
Ohlc.xcalendar
(self)
Sets the calendar system to use with `x` date data. The 'xcalendar' property is an enumeration that may be specified as: - One of the following enumeration values: ['gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', 'hebrew', 'islamic', 'julian', ...
Sets the calendar system to use with `x` date data. The 'xcalendar' property is an enumeration that may be specified as: - One of the following enumeration values: ['gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', 'hebrew', 'islamic', 'julian', ...
def xcalendar(self): """ Sets the calendar system to use with `x` date data. The 'xcalendar' property is an enumeration that may be specified as: - One of the following enumeration values: ['gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian',...
[ "def", "xcalendar", "(", "self", ")", ":", "return", "self", "[", "\"xcalendar\"", "]" ]
[ 926, 4 ]
[ 941, 32 ]
python
en
['en', 'error', 'th']
False
Ohlc.xsrc
(self)
Sets the source reference on Chart Studio Cloud for x . The 'xsrc' 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 x . The 'xsrc' property must be specified as a string or as a plotly.grid_objs.Column object
def xsrc(self): """ Sets the source reference on Chart Studio Cloud for x . The 'xsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["xsrc"]
[ "def", "xsrc", "(", "self", ")", ":", "return", "self", "[", "\"xsrc\"", "]" ]
[ 950, 4 ]
[ 961, 27 ]
python
en
['en', 'error', 'th']
False
Ohlc.yaxis
(self)
Sets a reference between this trace's y coordinates and a 2D cartesian y axis. If "y" (the default value), the y coordinates refer to `layout.yaxis`. If "y2", the y coordinates refer to `layout.yaxis2`, and so on. The 'yaxis' property is an identifier of a particular ...
Sets a reference between this trace's y coordinates and a 2D cartesian y axis. If "y" (the default value), the y coordinates refer to `layout.yaxis`. If "y2", the y coordinates refer to `layout.yaxis2`, and so on. The 'yaxis' property is an identifier of a particular ...
def yaxis(self): """ Sets a reference between this trace's y coordinates and a 2D cartesian y axis. If "y" (the default value), the y coordinates refer to `layout.yaxis`. If "y2", the y coordinates refer to `layout.yaxis2`, and so on. The 'yaxis' property is an ident...
[ "def", "yaxis", "(", "self", ")", ":", "return", "self", "[", "\"yaxis\"", "]" ]
[ 970, 4 ]
[ 986, 28 ]
python
en
['en', 'error', 'th']
False
Ohlc.__init__
( self, arg=None, close=None, closesrc=None, customdata=None, customdatasrc=None, decreasing=None, high=None, highsrc=None, hoverinfo=None, hoverinfosrc=None, hoverlabel=None, hovertext=None, hovertextsrc=Non...
Construct a new Ohlc object The ohlc (short for Open-High-Low-Close) is a style of financial chart describing open, high, low and close for a given `x` coordinate (most likely time). The tip of the lines represent the `low` and `high` values and the horizontal s...
Construct a new Ohlc object The ohlc (short for Open-High-Low-Close) is a style of financial chart describing open, high, low and close for a given `x` coordinate (most likely time). The tip of the lines represent the `low` and `high` values and the horizontal s...
def __init__( self, arg=None, close=None, closesrc=None, customdata=None, customdatasrc=None, decreasing=None, high=None, highsrc=None, hoverinfo=None, hoverinfosrc=None, hoverlabel=None, hovertext=None, hove...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "close", "=", "None", ",", "closesrc", "=", "None", ",", "customdata", "=", "None", ",", "customdatasrc", "=", "None", ",", "decreasing", "=", "None", ",", "high", "=", "None", ",", "highs...
[ 1159, 4 ]
[ 1577, 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 ]
[ 64, 28 ]
python
en
['en', 'error', 'th']
False
Font.colorsrc
(self)
Sets the source reference on Chart Studio Cloud for color . The 'colorsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str
Sets the source reference on Chart Studio Cloud for color . The 'colorsrc' property must be specified as a string or as a plotly.grid_objs.Column object
def colorsrc(self): """ Sets the source reference on Chart Studio Cloud for color . The 'colorsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["colorsrc"]
[ "def", "colorsrc", "(", "self", ")", ":", "return", "self", "[", "\"colorsrc\"", "]" ]
[ 73, 4 ]
[ 84, 31 ]
python
en
['en', 'error', 'th']
False
Font.family
(self)
HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts ...
HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts ...
def family(self): """ HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the prefer...
[ "def", "family", "(", "self", ")", ":", "return", "self", "[", "\"family\"", "]" ]
[ 93, 4 ]
[ 116, 29 ]
python
en
['en', 'error', 'th']
False
Font.familysrc
(self)
Sets the source reference on Chart Studio Cloud for family . The 'familysrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str
Sets the source reference on Chart Studio Cloud for family . The 'familysrc' property must be specified as a string or as a plotly.grid_objs.Column object
def familysrc(self): """ Sets the source reference on Chart Studio Cloud for family . The 'familysrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["familysrc"]
[ "def", "familysrc", "(", "self", ")", ":", "return", "self", "[", "\"familysrc\"", "]" ]
[ 125, 4 ]
[ 136, 32 ]
python
en
['en', 'error', 'th']
False
Font.size
(self)
The 'size' property is a number and may be specified as: - An int or float in the interval [1, inf] - A tuple, list, or one-dimensional numpy array of the above Returns ------- int|float|numpy.ndarray
The 'size' property is a number and may be specified as: - An int or float in the interval [1, inf] - A tuple, list, or one-dimensional numpy array of the above
def size(self): """ The 'size' property is a number and may be specified as: - An int or float in the interval [1, inf] - A tuple, list, or one-dimensional numpy array of the above Returns ------- int|float|numpy.ndarray """ return self["size"...
[ "def", "size", "(", "self", ")", ":", "return", "self", "[", "\"size\"", "]" ]
[ 145, 4 ]
[ 155, 27 ]
python
en
['en', 'error', 'th']
False
Font.sizesrc
(self)
Sets the source reference on Chart Studio Cloud for size . The 'sizesrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str
Sets the source reference on Chart Studio Cloud for size . The 'sizesrc' property must be specified as a string or as a plotly.grid_objs.Column object
def sizesrc(self): """ Sets the source reference on Chart Studio Cloud for size . The 'sizesrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["sizesrc"]
[ "def", "sizesrc", "(", "self", ")", ":", "return", "self", "[", "\"sizesrc\"", "]" ]
[ 164, 4 ]
[ 175, 30 ]
python
en
['en', 'error', 'th']
False
Font.__init__
( self, arg=None, color=None, colorsrc=None, family=None, familysrc=None, size=None, sizesrc=None, **kwargs )
Construct a new Font object Sets the font used in hover labels. Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.heatmap.hoverlabel.Font` color ...
Construct a new Font object Sets the font used in hover labels.
def __init__( self, arg=None, color=None, colorsrc=None, family=None, familysrc=None, size=None, sizesrc=None, **kwargs ): """ Construct a new Font object Sets the font used in hover labels. Parameters ...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "color", "=", "None", ",", "colorsrc", "=", "None", ",", "family", "=", "None", ",", "familysrc", "=", "None", ",", "size", "=", "None", ",", "sizesrc", "=", "None", ",", "*", "*", "kw...
[ 215, 4 ]
[ 329, 34 ]
python
en
['en', 'error', 'th']
False
ColorBar.bgcolor
(self)
Sets the color of padded area. The 'bgcolor' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') ...
Sets the color of padded area. The 'bgcolor' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') ...
def bgcolor(self): """ Sets the color of padded area. The 'bgcolor' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva str...
[ "def", "bgcolor", "(", "self", ")", ":", "return", "self", "[", "\"bgcolor\"", "]" ]
[ 59, 4 ]
[ 109, 30 ]
python
en
['en', 'error', 'th']
False
ColorBar.bordercolor
(self)
Sets the axis line color. The 'bordercolor' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') ...
Sets the axis line color. The 'bordercolor' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') ...
def bordercolor(self): """ Sets the axis line color. The 'bordercolor' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva ...
[ "def", "bordercolor", "(", "self", ")", ":", "return", "self", "[", "\"bordercolor\"", "]" ]
[ 118, 4 ]
[ 168, 34 ]
python
en
['en', 'error', 'th']
False
ColorBar.borderwidth
(self)
Sets the width (in px) or the border enclosing this color bar. The 'borderwidth' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float
Sets the width (in px) or the border enclosing this color bar. The 'borderwidth' property is a number and may be specified as: - An int or float in the interval [0, inf]
def borderwidth(self): """ Sets the width (in px) or the border enclosing this color bar. The 'borderwidth' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float """ return self["...
[ "def", "borderwidth", "(", "self", ")", ":", "return", "self", "[", "\"borderwidth\"", "]" ]
[ 177, 4 ]
[ 188, 34 ]
python
en
['en', 'error', 'th']
False
ColorBar.dtick
(self)
Sets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n*dtick) where n is the tick number. For example, to set a tick mark at 1, 1...
Sets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n*dtick) where n is the tick number. For example, to set a tick mark at 1, 1...
def dtick(self): """ Sets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n*dtick) where n is the tick number. For example...
[ "def", "dtick", "(", "self", ")", ":", "return", "self", "[", "\"dtick\"", "]" ]
[ 197, 4 ]
[ 226, 28 ]
python
en
['en', 'error', 'th']
False
ColorBar.exponentformat
(self)
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B. The 'exponentformat' prop...
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B. The 'exponentformat' prop...
def exponentformat(self): """ Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B. ...
[ "def", "exponentformat", "(", "self", ")", ":", "return", "self", "[", "\"exponentformat\"", "]" ]
[ 235, 4 ]
[ 251, 37 ]
python
en
['en', 'error', 'th']
False
ColorBar.len
(self)
Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends. The 'len' property is a number and may be specified as: - An int or float in the interval [0, inf] Return...
Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends. The 'len' property is a number and may be specified as: - An int or float in the interval [0, inf]
def len(self): """ Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends. The 'len' property is a number and may be specified as: - An int or float in the interva...
[ "def", "len", "(", "self", ")", ":", "return", "self", "[", "\"len\"", "]" ]
[ 260, 4 ]
[ 273, 26 ]
python
en
['en', 'error', 'th']
False
ColorBar.lenmode
(self)
Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot "fraction" or in *pixels. Use `len` to set the value. The 'lenmode' property is an enumeration that may be specified as: - One of the following enumerati...
Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot "fraction" or in *pixels. Use `len` to set the value. The 'lenmode' property is an enumeration that may be specified as: - One of the following enumerati...
def lenmode(self): """ Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot "fraction" or in *pixels. Use `len` to set the value. The 'lenmode' property is an enumeration that may be specified as: - ...
[ "def", "lenmode", "(", "self", ")", ":", "return", "self", "[", "\"lenmode\"", "]" ]
[ 282, 4 ]
[ 296, 30 ]
python
en
['en', 'error', 'th']
False
ColorBar.nticks
(self)
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto". The 'nticks' property is a integer and may be specified as: ...
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto". The 'nticks' property is a integer and may be specified as: ...
def nticks(self): """ Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto". The 'nticks' property is a integer an...
[ "def", "nticks", "(", "self", ")", ":", "return", "self", "[", "\"nticks\"", "]" ]
[ 305, 4 ]
[ 320, 29 ]
python
en
['en', 'error', 'th']
False
ColorBar.outlinecolor
(self)
Sets the axis line color. The 'outlinecolor' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') ...
Sets the axis line color. The 'outlinecolor' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') ...
def outlinecolor(self): """ Sets the axis line color. The 'outlinecolor' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsv...
[ "def", "outlinecolor", "(", "self", ")", ":", "return", "self", "[", "\"outlinecolor\"", "]" ]
[ 329, 4 ]
[ 379, 35 ]
python
en
['en', 'error', 'th']
False
ColorBar.outlinewidth
(self)
Sets the width (in px) of the axis line. The 'outlinewidth' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float
Sets the width (in px) of the axis line. The 'outlinewidth' property is a number and may be specified as: - An int or float in the interval [0, inf]
def outlinewidth(self): """ Sets the width (in px) of the axis line. The 'outlinewidth' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float """ return self["outlinewidth"]
[ "def", "outlinewidth", "(", "self", ")", ":", "return", "self", "[", "\"outlinewidth\"", "]" ]
[ 388, 4 ]
[ 399, 35 ]
python
en
['en', 'error', 'th']
False
ColorBar.separatethousands
(self)
If "true", even 4-digit integers are separated The 'separatethousands' property must be specified as a bool (either True, or False) Returns ------- bool
If "true", even 4-digit integers are separated The 'separatethousands' property must be specified as a bool (either True, or False)
def separatethousands(self): """ If "true", even 4-digit integers are separated The 'separatethousands' property must be specified as a bool (either True, or False) Returns ------- bool """ return self["separatethousands"]
[ "def", "separatethousands", "(", "self", ")", ":", "return", "self", "[", "\"separatethousands\"", "]" ]
[ 408, 4 ]
[ 419, 40 ]
python
en
['en', 'error', 'th']
False
ColorBar.showexponent
(self)
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear. The 'showexponent' property is an enumeration that may be specifie...
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear. The 'showexponent' property is an enumeration that may be specifie...
def showexponent(self): """ If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear. The 'showexponent' property is ...
[ "def", "showexponent", "(", "self", ")", ":", "return", "self", "[", "\"showexponent\"", "]" ]
[ 428, 4 ]
[ 443, 35 ]
python
en
['en', 'error', 'th']
False
ColorBar.showticklabels
(self)
Determines whether or not the tick labels are drawn. The 'showticklabels' property must be specified as a bool (either True, or False) Returns ------- bool
Determines whether or not the tick labels are drawn. The 'showticklabels' property must be specified as a bool (either True, or False)
def showticklabels(self): """ Determines whether or not the tick labels are drawn. The 'showticklabels' property must be specified as a bool (either True, or False) Returns ------- bool """ return self["showticklabels"]
[ "def", "showticklabels", "(", "self", ")", ":", "return", "self", "[", "\"showticklabels\"", "]" ]
[ 452, 4 ]
[ 463, 37 ]
python
en
['en', 'error', 'th']
False
ColorBar.showtickprefix
(self)
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden. The 'showtickprefix' property is an enumeration that may be spec...
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden. The 'showtickprefix' property is an enumeration that may be spec...
def showtickprefix(self): """ If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden. The 'showtickprefix' proper...
[ "def", "showtickprefix", "(", "self", ")", ":", "return", "self", "[", "\"showtickprefix\"", "]" ]
[ 472, 4 ]
[ 487, 37 ]
python
en
['en', 'error', 'th']
False
ColorBar.showticksuffix
(self)
Same as `showtickprefix` but for tick suffixes. The 'showticksuffix' property is an enumeration that may be specified as: - One of the following enumeration values: ['all', 'first', 'last', 'none'] Returns ------- Any
Same as `showtickprefix` but for tick suffixes. The 'showticksuffix' property is an enumeration that may be specified as: - One of the following enumeration values: ['all', 'first', 'last', 'none']
def showticksuffix(self): """ Same as `showtickprefix` but for tick suffixes. The 'showticksuffix' property is an enumeration that may be specified as: - One of the following enumeration values: ['all', 'first', 'last', 'none'] Returns ------- ...
[ "def", "showticksuffix", "(", "self", ")", ":", "return", "self", "[", "\"showticksuffix\"", "]" ]
[ 496, 4 ]
[ 508, 37 ]
python
en
['en', 'error', 'th']
False
ColorBar.thickness
(self)
Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. The 'thickness' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float
Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. The 'thickness' property is a number and may be specified as: - An int or float in the interval [0, inf]
def thickness(self): """ Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. The 'thickness' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- i...
[ "def", "thickness", "(", "self", ")", ":", "return", "self", "[", "\"thickness\"", "]" ]
[ 517, 4 ]
[ 529, 32 ]
python
en
['en', 'error', 'th']
False
ColorBar.thicknessmode
(self)
Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot "fraction" or in "pixels". Use `thickness` to set the value. The 'thicknessmode' property is an enumeration that may be specified as: - One of the foll...
Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot "fraction" or in "pixels". Use `thickness` to set the value. The 'thicknessmode' property is an enumeration that may be specified as: - One of the foll...
def thicknessmode(self): """ Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot "fraction" or in "pixels". Use `thickness` to set the value. The 'thicknessmode' property is an enumeration that may be speci...
[ "def", "thicknessmode", "(", "self", ")", ":", "return", "self", "[", "\"thicknessmode\"", "]" ]
[ 538, 4 ]
[ 552, 36 ]
python
en
['en', 'error', 'th']
False
ColorBar.tick0
(self)
Sets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`=*L<f>* (see `dtick` for more info). If the axis `ty...
Sets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`=*L<f>* (see `dtick` for more info). If the axis `ty...
def tick0(self): """ Sets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`=*L<f>* (see `dtick` for...
[ "def", "tick0", "(", "self", ")", ":", "return", "self", "[", "\"tick0\"", "]" ]
[ 561, 4 ]
[ 579, 28 ]
python
en
['en', 'error', 'th']
False
ColorBar.tickangle
(self)
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically. The 'tickangle' property is a angle (in degrees) that may be specified as a number between -180 and 180. Numeric values outside this ...
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically. The 'tickangle' property is a angle (in degrees) that may be specified as a number between -180 and 180. Numeric values outside this ...
def tickangle(self): """ Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically. The 'tickangle' property is a angle (in degrees) that may be specified as a number between -180 and 180. Num...
[ "def", "tickangle", "(", "self", ")", ":", "return", "self", "[", "\"tickangle\"", "]" ]
[ 588, 4 ]
[ 603, 32 ]
python
en
['en', 'error', 'th']
False
ColorBar.tickcolor
(self)
Sets the tick color. The 'tickcolor' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') ...
Sets the tick color. The 'tickcolor' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') ...
def tickcolor(self): """ Sets the tick color. The 'tickcolor' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva string (e...
[ "def", "tickcolor", "(", "self", ")", ":", "return", "self", "[", "\"tickcolor\"", "]" ]
[ 612, 4 ]
[ 662, 32 ]
python
en
['en', 'error', 'th']
False
ColorBar.tickfont
(self)
Sets the color bar's tick label font The 'tickfont' property is an instance of Tickfont that may be specified as: - An instance of :class:`plotly.graph_objs.heatmapgl.colorbar.Tickfont` - A dict of string/value properties that will be passed to the Tickfont ...
Sets the color bar's tick label font The 'tickfont' property is an instance of Tickfont that may be specified as: - An instance of :class:`plotly.graph_objs.heatmapgl.colorbar.Tickfont` - A dict of string/value properties that will be passed to the Tickfont ...
def tickfont(self): """ Sets the color bar's tick label font The 'tickfont' property is an instance of Tickfont that may be specified as: - An instance of :class:`plotly.graph_objs.heatmapgl.colorbar.Tickfont` - A dict of string/value properties that will be pass...
[ "def", "tickfont", "(", "self", ")", ":", "return", "self", "[", "\"tickfont\"", "]" ]
[ 671, 4 ]
[ 708, 31 ]
python
en
['en', 'error', 'th']
False
ColorBar.tickformat
(self)
Sets the tick label formatting rule using d3 formatting mini- languages which are very similar to those in Python. For numbers, see: https://github.com/d3/d3-3.x-api- reference/blob/master/Formatting.md#d3_format And for dates see: https://github.com/d3/d3-3.x-api- refer...
Sets the tick label formatting rule using d3 formatting mini- languages which are very similar to those in Python. For numbers, see: https://github.com/d3/d3-3.x-api- reference/blob/master/Formatting.md#d3_format And for dates see: https://github.com/d3/d3-3.x-api- refer...
def tickformat(self): """ Sets the tick label formatting rule using d3 formatting mini- languages which are very similar to those in Python. For numbers, see: https://github.com/d3/d3-3.x-api- reference/blob/master/Formatting.md#d3_format And for dates see: https://github...
[ "def", "tickformat", "(", "self", ")", ":", "return", "self", "[", "\"tickformat\"", "]" ]
[ 717, 4 ]
[ 737, 33 ]
python
en
['en', 'error', 'th']
False
ColorBar.tickformatstops
(self)
The 'tickformatstops' property is a tuple of instances of Tickformatstop that may be specified as: - A list or tuple of instances of plotly.graph_objs.heatmapgl.colorbar.Tickformatstop - A list or tuple of dicts of string/value properties that will be passed to the Tickf...
The 'tickformatstops' property is a tuple of instances of Tickformatstop that may be specified as: - A list or tuple of instances of plotly.graph_objs.heatmapgl.colorbar.Tickformatstop - A list or tuple of dicts of string/value properties that will be passed to the Tickf...
def tickformatstops(self): """ The 'tickformatstops' property is a tuple of instances of Tickformatstop that may be specified as: - A list or tuple of instances of plotly.graph_objs.heatmapgl.colorbar.Tickformatstop - A list or tuple of dicts of string/value properties that ...
[ "def", "tickformatstops", "(", "self", ")", ":", "return", "self", "[", "\"tickformatstops\"", "]" ]
[ 746, 4 ]
[ 794, 38 ]
python
en
['en', 'error', 'th']
False