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
ServerSession.execute_cmd
(self, raw_string, session=None, **kwargs)
Do something as this object. This method is normally never called directly, instead incoming command instructions are sent to the appropriate inputfunc already at the sessionhandler level. This method allows Python code to inject commands into this stream, and will lead to the t...
Do something as this object. This method is normally never called directly, instead incoming command instructions are sent to the appropriate inputfunc already at the sessionhandler level. This method allows Python code to inject commands into this stream, and will lead to the t...
def execute_cmd(self, raw_string, session=None, **kwargs): """ Do something as this object. This method is normally never called directly, instead incoming command instructions are sent to the appropriate inputfunc already at the sessionhandler level. This method allows Python co...
[ "def", "execute_cmd", "(", "self", ",", "raw_string", ",", "session", "=", "None", ",", "*", "*", "kwargs", ")", ":", "# inject instruction into input stream", "kwargs", "[", "\"text\"", "]", "=", "(", "(", "raw_string", ",", ")", ",", "{", "}", ")", "se...
[ 409, 4 ]
[ 431, 62 ]
python
en
['en', 'error', 'th']
False
ServerSession.__eq__
(self, other)
Handle session comparisons
Handle session comparisons
def __eq__(self, other): """Handle session comparisons""" try: return self.address == other.address except AttributeError: return False
[ "def", "__eq__", "(", "self", ",", "other", ")", ":", "try", ":", "return", "self", ".", "address", "==", "other", ".", "address", "except", "AttributeError", ":", "return", "False" ]
[ 433, 4 ]
[ 438, 24 ]
python
en
['en', 'fr', 'en']
True
ServerSession.__str__
(self)
String representation of the user session class. We use this a lot in the server logs.
String representation of the user session class. We use this a lot in the server logs.
def __str__(self): """ String representation of the user session class. We use this a lot in the server logs. """ symbol = "" if self.logged_in and hasattr(self, "account") and self.account: symbol = "(#%s)" % self.account.id try: if hasat...
[ "def", "__str__", "(", "self", ")", ":", "symbol", "=", "\"\"", "if", "self", ".", "logged_in", "and", "hasattr", "(", "self", ",", "\"account\"", ")", "and", "self", ".", "account", ":", "symbol", "=", "\"(#%s)\"", "%", "self", ".", "account", ".", ...
[ 446, 4 ]
[ 462, 56 ]
python
en
['en', 'error', 'th']
False
ServerSession.__unicode__
(self)
Unicode representation
Unicode representation
def __unicode__(self): """Unicode representation""" return u"%s" % str(self)
[ "def", "__unicode__", "(", "self", ")", ":", "return", "u\"%s\"", "%", "str", "(", "self", ")" ]
[ 464, 4 ]
[ 466, 32 ]
python
en
['en', 'sr', 'en']
False
ServerSession.at_cmdset_get
(self, **kwargs)
A dummy hook all objects with cmdsets need to have
A dummy hook all objects with cmdsets need to have
def at_cmdset_get(self, **kwargs): """ A dummy hook all objects with cmdsets need to have """ pass
[ "def", "at_cmdset_get", "(", "self", ",", "*", "*", "kwargs", ")", ":", "pass" ]
[ 470, 4 ]
[ 475, 12 ]
python
en
['en', 'error', 'th']
False
ServerSession.ndb_get
(self)
A non-persistent store (ndb: NonDataBase). Everything stored to this is guaranteed to be cleared when a server is shutdown. Syntax is same as for the _get_db_holder() method and property, e.g. obj.ndb.attr = value etc.
A non-persistent store (ndb: NonDataBase). Everything stored to this is guaranteed to be cleared when a server is shutdown. Syntax is same as for the _get_db_holder() method and property, e.g. obj.ndb.attr = value etc.
def ndb_get(self): """ A non-persistent store (ndb: NonDataBase). Everything stored to this is guaranteed to be cleared when a server is shutdown. Syntax is same as for the _get_db_holder() method and property, e.g. obj.ndb.attr = value etc. """ try: ...
[ "def", "ndb_get", "(", "self", ")", ":", "try", ":", "return", "self", ".", "_ndb_holder", "except", "AttributeError", ":", "self", ".", "_ndb_holder", "=", "NDbHolder", "(", "self", ",", "\"nattrhandler\"", ",", "manager_name", "=", "\"nattributes\"", ")", ...
[ 490, 4 ]
[ 502, 35 ]
python
en
['en', 'error', 'th']
False
ServerSession.ndb_set
(self, value)
Stop accidentally replacing the db object Args: value (any): A value to store in the ndb.
Stop accidentally replacing the db object
def ndb_set(self, value): """ Stop accidentally replacing the db object Args: value (any): A value to store in the ndb. """ string = "Cannot assign directly to ndb object! " string += "Use ndb.attr=value instead." raise Exception(string)
[ "def", "ndb_set", "(", "self", ",", "value", ")", ":", "string", "=", "\"Cannot assign directly to ndb object! \"", "string", "+=", "\"Use ndb.attr=value instead.\"", "raise", "Exception", "(", "string", ")" ]
[ 505, 4 ]
[ 515, 31 ]
python
en
['en', 'error', 'th']
False
ServerSession.ndb_del
(self)
Stop accidental deletion.
Stop accidental deletion.
def ndb_del(self): """Stop accidental deletion.""" raise Exception("Cannot delete the ndb object!")
[ "def", "ndb_del", "(", "self", ")", ":", "raise", "Exception", "(", "\"Cannot delete the ndb object!\"", ")" ]
[ 518, 4 ]
[ 520, 56 ]
python
en
['es', 'en', 'en']
True
ServerSession.access
(self, *args, **kwargs)
Dummy method to mimic the logged-in API.
Dummy method to mimic the logged-in API.
def access(self, *args, **kwargs): """Dummy method to mimic the logged-in API.""" return True
[ "def", "access", "(", "self", ",", "*", "args", ",", "*", "*", "kwargs", ")", ":", "return", "True" ]
[ 526, 4 ]
[ 528, 19 ]
python
en
['en', 'en', 'en']
True
build_backbone
(cfg)
Build backbone.
Build backbone.
def build_backbone(cfg): """Build backbone.""" return build(cfg, BACKBONES)
[ "def", "build_backbone", "(", "cfg", ")", ":", "return", "build", "(", "cfg", ",", "BACKBONES", ")" ]
[ 7, 0 ]
[ 9, 32 ]
python
en
['en', 'tr', 'en']
False
build_neck
(cfg)
Build neck.
Build neck.
def build_neck(cfg): """Build neck.""" return build(cfg, NECKS)
[ "def", "build_neck", "(", "cfg", ")", ":", "return", "build", "(", "cfg", ",", "NECKS", ")" ]
[ 12, 0 ]
[ 14, 28 ]
python
en
['en', 'sr', 'en']
False
build_roi_extractor
(cfg)
Build RoI feature extractor.
Build RoI feature extractor.
def build_roi_extractor(cfg): """Build RoI feature extractor.""" return build(cfg, ROI_EXTRACTORS)
[ "def", "build_roi_extractor", "(", "cfg", ")", ":", "return", "build", "(", "cfg", ",", "ROI_EXTRACTORS", ")" ]
[ 17, 0 ]
[ 19, 37 ]
python
en
['en', 'en', 'en']
True
build_shared_head
(cfg)
Build shared head of detector.
Build shared head of detector.
def build_shared_head(cfg): """Build shared head of detector.""" return build(cfg, SHARED_HEADS)
[ "def", "build_shared_head", "(", "cfg", ")", ":", "return", "build", "(", "cfg", ",", "SHARED_HEADS", ")" ]
[ 22, 0 ]
[ 24, 35 ]
python
en
['en', 'en', 'en']
True
build_head
(cfg)
Build head.
Build head.
def build_head(cfg): """Build head.""" return build(cfg, HEADS)
[ "def", "build_head", "(", "cfg", ")", ":", "return", "build", "(", "cfg", ",", "HEADS", ")" ]
[ 27, 0 ]
[ 29, 28 ]
python
en
['en', 'es', 'en']
False
build_loss
(cfg)
Build loss function.
Build loss function.
def build_loss(cfg): """Build loss function.""" return build(cfg, LOSSES)
[ "def", "build_loss", "(", "cfg", ")", ":", "return", "build", "(", "cfg", ",", "LOSSES", ")" ]
[ 32, 0 ]
[ 34, 29 ]
python
en
['en', 'en', 'en']
True
build_detector
(cfg, train_cfg=None, test_cfg=None)
Build detector.
Build detector.
def build_detector(cfg, train_cfg=None, test_cfg=None): """Build detector.""" if train_cfg is not None or test_cfg is not None: warnings.warn( 'train_cfg and test_cfg is deprecated, ' 'please specify them in model', UserWarning) assert cfg.get('train_cfg') is None or train_cf...
[ "def", "build_detector", "(", "cfg", ",", "train_cfg", "=", "None", ",", "test_cfg", "=", "None", ")", ":", "if", "train_cfg", "is", "not", "None", "or", "test_cfg", "is", "not", "None", ":", "warnings", ".", "warn", "(", "'train_cfg and test_cfg is deprecat...
[ 37, 0 ]
[ 47, 78 ]
python
da
['da', 'es', 'en']
False
build_voxel_encoder
(cfg)
Build voxel encoder.
Build voxel encoder.
def build_voxel_encoder(cfg): """Build voxel encoder.""" return build(cfg, VOXEL_ENCODERS)
[ "def", "build_voxel_encoder", "(", "cfg", ")", ":", "return", "build", "(", "cfg", ",", "VOXEL_ENCODERS", ")" ]
[ 50, 0 ]
[ 52, 37 ]
python
da
['nl', 'da', 'pt']
False
build_middle_encoder
(cfg)
Build middle level encoder.
Build middle level encoder.
def build_middle_encoder(cfg): """Build middle level encoder.""" return build(cfg, MIDDLE_ENCODERS)
[ "def", "build_middle_encoder", "(", "cfg", ")", ":", "return", "build", "(", "cfg", ",", "MIDDLE_ENCODERS", ")" ]
[ 55, 0 ]
[ 57, 38 ]
python
en
['en', 'da', 'en']
True
build_fusion_layer
(cfg)
Build fusion layer.
Build fusion layer.
def build_fusion_layer(cfg): """Build fusion layer.""" return build(cfg, FUSION_LAYERS)
[ "def", "build_fusion_layer", "(", "cfg", ")", ":", "return", "build", "(", "cfg", ",", "FUSION_LAYERS", ")" ]
[ 60, 0 ]
[ 62, 36 ]
python
en
['en', 'it', 'en']
True
Domain.column
(self)
If there is a layout grid, use the domain for this column in the grid for this parcoords trace . The 'column' property is a integer and may be specified as: - An int (or float that will be cast to an int) in the interval [0, 9223372036854775807] Returns ...
If there is a layout grid, use the domain for this column in the grid for this parcoords trace . The 'column' property is a integer and may be specified as: - An int (or float that will be cast to an int) in the interval [0, 9223372036854775807]
def column(self): """ If there is a layout grid, use the domain for this column in the grid for this parcoords trace . The 'column' property is a integer and may be specified as: - An int (or float that will be cast to an int) in the interval [0, 92233720368547...
[ "def", "column", "(", "self", ")", ":", "return", "self", "[", "\"column\"", "]" ]
[ 15, 4 ]
[ 28, 29 ]
python
en
['en', 'error', 'th']
False
Domain.row
(self)
If there is a layout grid, use the domain for this row in the grid for this parcoords trace . The 'row' property is a integer and may be specified as: - An int (or float that will be cast to an int) in the interval [0, 9223372036854775807] Returns ---...
If there is a layout grid, use the domain for this row in the grid for this parcoords trace . The 'row' property is a integer and may be specified as: - An int (or float that will be cast to an int) in the interval [0, 9223372036854775807]
def row(self): """ If there is a layout grid, use the domain for this row in the grid for this parcoords trace . The 'row' property is a integer and may be specified as: - An int (or float that will be cast to an int) in the interval [0, 9223372036854775807] ...
[ "def", "row", "(", "self", ")", ":", "return", "self", "[", "\"row\"", "]" ]
[ 37, 4 ]
[ 50, 26 ]
python
en
['en', 'error', 'th']
False
Domain.x
(self)
Sets the horizontal domain of this parcoords trace (in plot fraction). The 'x' property is an info array that may be specified as: * a list or tuple of 2 elements where: (0) The 'x[0]' property is a number and may be specified as: - An int or float in the interva...
Sets the horizontal domain of this parcoords trace (in plot fraction). The 'x' property is an info array that may be specified as: * a list or tuple of 2 elements where: (0) The 'x[0]' property is a number and may be specified as: - An int or float in the interva...
def x(self): """ Sets the horizontal domain of this parcoords trace (in plot fraction). The 'x' property is an info array that may be specified as: * a list or tuple of 2 elements where: (0) The 'x[0]' property is a number and may be specified as: - An int...
[ "def", "x", "(", "self", ")", ":", "return", "self", "[", "\"x\"", "]" ]
[ 59, 4 ]
[ 76, 24 ]
python
en
['en', 'error', 'th']
False
Domain.y
(self)
Sets the vertical domain of this parcoords trace (in plot fraction). The 'y' property is an info array that may be specified as: * a list or tuple of 2 elements where: (0) The 'y[0]' property is a number and may be specified as: - An int or float in the interval ...
Sets the vertical domain of this parcoords trace (in plot fraction). The 'y' property is an info array that may be specified as: * a list or tuple of 2 elements where: (0) The 'y[0]' property is a number and may be specified as: - An int or float in the interval ...
def y(self): """ Sets the vertical domain of this parcoords trace (in plot fraction). The 'y' property is an info array that may be specified as: * a list or tuple of 2 elements where: (0) The 'y[0]' property is a number and may be specified as: - An int o...
[ "def", "y", "(", "self", ")", ":", "return", "self", "[", "\"y\"", "]" ]
[ 85, 4 ]
[ 102, 24 ]
python
en
['en', 'error', 'th']
False
Domain.__init__
(self, arg=None, column=None, row=None, x=None, y=None, **kwargs)
Construct a new Domain object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.parcoords.Domain` column If there is a layout grid, use the domain for...
Construct a new Domain object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.parcoords.Domain` column If there is a layout grid, use the domain for...
def __init__(self, arg=None, column=None, row=None, x=None, y=None, **kwargs): """ Construct a new Domain object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs....
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "column", "=", "None", ",", "row", "=", "None", ",", "x", "=", "None", ",", "y", "=", "None", ",", "*", "*", "kwargs", ")", ":", "super", "(", "Domain", ",", "self", ")", ".", "__i...
[ 127, 4 ]
[ 206, 34 ]
python
en
['en', 'error', 'th']
False
BaseStorage.add_record
(self, record: StorageRecord)
Add a new record to the store. Args: record: `StorageRecord` to be stored
Add a new record to the store.
async def add_record(self, record: StorageRecord): """ Add a new record to the store. Args: record: `StorageRecord` to be stored """
[ "async", "def", "add_record", "(", "self", ",", "record", ":", "StorageRecord", ")", ":" ]
[ 16, 4 ]
[ 23, 11 ]
python
en
['en', 'error', 'th']
False
BaseStorage.get_record
( self, record_type: str, record_id: str, options: Mapping = None )
Fetch a record from the store by type and ID. Args: record_type: The record type record_id: The record id options: A dictionary of backend-specific options Returns: A `StorageRecord` instance
Fetch a record from the store by type and ID.
async def get_record( self, record_type: str, record_id: str, options: Mapping = None ) -> StorageRecord: """ Fetch a record from the store by type and ID. Args: record_type: The record type record_id: The record id options: A dictionary of backen...
[ "async", "def", "get_record", "(", "self", ",", "record_type", ":", "str", ",", "record_id", ":", "str", ",", "options", ":", "Mapping", "=", "None", ")", "->", "StorageRecord", ":" ]
[ 26, 4 ]
[ 40, 11 ]
python
en
['en', 'error', 'th']
False
BaseStorage.update_record_value
(self, record: StorageRecord, value: str)
Update an existing stored record's value. Args: record: `StorageRecord` to update value: The new value
Update an existing stored record's value.
async def update_record_value(self, record: StorageRecord, value: str): """ Update an existing stored record's value. Args: record: `StorageRecord` to update value: The new value """
[ "async", "def", "update_record_value", "(", "self", ",", "record", ":", "StorageRecord", ",", "value", ":", "str", ")", ":" ]
[ 43, 4 ]
[ 51, 11 ]
python
en
['en', 'error', 'th']
False
BaseStorage.update_record_tags
(self, record: StorageRecord, tags: Mapping)
Update an existing stored record's tags. Args: record: `StorageRecord` to update tags: New tags
Update an existing stored record's tags.
async def update_record_tags(self, record: StorageRecord, tags: Mapping): """ Update an existing stored record's tags. Args: record: `StorageRecord` to update tags: New tags """
[ "async", "def", "update_record_tags", "(", "self", ",", "record", ":", "StorageRecord", ",", "tags", ":", "Mapping", ")", ":" ]
[ 54, 4 ]
[ 62, 11 ]
python
en
['en', 'error', 'th']
False
BaseStorage.delete_record_tags
( self, record: StorageRecord, tags: (Sequence, Mapping) )
Update an existing stored record's tags. Args: record: `StorageRecord` to delete tags: Tags
Update an existing stored record's tags.
async def delete_record_tags( self, record: StorageRecord, tags: (Sequence, Mapping) ): """ Update an existing stored record's tags. Args: record: `StorageRecord` to delete tags: Tags """
[ "async", "def", "delete_record_tags", "(", "self", ",", "record", ":", "StorageRecord", ",", "tags", ":", "(", "Sequence", ",", "Mapping", ")", ")", ":" ]
[ 65, 4 ]
[ 75, 11 ]
python
en
['en', 'error', 'th']
False
BaseStorage.delete_record
(self, record: StorageRecord)
Delete an existing record. Args: record: `StorageRecord` to delete
Delete an existing record.
async def delete_record(self, record: StorageRecord): """ Delete an existing record. Args: record: `StorageRecord` to delete """
[ "async", "def", "delete_record", "(", "self", ",", "record", ":", "StorageRecord", ")", ":" ]
[ 78, 4 ]
[ 85, 11 ]
python
en
['en', 'error', 'th']
False
BaseStorage.search_records
( self, type_filter: str, tag_query: Mapping = None, page_size: int = None, options: Mapping = None, )
Create a new record query. Args: type_filter: Filter string tag_query: Tags to query page_size: Page size options: Dictionary of backend-specific options Returns: An instance of `BaseStorageRecordSearch`
Create a new record query.
def search_records( self, type_filter: str, tag_query: Mapping = None, page_size: int = None, options: Mapping = None, ) -> "BaseStorageRecordSearch": """ Create a new record query. Args: type_filter: Filter string tag_query: T...
[ "def", "search_records", "(", "self", ",", "type_filter", ":", "str", ",", "tag_query", ":", "Mapping", "=", "None", ",", "page_size", ":", "int", "=", "None", ",", "options", ":", "Mapping", "=", "None", ",", ")", "->", "\"BaseStorageRecordSearch\"", ":" ...
[ 88, 4 ]
[ 107, 11 ]
python
en
['en', 'error', 'th']
False
BaseStorage.__repr__
(self)
Human readable representation of a `BaseStorage` implementation.
Human readable representation of a `BaseStorage` implementation.
def __repr__(self) -> str: """Human readable representation of a `BaseStorage` implementation.""" return "<{}>".format(self.__class__.__name__)
[ "def", "__repr__", "(", "self", ")", "->", "str", ":", "return", "\"<{}>\"", ".", "format", "(", "self", ".", "__class__", ".", "__name__", ")" ]
[ 109, 4 ]
[ 111, 53 ]
python
en
['en', 'en', 'en']
True
BaseStorageRecordSearch.__init__
( self, store: BaseStorage, type_filter: str, tag_query: Mapping, page_size: int = None, options: Mapping = None, )
Initialize a `BaseStorageRecordSearch` instance. Args: store: `BaseStorage` to search type_filter: Filter string tag_query: Tags to search page_size: Size of page to return options: Dictionary of backend-specific options
Initialize a `BaseStorageRecordSearch` instance.
def __init__( self, store: BaseStorage, type_filter: str, tag_query: Mapping, page_size: int = None, options: Mapping = None, ): """ Initialize a `BaseStorageRecordSearch` instance. Args: store: `BaseStorage` to search ...
[ "def", "__init__", "(", "self", ",", "store", ":", "BaseStorage", ",", "type_filter", ":", "str", ",", "tag_query", ":", "Mapping", ",", "page_size", ":", "int", "=", "None", ",", "options", ":", "Mapping", "=", "None", ",", ")", ":", "self", ".", "_...
[ 117, 4 ]
[ 141, 37 ]
python
en
['en', 'error', 'th']
False
BaseStorageRecordSearch.handle
(self)
Handle a search request.
Handle a search request.
def handle(self): """Handle a search request.""" return None
[ "def", "handle", "(", "self", ")", ":", "return", "None" ]
[ 144, 4 ]
[ 146, 19 ]
python
en
['en', 'en', 'en']
True
BaseStorageRecordSearch.opened
(self)
Accessor for open state. Returns: True if opened, else False
Accessor for open state.
def opened(self) -> bool: """ Accessor for open state. Returns: True if opened, else False """ return False
[ "def", "opened", "(", "self", ")", "->", "bool", ":", "return", "False" ]
[ 150, 4 ]
[ 158, 20 ]
python
en
['en', 'error', 'th']
False
BaseStorageRecordSearch.page_size
(self)
Accessor for page size. Returns: The page size
Accessor for page size.
def page_size(self) -> int: """ Accessor for page size. Returns: The page size """ return self._page_size or DEFAULT_PAGE_SIZE
[ "def", "page_size", "(", "self", ")", "->", "int", ":", "return", "self", ".", "_page_size", "or", "DEFAULT_PAGE_SIZE" ]
[ 161, 4 ]
[ 169, 51 ]
python
en
['en', 'error', 'th']
False
BaseStorageRecordSearch.store
(self)
`BaseStorage` backend for this implementation. Returns: The `BaseStorage` implementation being used
`BaseStorage` backend for this implementation.
def store(self) -> BaseStorage: """ `BaseStorage` backend for this implementation. Returns: The `BaseStorage` implementation being used """ return self._store
[ "def", "store", "(", "self", ")", "->", "BaseStorage", ":", "return", "self", ".", "_store" ]
[ 172, 4 ]
[ 180, 26 ]
python
en
['en', 'error', 'th']
False
BaseStorageRecordSearch.tag_query
(self)
Accessor for tag query. Returns: The tag query
Accessor for tag query.
def tag_query(self) -> Mapping: """ Accessor for tag query. Returns: The tag query """ return self._tag_query
[ "def", "tag_query", "(", "self", ")", "->", "Mapping", ":", "return", "self", ".", "_tag_query" ]
[ 183, 4 ]
[ 191, 30 ]
python
en
['en', 'error', 'th']
False
BaseStorageRecordSearch.type_filter
(self)
Accessor for type filter. Returns: The type filter
Accessor for type filter.
def type_filter(self) -> str: """ Accessor for type filter. Returns: The type filter """ return self._type_filter
[ "def", "type_filter", "(", "self", ")", "->", "str", ":", "return", "self", ".", "_type_filter" ]
[ 194, 4 ]
[ 202, 32 ]
python
en
['en', 'error', 'th']
False
BaseStorageRecordSearch.options
(self)
Accessor for the search options. Returns: The search options
Accessor for the search options.
def options(self) -> Mapping: """ Accessor for the search options. Returns: The search options """ return self._options
[ "def", "options", "(", "self", ")", "->", "Mapping", ":", "return", "self", ".", "_options" ]
[ 205, 4 ]
[ 213, 28 ]
python
en
['en', 'error', 'th']
False
BaseStorageRecordSearch.option
(self, name: str, default=None)
Fetch a named search option, if defined. Return: The option value or default
Fetch a named search option, if defined.
def option(self, name: str, default=None): """ Fetch a named search option, if defined. Return: The option value or default """ return self._options.get(name, default)
[ "def", "option", "(", "self", ",", "name", ":", "str", ",", "default", "=", "None", ")", ":", "return", "self", ".", "_options", ".", "get", "(", "name", ",", "default", ")" ]
[ 215, 4 ]
[ 223, 47 ]
python
en
['en', 'error', 'th']
False
BaseStorageRecordSearch.fetch
(self, max_count: int)
Fetch the next list of results from the store. Args: max_count: Max number of records to return Returns: A list of `StorageRecord`
Fetch the next list of results from the store.
async def fetch(self, max_count: int) -> Sequence[StorageRecord]: """ Fetch the next list of results from the store. Args: max_count: Max number of records to return Returns: A list of `StorageRecord` """
[ "async", "def", "fetch", "(", "self", ",", "max_count", ":", "int", ")", "->", "Sequence", "[", "StorageRecord", "]", ":" ]
[ 226, 4 ]
[ 236, 11 ]
python
en
['en', 'error', 'th']
False
BaseStorageRecordSearch.fetch_all
(self)
Fetch all records from the query.
Fetch all records from the query.
async def fetch_all(self) -> Sequence[StorageRecord]: """Fetch all records from the query.""" results = [] async for record in self: results.append(record) return results
[ "async", "def", "fetch_all", "(", "self", ")", "->", "Sequence", "[", "StorageRecord", "]", ":", "results", "=", "[", "]", "async", "for", "record", "in", "self", ":", "results", ".", "append", "(", "record", ")", "return", "results" ]
[ 238, 4 ]
[ 243, 22 ]
python
en
['en', 'en', 'en']
True
BaseStorageRecordSearch.fetch_single
(self)
Fetch a single query result.
Fetch a single query result.
async def fetch_single(self) -> StorageRecord: """Fetch a single query result.""" results = await self.fetch_all() if not results: raise StorageNotFoundError("Record not found") if len(results) > 1: raise StorageDuplicateError("Duplicate records found") re...
[ "async", "def", "fetch_single", "(", "self", ")", "->", "StorageRecord", ":", "results", "=", "await", "self", ".", "fetch_all", "(", ")", "if", "not", "results", ":", "raise", "StorageNotFoundError", "(", "\"Record not found\"", ")", "if", "len", "(", "resu...
[ 245, 4 ]
[ 252, 25 ]
python
en
['en', 'en', 'en']
True
BaseStorageRecordSearch.open
(self)
Start the search query.
Start the search query.
async def open(self): """Start the search query."""
[ "async", "def", "open", "(", "self", ")", ":" ]
[ 255, 4 ]
[ 256, 37 ]
python
en
['en', 'en', 'en']
True
BaseStorageRecordSearch.close
(self)
Dispose of the search query.
Dispose of the search query.
async def close(self): """Dispose of the search query."""
[ "async", "def", "close", "(", "self", ")", ":" ]
[ 259, 4 ]
[ 260, 42 ]
python
en
['en', 'en', 'en']
True
BaseStorageRecordSearch.__aenter__
(self)
Context manager enter.
Context manager enter.
async def __aenter__(self): """Context manager enter.""" await self.open() return self
[ "async", "def", "__aenter__", "(", "self", ")", ":", "await", "self", ".", "open", "(", ")", "return", "self" ]
[ 262, 4 ]
[ 265, 19 ]
python
da
['da', 'gl', 'en']
False
BaseStorageRecordSearch.__aexit__
(self, exc_type, exc, tb)
Context manager exit.
Context manager exit.
async def __aexit__(self, exc_type, exc, tb): """Context manager exit.""" await self.close()
[ "async", "def", "__aexit__", "(", "self", ",", "exc_type", ",", "exc", ",", "tb", ")", ":", "await", "self", ".", "close", "(", ")" ]
[ 267, 4 ]
[ 269, 26 ]
python
en
['da', 'en', 'en']
True
BaseStorageRecordSearch.__aiter__
(self)
Async iterator magic method.
Async iterator magic method.
def __aiter__(self): """Async iterator magic method.""" return self
[ "def", "__aiter__", "(", "self", ")", ":", "return", "self" ]
[ 271, 4 ]
[ 273, 19 ]
python
en
['en', 'uz', 'en']
True
BaseStorageRecordSearch.__anext__
(self)
Async iterator magic method.
Async iterator magic method.
async def __anext__(self): """Async iterator magic method.""" if not self.opened: await self.open() if not self._buffer: self._buffer = await self.fetch(self.page_size) if not self._buffer: await self.close() raise StopAsyncIter...
[ "async", "def", "__anext__", "(", "self", ")", ":", "if", "not", "self", ".", "opened", ":", "await", "self", ".", "open", "(", ")", "if", "not", "self", ".", "_buffer", ":", "self", ".", "_buffer", "=", "await", "self", ".", "fetch", "(", "self", ...
[ 275, 4 ]
[ 287, 36 ]
python
en
['en', 'uz', 'en']
True
BaseStorageRecordSearch.__repr__
(self)
Human readable representation of `BaseStorageRecordSearch`.
Human readable representation of `BaseStorageRecordSearch`.
def __repr__(self) -> str: """Human readable representation of `BaseStorageRecordSearch`.""" return "<{}>".format(self.__class__.__name__)
[ "def", "__repr__", "(", "self", ")", "->", "str", ":", "return", "\"<{}>\"", ".", "format", "(", "self", ".", "__class__", ".", "__name__", ")" ]
[ 289, 4 ]
[ 291, 53 ]
python
en
['en', 'en', 'en']
True
Memplot.at_script_creation
(self)
Called at script creation
Called at script creation
def at_script_creation(self): "Called at script creation" self.key = "memplot" self.desc = "Save server memory stats to file" self.start_delay = False self.persistent = True self.interval = INTERVAL self.db.starttime = time.time()
[ "def", "at_script_creation", "(", "self", ")", ":", "self", ".", "key", "=", "\"memplot\"", "self", ".", "desc", "=", "\"Save server memory stats to file\"", "self", ".", "start_delay", "=", "False", "self", ".", "persistent", "=", "True", "self", ".", "interv...
[ 28, 4 ]
[ 35, 39 ]
python
en
['en', 'en', 'en']
True
Memplot.at_repeat
(self)
Regularly save memory statistics.
Regularly save memory statistics.
def at_repeat(self): "Regularly save memory statistics." pid = os.getpid() rmem = float(os.popen('ps -p %d -o %s | tail -1' % (pid, "rss")).read()) / 1000.0 # resident memory vmem = float(os.popen('ps -p %d -o %s | tail -1' % (pid, "vsz")).read()) / 1000.0 # virtual memory tota...
[ "def", "at_repeat", "(", "self", ")", ":", "pid", "=", "os", ".", "getpid", "(", ")", "rmem", "=", "float", "(", "os", ".", "popen", "(", "'ps -p %d -o %s | tail -1'", "%", "(", "pid", ",", "\"rss\"", ")", ")", ".", "read", "(", ")", ")", "/", "1...
[ 37, 4 ]
[ 46, 74 ]
python
en
['en', 'sn', 'en']
True
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.scattercarpet.marker.colorbar.Tickfont` - A dict of string/value properties that will be passed to th...
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.scattercarpet.marker.colorbar.Tickfont` - A dict of string/value properties that will be passed to th...
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.scattercarpet.marker.colorbar.Tickfont` - A dict of string/value properties that w...
[ "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.scattercarpet.marker.colorbar.Tickformatstop - A list or tuple of dicts of string/value properties that will be passed t...
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.scattercarpet.marker.colorbar.Tickformatstop - A list or tuple of dicts of string/value properties that will be passed t...
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.scattercarpet.marker.colorbar.Tickformatstop - A list or tuple of dicts of string/value proper...
[ "def", "tickformatstops", "(", "self", ")", ":", "return", "self", "[", "\"tickformatstops\"", "]" ]
[ 746, 4 ]
[ 794, 38 ]
python
en
['en', 'error', 'th']
False
ColorBar.tickformatstopdefaults
(self)
When used in a template (as layout.template.data.scattercarpet. marker.colorbar.tickformatstopdefaults), sets the default property values to use for elements of scattercarpet.marker.colorbar.tickformatstops The 'tickformatstopdefaults' property is an instance of Tickformats...
When used in a template (as layout.template.data.scattercarpet. marker.colorbar.tickformatstopdefaults), sets the default property values to use for elements of scattercarpet.marker.colorbar.tickformatstops The 'tickformatstopdefaults' property is an instance of Tickformats...
def tickformatstopdefaults(self): """ When used in a template (as layout.template.data.scattercarpet. marker.colorbar.tickformatstopdefaults), sets the default property values to use for elements of scattercarpet.marker.colorbar.tickformatstops The 'tickformatstopdef...
[ "def", "tickformatstopdefaults", "(", "self", ")", ":", "return", "self", "[", "\"tickformatstopdefaults\"", "]" ]
[ 803, 4 ]
[ 822, 45 ]
python
en
['en', 'error', 'th']
False
ColorBar.ticklen
(self)
Sets the tick length (in px). The 'ticklen' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float
Sets the tick length (in px). The 'ticklen' property is a number and may be specified as: - An int or float in the interval [0, inf]
def ticklen(self): """ Sets the tick length (in px). The 'ticklen' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float """ return self["ticklen"]
[ "def", "ticklen", "(", "self", ")", ":", "return", "self", "[", "\"ticklen\"", "]" ]
[ 831, 4 ]
[ 842, 30 ]
python
en
['en', 'error', 'th']
False
ColorBar.tickmode
(self)
Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the...
Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the...
def tickmode(self): """ Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick`...
[ "def", "tickmode", "(", "self", ")", ":", "return", "self", "[", "\"tickmode\"", "]" ]
[ 851, 4 ]
[ 869, 31 ]
python
en
['en', 'error', 'th']
False
ColorBar.tickprefix
(self)
Sets a tick label prefix. The 'tickprefix' property is a string and must be specified as: - A string - A number that will be converted to a string Returns ------- str
Sets a tick label prefix. The 'tickprefix' property is a string and must be specified as: - A string - A number that will be converted to a string
def tickprefix(self): """ Sets a tick label prefix. The 'tickprefix' property is a string and must be specified as: - A string - A number that will be converted to a string Returns ------- str """ return self["tickprefix"]
[ "def", "tickprefix", "(", "self", ")", ":", "return", "self", "[", "\"tickprefix\"", "]" ]
[ 878, 4 ]
[ 890, 33 ]
python
en
['en', 'error', 'th']
False
ColorBar.ticks
(self)
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines. The 'ticks' property is an enumeration that may be specified as: - One of the following enumeration values: ...
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines. The 'ticks' property is an enumeration that may be specified as: - One of the following enumeration values: ...
def ticks(self): """ Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines. The 'ticks' property is an enumeration that may be specified as: - One of the follo...
[ "def", "ticks", "(", "self", ")", ":", "return", "self", "[", "\"ticks\"", "]" ]
[ 899, 4 ]
[ 913, 28 ]
python
en
['en', 'error', 'th']
False
ColorBar.ticksuffix
(self)
Sets a tick label suffix. The 'ticksuffix' property is a string and must be specified as: - A string - A number that will be converted to a string Returns ------- str
Sets a tick label suffix. The 'ticksuffix' property is a string and must be specified as: - A string - A number that will be converted to a string
def ticksuffix(self): """ Sets a tick label suffix. The 'ticksuffix' property is a string and must be specified as: - A string - A number that will be converted to a string Returns ------- str """ return self["ticksuffix"]
[ "def", "ticksuffix", "(", "self", ")", ":", "return", "self", "[", "\"ticksuffix\"", "]" ]
[ 922, 4 ]
[ 934, 33 ]
python
en
['en', 'error', 'th']
False
ColorBar.ticktext
(self)
Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`. The 'ticktext' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns -------...
Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`. The 'ticktext' property is an array that may be specified as a tuple, list, numpy array, or pandas Series
def ticktext(self): """ Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`. The 'ticktext' property is an array that may be specified as a tuple, list, numpy array, or pandas Series ...
[ "def", "ticktext", "(", "self", ")", ":", "return", "self", "[", "\"ticktext\"", "]" ]
[ 943, 4 ]
[ 956, 31 ]
python
en
['en', 'error', 'th']
False
ColorBar.ticktextsrc
(self)
Sets the source reference on Chart Studio Cloud for ticktext . The 'ticktextsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str
Sets the source reference on Chart Studio Cloud for ticktext . The 'ticktextsrc' property must be specified as a string or as a plotly.grid_objs.Column object
def ticktextsrc(self): """ Sets the source reference on Chart Studio Cloud for ticktext . The 'ticktextsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["ticktextsrc"]
[ "def", "ticktextsrc", "(", "self", ")", ":", "return", "self", "[", "\"ticktextsrc\"", "]" ]
[ 965, 4 ]
[ 976, 34 ]
python
en
['en', 'error', 'th']
False
ColorBar.tickvals
(self)
Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`. The 'tickvals' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- numpy.nda...
Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`. The 'tickvals' property is an array that may be specified as a tuple, list, numpy array, or pandas Series
def tickvals(self): """ Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`. The 'tickvals' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ...
[ "def", "tickvals", "(", "self", ")", ":", "return", "self", "[", "\"tickvals\"", "]" ]
[ 985, 4 ]
[ 997, 31 ]
python
en
['en', 'error', 'th']
False
ColorBar.tickvalssrc
(self)
Sets the source reference on Chart Studio Cloud for tickvals . The 'tickvalssrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str
Sets the source reference on Chart Studio Cloud for tickvals . The 'tickvalssrc' property must be specified as a string or as a plotly.grid_objs.Column object
def tickvalssrc(self): """ Sets the source reference on Chart Studio Cloud for tickvals . The 'tickvalssrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["tickvalssrc"]
[ "def", "tickvalssrc", "(", "self", ")", ":", "return", "self", "[", "\"tickvalssrc\"", "]" ]
[ 1006, 4 ]
[ 1017, 34 ]
python
en
['en', 'error', 'th']
False
ColorBar.tickwidth
(self)
Sets the tick width (in px). The 'tickwidth' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float
Sets the tick width (in px). The 'tickwidth' property is a number and may be specified as: - An int or float in the interval [0, inf]
def tickwidth(self): """ Sets the tick width (in px). The 'tickwidth' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float """ return self["tickwidth"]
[ "def", "tickwidth", "(", "self", ")", ":", "return", "self", "[", "\"tickwidth\"", "]" ]
[ 1026, 4 ]
[ 1037, 32 ]
python
en
['en', 'error', 'th']
False
ColorBar.title
(self)
The 'title' property is an instance of Title that may be specified as: - An instance of :class:`plotly.graph_objs.scattercarpet.marker.colorbar.Title` - A dict of string/value properties that will be passed to the Title constructor Supported dict propert...
The 'title' property is an instance of Title that may be specified as: - An instance of :class:`plotly.graph_objs.scattercarpet.marker.colorbar.Title` - A dict of string/value properties that will be passed to the Title constructor Supported dict propert...
def title(self): """ The 'title' property is an instance of Title that may be specified as: - An instance of :class:`plotly.graph_objs.scattercarpet.marker.colorbar.Title` - A dict of string/value properties that will be passed to the Title constructor ...
[ "def", "title", "(", "self", ")", ":", "return", "self", "[", "\"title\"", "]" ]
[ 1046, 4 ]
[ 1076, 28 ]
python
en
['en', 'error', 'th']
False
ColorBar.titlefont
(self)
Deprecated: Please use scattercarpet.marker.colorbar.title.font instead. Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. The 'font' property is an instance of Font that may be specified as: ...
Deprecated: Please use scattercarpet.marker.colorbar.title.font instead. Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. The 'font' property is an instance of Font that may be specified as: ...
def titlefont(self): """ Deprecated: Please use scattercarpet.marker.colorbar.title.font instead. Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. The 'font' property is an instance of Font ...
[ "def", "titlefont", "(", "self", ")", ":", "return", "self", "[", "\"titlefont\"", "]" ]
[ 1085, 4 ]
[ 1125, 32 ]
python
en
['en', 'error', 'th']
False
ColorBar.titleside
(self)
Deprecated: Please use scattercarpet.marker.colorbar.title.side instead. Determines the location of color bar's title with respect to the color bar. Note that the title's location used to be set by the now deprecated `titleside` attribute. The 'side' property is an enumerat...
Deprecated: Please use scattercarpet.marker.colorbar.title.side instead. Determines the location of color bar's title with respect to the color bar. Note that the title's location used to be set by the now deprecated `titleside` attribute. The 'side' property is an enumerat...
def titleside(self): """ Deprecated: Please use scattercarpet.marker.colorbar.title.side instead. Determines the location of color bar's title with respect to the color bar. Note that the title's location used to be set by the now deprecated `titleside` attribute. Th...
[ "def", "titleside", "(", "self", ")", ":", "return", "self", "[", "\"titleside\"", "]" ]
[ 1134, 4 ]
[ 1149, 32 ]
python
en
['en', 'error', 'th']
False
ColorBar.x
(self)
Sets the x position of the color bar (in plot fraction). The 'x' property is a number and may be specified as: - An int or float in the interval [-2, 3] Returns ------- int|float
Sets the x position of the color bar (in plot fraction). The 'x' property is a number and may be specified as: - An int or float in the interval [-2, 3]
def x(self): """ Sets the x position of the color bar (in plot fraction). The 'x' property is a number and may be specified as: - An int or float in the interval [-2, 3] Returns ------- int|float """ return self["x"]
[ "def", "x", "(", "self", ")", ":", "return", "self", "[", "\"x\"", "]" ]
[ 1158, 4 ]
[ 1169, 24 ]
python
en
['en', 'error', 'th']
False
ColorBar.xanchor
(self)
Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar. The 'xanchor' property is an enumeration that may be specified as: - One of the following enumeration values: ['left',...
Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar. The 'xanchor' property is an enumeration that may be specified as: - One of the following enumeration values: ['left',...
def xanchor(self): """ Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar. The 'xanchor' property is an enumeration that may be specified as: - One of the following enumeration va...
[ "def", "xanchor", "(", "self", ")", ":", "return", "self", "[", "\"xanchor\"", "]" ]
[ 1178, 4 ]
[ 1192, 30 ]
python
en
['en', 'error', 'th']
False
ColorBar.xpad
(self)
Sets the amount of padding (in px) along the x direction. The 'xpad' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float
Sets the amount of padding (in px) along the x direction. The 'xpad' property is a number and may be specified as: - An int or float in the interval [0, inf]
def xpad(self): """ Sets the amount of padding (in px) along the x direction. The 'xpad' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float """ return self["xpad"]
[ "def", "xpad", "(", "self", ")", ":", "return", "self", "[", "\"xpad\"", "]" ]
[ 1201, 4 ]
[ 1212, 27 ]
python
en
['en', 'error', 'th']
False
ColorBar.y
(self)
Sets the y position of the color bar (in plot fraction). The 'y' property is a number and may be specified as: - An int or float in the interval [-2, 3] Returns ------- int|float
Sets the y position of the color bar (in plot fraction). The 'y' property is a number and may be specified as: - An int or float in the interval [-2, 3]
def y(self): """ Sets the y position of the color bar (in plot fraction). The 'y' property is a number and may be specified as: - An int or float in the interval [-2, 3] Returns ------- int|float """ return self["y"]
[ "def", "y", "(", "self", ")", ":", "return", "self", "[", "\"y\"", "]" ]
[ 1221, 4 ]
[ 1232, 24 ]
python
en
['en', 'error', 'th']
False
ColorBar.yanchor
(self)
Sets this color bar's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the color bar. The 'yanchor' property is an enumeration that may be specified as: - One of the following enumeration values: ['top', 'mi...
Sets this color bar's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the color bar. The 'yanchor' property is an enumeration that may be specified as: - One of the following enumeration values: ['top', 'mi...
def yanchor(self): """ Sets this color bar's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the color bar. The 'yanchor' property is an enumeration that may be specified as: - One of the following enumeration value...
[ "def", "yanchor", "(", "self", ")", ":", "return", "self", "[", "\"yanchor\"", "]" ]
[ 1241, 4 ]
[ 1255, 30 ]
python
en
['en', 'error', 'th']
False
ColorBar.ypad
(self)
Sets the amount of padding (in px) along the y direction. The 'ypad' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float
Sets the amount of padding (in px) along the y direction. The 'ypad' property is a number and may be specified as: - An int or float in the interval [0, inf]
def ypad(self): """ Sets the amount of padding (in px) along the y direction. The 'ypad' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float """ return self["ypad"]
[ "def", "ypad", "(", "self", ")", ":", "return", "self", "[", "\"ypad\"", "]" ]
[ 1264, 4 ]
[ 1275, 27 ]
python
en
['en', 'error', 'th']
False
ColorBar.__init__
( self, arg=None, bgcolor=None, bordercolor=None, borderwidth=None, dtick=None, exponentformat=None, len=None, lenmode=None, nticks=None, outlinecolor=None, outlinewidth=None, separatethousands=None, showexpo...
Construct a new ColorBar object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.scattercarpet. marker.ColorBar` bgcolor Sets the color of padded are...
Construct a new ColorBar object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.scattercarpet. marker.ColorBar` bgcolor Sets the color of padded are...
def __init__( self, arg=None, bgcolor=None, bordercolor=None, borderwidth=None, dtick=None, exponentformat=None, len=None, lenmode=None, nticks=None, outlinecolor=None, outlinewidth=None, separatethousands=None, ...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "bgcolor", "=", "None", ",", "bordercolor", "=", "None", ",", "borderwidth", "=", "None", ",", "dtick", "=", "None", ",", "exponentformat", "=", "None", ",", "len", "=", "None", ",", "lenm...
[ 1484, 4 ]
[ 1945, 34 ]
python
en
['en', 'error', 'th']
False
Marker.blend
(self)
Determines if colors are blended together for a translucency effect in case `opacity` is specified as a value less then `1`. Setting `blend` to `true` reduces zoom/pan speed if used with large numbers of points. The 'blend' property must be specified as a bool (eith...
Determines if colors are blended together for a translucency effect in case `opacity` is specified as a value less then `1`. Setting `blend` to `true` reduces zoom/pan speed if used with large numbers of points. The 'blend' property must be specified as a bool (eith...
def blend(self): """ Determines if colors are blended together for a translucency effect in case `opacity` is specified as a value less then `1`. Setting `blend` to `true` reduces zoom/pan speed if used with large numbers of points. The 'blend' property must be speci...
[ "def", "blend", "(", "self", ")", ":", "return", "self", "[", "\"blend\"", "]" ]
[ 15, 4 ]
[ 29, 28 ]
python
en
['en', 'error', 'th']
False
Marker.border
(self)
The 'border' property is an instance of Border that may be specified as: - An instance of :class:`plotly.graph_objs.pointcloud.marker.Border` - A dict of string/value properties that will be passed to the Border constructor Supported dict properties: ...
The 'border' property is an instance of Border that may be specified as: - An instance of :class:`plotly.graph_objs.pointcloud.marker.Border` - A dict of string/value properties that will be passed to the Border constructor Supported dict properties: ...
def border(self): """ The 'border' property is an instance of Border that may be specified as: - An instance of :class:`plotly.graph_objs.pointcloud.marker.Border` - A dict of string/value properties that will be passed to the Border constructor S...
[ "def", "border", "(", "self", ")", ":", "return", "self", "[", "\"border\"", "]" ]
[ 38, 4 ]
[ 61, 29 ]
python
en
['en', 'error', 'th']
False
Marker.color
(self)
Sets the marker fill color. It accepts a specific color.If the color is not fully opaque and there are hundreds of thousandsof points, it may cause slower zooming and panning. The 'color' property is a color and may be specified as: - A hex string (e.g. '#ff0000') ...
Sets the marker fill color. It accepts a specific color.If the color is not fully opaque and there are hundreds of thousandsof points, it may cause slower zooming and panning. The 'color' property is a color and may be specified as: - A hex string (e.g. '#ff0000') ...
def color(self): """ Sets the marker fill color. It accepts a specific color.If the color is not fully opaque and there are hundreds of thousandsof points, it may cause slower zooming and panning. The 'color' property is a color and may be specified as: - A hex str...
[ "def", "color", "(", "self", ")", ":", "return", "self", "[", "\"color\"", "]" ]
[ 70, 4 ]
[ 122, 28 ]
python
en
['en', 'error', 'th']
False