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
Line.colorscale
(self)
Sets the colorscale. Has an effect only if in `marker.line.color`is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, or named color string. At minimum, a mapping for the lowest (0) and highest ...
Sets the colorscale. Has an effect only if in `marker.line.color`is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, or named color string. At minimum, a mapping for the lowest (0) and highest ...
def colorscale(self): """ Sets the colorscale. Has an effect only if in `marker.line.color`is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, or named color string. At minimum, a mappin...
[ "def", "colorscale", "(", "self", ")", ":", "return", "self", "[", "\"colorscale\"", "]" ]
[ 242, 4 ]
[ 287, 33 ]
python
en
['en', 'error', 'th']
False
Line.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\"", "]" ]
[ 296, 4 ]
[ 307, 31 ]
python
en
['en', 'error', 'th']
False
Line.reversescale
(self)
Reverses the color mapping if true. Has an effect only if in `marker.line.color`is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. The 'reversescale' prop...
Reverses the color mapping if true. Has an effect only if in `marker.line.color`is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. The 'reversescale' prop...
def reversescale(self): """ Reverses the color mapping if true. Has an effect only if in `marker.line.color`is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. ...
[ "def", "reversescale", "(", "self", ")", ":", "return", "self", "[", "\"reversescale\"", "]" ]
[ 316, 4 ]
[ 331, 35 ]
python
en
['en', 'error', 'th']
False
Line.width
(self)
Sets the width (in px) of the lines bounding the marker points. The 'width' property is a number and may be specified as: - An int or float in the interval [0, inf] - A tuple, list, or one-dimensional numpy array of the above Returns ------- int|float|n...
Sets the width (in px) of the lines bounding the marker points. The 'width' property is a number and may be specified as: - An int or float in the interval [0, inf] - A tuple, list, or one-dimensional numpy array of the above
def width(self): """ Sets the width (in px) of the lines bounding the marker points. The 'width' property is a number and may be specified as: - An int or float in the interval [0, inf] - A tuple, list, or one-dimensional numpy array of the above Returns ...
[ "def", "width", "(", "self", ")", ":", "return", "self", "[", "\"width\"", "]" ]
[ 340, 4 ]
[ 352, 28 ]
python
en
['en', 'error', 'th']
False
Line.widthsrc
(self)
Sets the source reference on Chart Studio Cloud for width . The 'widthsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str
Sets the source reference on Chart Studio Cloud for width . The 'widthsrc' property must be specified as a string or as a plotly.grid_objs.Column object
def widthsrc(self): """ Sets the source reference on Chart Studio Cloud for width . The 'widthsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["widthsrc"]
[ "def", "widthsrc", "(", "self", ")", ":", "return", "self", "[", "\"widthsrc\"", "]" ]
[ 361, 4 ]
[ 372, 31 ]
python
en
['en', 'error', 'th']
False
Line.__init__
( self, arg=None, autocolorscale=None, cauto=None, cmax=None, cmid=None, cmin=None, color=None, coloraxis=None, colorscale=None, colorsrc=None, reversescale=None, width=None, widthsrc=None, **kwargs ...
Construct a new Line object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.barpolar.marker.Line` autocolorscale Determines whether the colorscale i...
Construct a new Line object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.barpolar.marker.Line` autocolorscale Determines whether the colorscale i...
def __init__( self, arg=None, autocolorscale=None, cauto=None, cmax=None, cmid=None, cmin=None, color=None, coloraxis=None, colorscale=None, colorsrc=None, reversescale=None, width=None, widthsrc=None, ...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "autocolorscale", "=", "None", ",", "cauto", "=", "None", ",", "cmax", "=", "None", ",", "cmid", "=", "None", ",", "cmin", "=", "None", ",", "color", "=", "None", ",", "coloraxis", "=", ...
[ 464, 4 ]
[ 658, 34 ]
python
en
['en', 'error', 'th']
False
ScriptDB.__get_obj
(self)
Property wrapper that homogenizes access to either the db_account or db_obj field, using the same object property name.
Property wrapper that homogenizes access to either the db_account or db_obj field, using the same object property name.
def __get_obj(self): """ Property wrapper that homogenizes access to either the db_account or db_obj field, using the same object property name. """ obj = _GA(self, "db_account") if not obj: obj = _GA(self, "db_obj") return obj
[ "def", "__get_obj", "(", "self", ")", ":", "obj", "=", "_GA", "(", "self", ",", "\"db_account\"", ")", "if", "not", "obj", ":", "obj", "=", "_GA", "(", "self", ",", "\"db_obj\"", ")", "return", "obj" ]
[ 122, 4 ]
[ 132, 18 ]
python
en
['en', 'error', 'th']
False
ScriptDB.__set_obj
(self, value)
Set account or obj to their right database field. If a dbref is given, assume ObjectDB.
Set account or obj to their right database field. If a dbref is given, assume ObjectDB.
def __set_obj(self, value): """ Set account or obj to their right database field. If a dbref is given, assume ObjectDB. """ try: value = _GA(value, "dbobj") except AttributeError: # deprecated ... pass if isinstance(value, (bas...
[ "def", "__set_obj", "(", "self", ",", "value", ")", ":", "try", ":", "value", "=", "_GA", "(", "value", ",", "\"dbobj\"", ")", "except", "AttributeError", ":", "# deprecated ...", "pass", "if", "isinstance", "(", "value", ",", "(", "basestring", ",", "in...
[ 134, 4 ]
[ 163, 48 ]
python
en
['en', 'error', 'th']
False
SpacyTokenizer.__init__
(self, **kwargs)
Args: annotators: set that can include pos, lemma, and ner. model: spaCy model to use (either path, or keyword like 'en').
Args: annotators: set that can include pos, lemma, and ner. model: spaCy model to use (either path, or keyword like 'en').
def __init__(self, **kwargs): """ Args: annotators: set that can include pos, lemma, and ner. model: spaCy model to use (either path, or keyword like 'en'). """ model = kwargs.get('model', 'en') self.annotators = copy.deepcopy(kwargs.get('annotators', set(...
[ "def", "__init__", "(", "self", ",", "*", "*", "kwargs", ")", ":", "model", "=", "kwargs", ".", "get", "(", "'model'", ",", "'en'", ")", "self", ".", "annotators", "=", "copy", ".", "deepcopy", "(", "kwargs", ".", "get", "(", "'annotators'", ",", "...
[ 18, 4 ]
[ 31, 50 ]
python
en
['en', 'error', 'th']
False
Line.width
(self)
Sets the width (in px) of line bounding the box(es). Note that this style setting can also be set per direction via `increasing.line.width` and `decreasing.line.width`. The 'width' property is a number and may be specified as: - An int or float in the interval [0, inf] ...
Sets the width (in px) of line bounding the box(es). Note that this style setting can also be set per direction via `increasing.line.width` and `decreasing.line.width`. The 'width' property is a number and may be specified as: - An int or float in the interval [0, inf]
def width(self): """ Sets the width (in px) of line bounding the box(es). Note that this style setting can also be set per direction via `increasing.line.width` and `decreasing.line.width`. The 'width' property is a number and may be specified as: - An int or float...
[ "def", "width", "(", "self", ")", ":", "return", "self", "[", "\"width\"", "]" ]
[ 15, 4 ]
[ 28, 28 ]
python
en
['en', 'error', 'th']
False
Line.__init__
(self, arg=None, width=None, **kwargs)
Construct a new Line object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.candlestick.Line` width Sets the width (in px) of line bounding the box(...
Construct a new Line object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.candlestick.Line` width Sets the width (in px) of line bounding the box(...
def __init__(self, arg=None, width=None, **kwargs): """ Construct a new Line object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.candlestick.Line` wid...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "width", "=", "None", ",", "*", "*", "kwargs", ")", ":", "super", "(", "Line", ",", "self", ")", ".", "__init__", "(", "\"line\"", ")", "if", "\"_parent\"", "in", "kwargs", ":", "self", ...
[ 46, 4 ]
[ 106, 34 ]
python
en
['en', 'error', 'th']
False
_get_config_directory
()
Find the predefined detector config directory.
Find the predefined detector config directory.
def _get_config_directory(): """Find the predefined detector config directory.""" try: # Assume we are running in the source mmdetection repo repo_dpath = dirname(dirname(__file__)) except NameError: # For IPython development when this __file__ is not defined import mmdet ...
[ "def", "_get_config_directory", "(", ")", ":", "try", ":", "# Assume we are running in the source mmdetection repo", "repo_dpath", "=", "dirname", "(", "dirname", "(", "__file__", ")", ")", "except", "NameError", ":", "# For IPython development when this __file__ is not defin...
[ 8, 0 ]
[ 20, 23 ]
python
en
['en', 'en', 'en']
True
test_config_build_detector
()
Test that all detection models defined in the configs can be initialized.
Test that all detection models defined in the configs can be initialized.
def test_config_build_detector(): """Test that all detection models defined in the configs can be initialized.""" from mmcv import Config from mmdet.models import build_detector config_dpath = _get_config_directory() print(f'Found config_dpath = {config_dpath}') import glob config_fpat...
[ "def", "test_config_build_detector", "(", ")", ":", "from", "mmcv", "import", "Config", "from", "mmdet", ".", "models", "import", "build_detector", "config_dpath", "=", "_get_config_directory", "(", ")", "print", "(", "f'Found config_dpath = {config_dpath}'", ")", "im...
[ 23, 0 ]
[ 68, 59 ]
python
en
['en', 'en', 'en']
True
test_config_data_pipeline
()
Test whether the data pipeline is valid and can process corner cases. CommandLine: xdoctest -m tests/test_config.py test_config_build_data_pipeline
Test whether the data pipeline is valid and can process corner cases.
def test_config_data_pipeline(): """Test whether the data pipeline is valid and can process corner cases. CommandLine: xdoctest -m tests/test_config.py test_config_build_data_pipeline """ from mmcv import Config from mmdet.datasets.pipelines import Compose import numpy as np config...
[ "def", "test_config_data_pipeline", "(", ")", ":", "from", "mmcv", "import", "Config", "from", "mmdet", ".", "datasets", ".", "pipelines", "import", "Compose", "import", "numpy", "as", "np", "config_dpath", "=", "_get_config_directory", "(", ")", "print", "(", ...
[ 77, 0 ]
[ 210, 41 ]
python
en
['en', 'en', 'en']
True
Tickformatstop.dtickrange
(self)
range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null" The 'dtickrange' property is an info array that may be specified as: * a list or tuple of 2 elements where: (0) The...
range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null" The 'dtickrange' property is an info array that may be specified as: * a list or tuple of 2 elements where: (0) The...
def dtickrange(self): """ range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null" The 'dtickrange' property is an info array that may be specified as: * a list or tuple...
[ "def", "dtickrange", "(", "self", ")", ":", "return", "self", "[", "\"dtickrange\"", "]" ]
[ 15, 4 ]
[ 31, 33 ]
python
en
['en', 'error', 'th']
False
Tickformatstop.enabled
(self)
Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. The 'enabled' property must be specified as a bool (either True, or False) Returns ------- bool
Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. The 'enabled' property must be specified as a bool (either True, or False)
def enabled(self): """ Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. The 'enabled' property must be specified as a bool (either True, or False) Returns ------- bool """ ret...
[ "def", "enabled", "(", "self", ")", ":", "return", "self", "[", "\"enabled\"", "]" ]
[ 40, 4 ]
[ 52, 30 ]
python
en
['en', 'error', 'th']
False
Tickformatstop.name
(self)
When used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications ...
When used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications ...
def name(self): """ When used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` al...
[ "def", "name", "(", "self", ")", ":", "return", "self", "[", "\"name\"", "]" ]
[ 61, 4 ]
[ 79, 27 ]
python
en
['en', 'error', 'th']
False
Tickformatstop.templateitemname
(self)
Used to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (includ...
Used to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (includ...
def templateitemname(self): """ Used to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, ...
[ "def", "templateitemname", "(", "self", ")", ":", "return", "self", "[", "\"templateitemname\"", "]" ]
[ 88, 4 ]
[ 107, 39 ]
python
en
['en', 'error', 'th']
False
Tickformatstop.value
(self)
string - dtickformat for described zoom level, the same as "tickformat" The 'value' property is a string and must be specified as: - A string - A number that will be converted to a string Returns ------- str
string - dtickformat for described zoom level, the same as "tickformat" The 'value' property is a string and must be specified as: - A string - A number that will be converted to a string
def value(self): """ string - dtickformat for described zoom level, the same as "tickformat" The 'value' property is a string and must be specified as: - A string - A number that will be converted to a string Returns ------- str "...
[ "def", "value", "(", "self", ")", ":", "return", "self", "[", "\"value\"", "]" ]
[ 116, 4 ]
[ 129, 28 ]
python
en
['en', 'error', 'th']
False
Tickformatstop.__init__
( self, arg=None, dtickrange=None, enabled=None, name=None, templateitemname=None, value=None, **kwargs )
Construct a new Tickformatstop object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.mesh3d.colorba r.Tickformatstop` dtickrange range [*min*, *max...
Construct a new Tickformatstop object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.mesh3d.colorba r.Tickformatstop` dtickrange range [*min*, *max...
def __init__( self, arg=None, dtickrange=None, enabled=None, name=None, templateitemname=None, value=None, **kwargs ): """ Construct a new Tickformatstop object Parameters ---------- arg dict...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "dtickrange", "=", "None", ",", "enabled", "=", "None", ",", "name", "=", "None", ",", "templateitemname", "=", "None", ",", "value", "=", "None", ",", "*", "*", "kwargs", ")", ":", "sup...
[ 172, 4 ]
[ 282, 34 ]
python
en
['en', 'error', 'th']
False
SamplingResult.bboxes
(self)
torch.Tensor: concatenated positive and negative boxes
torch.Tensor: concatenated positive and negative boxes
def bboxes(self): """torch.Tensor: concatenated positive and negative boxes""" return torch.cat([self.pos_bboxes, self.neg_bboxes])
[ "def", "bboxes", "(", "self", ")", ":", "return", "torch", ".", "cat", "(", "[", "self", ".", "pos_bboxes", ",", "self", ".", "neg_bboxes", "]", ")" ]
[ 51, 4 ]
[ 53, 60 ]
python
en
['en', 'en', 'en']
True
SamplingResult.to
(self, device)
Change the device of the data inplace. Example: >>> self = SamplingResult.random() >>> print(f'self = {self.to(None)}') >>> # xdoctest: +REQUIRES(--gpu) >>> print(f'self = {self.to(0)}')
Change the device of the data inplace.
def to(self, device): """Change the device of the data inplace. Example: >>> self = SamplingResult.random() >>> print(f'self = {self.to(None)}') >>> # xdoctest: +REQUIRES(--gpu) >>> print(f'self = {self.to(0)}') """ _dict = self.__dict__ ...
[ "def", "to", "(", "self", ",", "device", ")", ":", "_dict", "=", "self", ".", "__dict__", "for", "key", ",", "value", "in", "_dict", ".", "items", "(", ")", ":", "if", "isinstance", "(", "value", ",", "torch", ".", "Tensor", ")", ":", "_dict", "[...
[ 55, 4 ]
[ 68, 19 ]
python
en
['en', 'en', 'en']
True
SamplingResult.info
(self)
Returns a dictionary of info about the object.
Returns a dictionary of info about the object.
def info(self): """Returns a dictionary of info about the object.""" return { 'pos_inds': self.pos_inds, 'neg_inds': self.neg_inds, 'pos_bboxes': self.pos_bboxes, 'neg_bboxes': self.neg_bboxes, 'pos_is_gt': self.pos_is_gt, 'num_gts'...
[ "def", "info", "(", "self", ")", ":", "return", "{", "'pos_inds'", ":", "self", ".", "pos_inds", ",", "'neg_inds'", ":", "self", ".", "neg_inds", ",", "'pos_bboxes'", ":", "self", ".", "pos_bboxes", ",", "'neg_bboxes'", ":", "self", ".", "neg_bboxes", ",...
[ 79, 4 ]
[ 89, 9 ]
python
en
['en', 'en', 'en']
True
SamplingResult.random
(cls, rng=None, **kwargs)
Args: rng (None | int | numpy.random.RandomState): seed or state. kwargs (keyword arguments): - num_preds: number of predicted boxes - num_gts: number of true boxes - p_ignore (float): probability of a predicted box assinged to ...
Args: rng (None | int | numpy.random.RandomState): seed or state. kwargs (keyword arguments): - num_preds: number of predicted boxes - num_gts: number of true boxes - p_ignore (float): probability of a predicted box assinged to ...
def random(cls, rng=None, **kwargs): """ Args: rng (None | int | numpy.random.RandomState): seed or state. kwargs (keyword arguments): - num_preds: number of predicted boxes - num_gts: number of true boxes - p_ignore (float): probab...
[ "def", "random", "(", "cls", ",", "rng", "=", "None", ",", "*", "*", "kwargs", ")", ":", "from", "mmdet", ".", "core", ".", "bbox", ".", "samplers", ".", "random_sampler", "import", "RandomSampler", "from", "mmdet", ".", "core", ".", "bbox", ".", "as...
[ 92, 4 ]
[ 151, 19 ]
python
en
['en', 'error', 'th']
False
Tickformatstop.dtickrange
(self)
range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null" The 'dtickrange' property is an info array that may be specified as: * a list or tuple of 2 elements where: (0) The...
range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null" The 'dtickrange' property is an info array that may be specified as: * a list or tuple of 2 elements where: (0) The...
def dtickrange(self): """ range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null" The 'dtickrange' property is an info array that may be specified as: * a list or tuple...
[ "def", "dtickrange", "(", "self", ")", ":", "return", "self", "[", "\"dtickrange\"", "]" ]
[ 15, 4 ]
[ 31, 33 ]
python
en
['en', 'error', 'th']
False
Tickformatstop.enabled
(self)
Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. The 'enabled' property must be specified as a bool (either True, or False) Returns ------- bool
Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. The 'enabled' property must be specified as a bool (either True, or False)
def enabled(self): """ Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. The 'enabled' property must be specified as a bool (either True, or False) Returns ------- bool """ ret...
[ "def", "enabled", "(", "self", ")", ":", "return", "self", "[", "\"enabled\"", "]" ]
[ 40, 4 ]
[ 52, 30 ]
python
en
['en', 'error', 'th']
False
Tickformatstop.name
(self)
When used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications ...
When used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications ...
def name(self): """ When used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` al...
[ "def", "name", "(", "self", ")", ":", "return", "self", "[", "\"name\"", "]" ]
[ 61, 4 ]
[ 79, 27 ]
python
en
['en', 'error', 'th']
False
Tickformatstop.templateitemname
(self)
Used to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (includ...
Used to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (includ...
def templateitemname(self): """ Used to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, ...
[ "def", "templateitemname", "(", "self", ")", ":", "return", "self", "[", "\"templateitemname\"", "]" ]
[ 88, 4 ]
[ 107, 39 ]
python
en
['en', 'error', 'th']
False
Tickformatstop.value
(self)
string - dtickformat for described zoom level, the same as "tickformat" The 'value' property is a string and must be specified as: - A string - A number that will be converted to a string Returns ------- str
string - dtickformat for described zoom level, the same as "tickformat" The 'value' property is a string and must be specified as: - A string - A number that will be converted to a string
def value(self): """ string - dtickformat for described zoom level, the same as "tickformat" The 'value' property is a string and must be specified as: - A string - A number that will be converted to a string Returns ------- str "...
[ "def", "value", "(", "self", ")", ":", "return", "self", "[", "\"value\"", "]" ]
[ 116, 4 ]
[ 129, 28 ]
python
en
['en', 'error', 'th']
False
Tickformatstop.__init__
( self, arg=None, dtickrange=None, enabled=None, name=None, templateitemname=None, value=None, **kwargs )
Construct a new Tickformatstop object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.histogram.mark er.colorbar.Tickformatstop` dtickrange range [*...
Construct a new Tickformatstop object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.histogram.mark er.colorbar.Tickformatstop` dtickrange range [*...
def __init__( self, arg=None, dtickrange=None, enabled=None, name=None, templateitemname=None, value=None, **kwargs ): """ Construct a new Tickformatstop object Parameters ---------- arg dict...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "dtickrange", "=", "None", ",", "enabled", "=", "None", ",", "name", "=", "None", ",", "templateitemname", "=", "None", ",", "value", "=", "None", ",", "*", "*", "kwargs", ")", ":", "sup...
[ 172, 4 ]
[ 282, 34 ]
python
en
['en', 'error', 'th']
False
BasicMessageQueue.__init__
(self)
Initialize a `BasicMessageQueue` instance.
Initialize a `BasicMessageQueue` instance.
def __init__(self): """Initialize a `BasicMessageQueue` instance.""" self.queue = self.make_queue() self.logger = logging.getLogger(__name__) self.stop_event = asyncio.Event()
[ "def", "__init__", "(", "self", ")", ":", "self", ".", "queue", "=", "self", ".", "make_queue", "(", ")", "self", ".", "logger", "=", "logging", ".", "getLogger", "(", "__name__", ")", "self", ".", "stop_event", "=", "asyncio", ".", "Event", "(", ")"...
[ 11, 4 ]
[ 15, 41 ]
python
en
['en', 'en', 'it']
True
BasicMessageQueue.make_queue
(self)
Create the queue instance.
Create the queue instance.
def make_queue(self): """Create the queue instance.""" return asyncio.Queue()
[ "def", "make_queue", "(", "self", ")", ":", "return", "asyncio", ".", "Queue", "(", ")" ]
[ 17, 4 ]
[ 19, 30 ]
python
en
['en', 'la', 'en']
True
BasicMessageQueue.enqueue
(self, message)
Enqueue a message. Args: message: The message to add to the end of the queue Raises: asyncio.CancelledError if the queue has been stopped
Enqueue a message.
async def enqueue(self, message): """ Enqueue a message. Args: message: The message to add to the end of the queue Raises: asyncio.CancelledError if the queue has been stopped """ if self.stop_event.is_set(): raise asyncio.CancelledE...
[ "async", "def", "enqueue", "(", "self", ",", "message", ")", ":", "if", "self", ".", "stop_event", ".", "is_set", "(", ")", ":", "raise", "asyncio", ".", "CancelledError", "self", ".", "logger", ".", "debug", "(", "f\"Enqueuing message: {message}\"", ")", ...
[ 21, 4 ]
[ 36, 37 ]
python
en
['en', 'error', 'th']
False
BasicMessageQueue.dequeue
(self, *, timeout: int = None)
Dequeue a message. Returns: The dequeued message, or None if a timeout occurs Raises: asyncio.CancelledError if the queue has been stopped asyncio.TimeoutError if the timeout is reached
Dequeue a message.
async def dequeue(self, *, timeout: int = None): """ Dequeue a message. Returns: The dequeued message, or None if a timeout occurs Raises: asyncio.CancelledError if the queue has been stopped asyncio.TimeoutError if the timeout is reached ""...
[ "async", "def", "dequeue", "(", "self", ",", "*", ",", "timeout", ":", "int", "=", "None", ")", ":", "stop_event", ",", "queue", "=", "self", ".", "stop_event", ",", "self", ".", "queue", "if", "not", "stop_event", ".", "is_set", "(", ")", ":", "lo...
[ 38, 4 ]
[ 76, 19 ]
python
en
['en', 'error', 'th']
False
BasicMessageQueue.join
(self)
Wait for the queue to empty.
Wait for the queue to empty.
async def join(self): """Wait for the queue to empty.""" await self.queue.join()
[ "async", "def", "join", "(", "self", ")", ":", "await", "self", ".", "queue", ".", "join", "(", ")" ]
[ 78, 4 ]
[ 80, 31 ]
python
en
['en', 'en', 'en']
True
BasicMessageQueue.task_done
(self)
Indicate that the current task is complete.
Indicate that the current task is complete.
def task_done(self): """Indicate that the current task is complete.""" self.queue.task_done()
[ "def", "task_done", "(", "self", ")", ":", "self", ".", "queue", ".", "task_done", "(", ")" ]
[ 82, 4 ]
[ 84, 30 ]
python
en
['en', 'en', 'en']
True
BasicMessageQueue.stop
(self)
Cancel active iteration of the queue.
Cancel active iteration of the queue.
def stop(self): """Cancel active iteration of the queue.""" self.stop_event.set()
[ "def", "stop", "(", "self", ")", ":", "self", ".", "stop_event", ".", "set", "(", ")" ]
[ 86, 4 ]
[ 88, 29 ]
python
en
['en', 'en', 'en']
True
BasicMessageQueue.reset
(self)
Empty the queue and reset the stop event.
Empty the queue and reset the stop event.
def reset(self): """Empty the queue and reset the stop event.""" self.stop() self.queue = self.make_queue() self.stop_event = asyncio.Event()
[ "def", "reset", "(", "self", ")", ":", "self", ".", "stop", "(", ")", "self", ".", "queue", "=", "self", ".", "make_queue", "(", ")", "self", ".", "stop_event", "=", "asyncio", ".", "Event", "(", ")" ]
[ 90, 4 ]
[ 94, 41 ]
python
en
['en', 'en', 'en']
True
users_example
()
This example shows how to use DynamoDB to keep a table of users. This also illustrates the flexibility of NoSQL in that we can simply add fields at any time.
This example shows how to use DynamoDB to keep a table of users. This also illustrates the flexibility of NoSQL in that we can simply add fields at any time.
def users_example(): """ This example shows how to use DynamoDB to keep a table of users. This also illustrates the flexibility of NoSQL in that we can simply add fields at any time. """ dynamodb_access = DynamoDBAccess("users_example", profile_name="testawsimple") # we're only using email a...
[ "def", "users_example", "(", ")", ":", "dynamodb_access", "=", "DynamoDBAccess", "(", "\"users_example\"", ",", "profile_name", "=", "\"testawsimple\"", ")", "# we're only using email as a partition key in our primary key (no sort key). emails are unique to each user.", "dynamodb_acc...
[ 7, 0 ]
[ 46, 38 ]
python
en
['en', 'error', 'th']
False
Caps.x
(self)
The 'x' property is an instance of X that may be specified as: - An instance of :class:`plotly.graph_objs.isosurface.caps.X` - A dict of string/value properties that will be passed to the X constructor Supported dict properties: ...
The 'x' property is an instance of X that may be specified as: - An instance of :class:`plotly.graph_objs.isosurface.caps.X` - A dict of string/value properties that will be passed to the X constructor Supported dict properties: ...
def x(self): """ The 'x' property is an instance of X that may be specified as: - An instance of :class:`plotly.graph_objs.isosurface.caps.X` - A dict of string/value properties that will be passed to the X constructor Supported dict properties: ...
[ "def", "x", "(", "self", ")", ":", "return", "self", "[", "\"x\"", "]" ]
[ 15, 4 ]
[ 43, 24 ]
python
en
['en', 'error', 'th']
False
Caps.y
(self)
The 'y' property is an instance of Y that may be specified as: - An instance of :class:`plotly.graph_objs.isosurface.caps.Y` - A dict of string/value properties that will be passed to the Y constructor Supported dict properties: ...
The 'y' property is an instance of Y that may be specified as: - An instance of :class:`plotly.graph_objs.isosurface.caps.Y` - A dict of string/value properties that will be passed to the Y constructor Supported dict properties: ...
def y(self): """ The 'y' property is an instance of Y that may be specified as: - An instance of :class:`plotly.graph_objs.isosurface.caps.Y` - A dict of string/value properties that will be passed to the Y constructor Supported dict properties: ...
[ "def", "y", "(", "self", ")", ":", "return", "self", "[", "\"y\"", "]" ]
[ 52, 4 ]
[ 80, 24 ]
python
en
['en', 'error', 'th']
False
Caps.z
(self)
The 'z' property is an instance of Z that may be specified as: - An instance of :class:`plotly.graph_objs.isosurface.caps.Z` - A dict of string/value properties that will be passed to the Z constructor Supported dict properties: ...
The 'z' property is an instance of Z that may be specified as: - An instance of :class:`plotly.graph_objs.isosurface.caps.Z` - A dict of string/value properties that will be passed to the Z constructor Supported dict properties: ...
def z(self): """ The 'z' property is an instance of Z that may be specified as: - An instance of :class:`plotly.graph_objs.isosurface.caps.Z` - A dict of string/value properties that will be passed to the Z constructor Supported dict properties: ...
[ "def", "z", "(", "self", ")", ":", "return", "self", "[", "\"z\"", "]" ]
[ 89, 4 ]
[ 117, 24 ]
python
en
['en', 'error', 'th']
False
Caps.__init__
(self, arg=None, x=None, y=None, z=None, **kwargs)
Construct a new Caps object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.isosurface.Caps` x :class:`plotly.graph_objects.isosurface.caps.X` ...
Construct a new Caps object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.isosurface.Caps` x :class:`plotly.graph_objects.isosurface.caps.X` ...
def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): """ Construct a new Caps object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.isosurface.Caps` ...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "x", "=", "None", ",", "y", "=", "None", ",", "z", "=", "None", ",", "*", "*", "kwargs", ")", ":", "super", "(", "Caps", ",", "self", ")", ".", "__init__", "(", "\"caps\"", ")", "i...
[ 139, 4 ]
[ 211, 34 ]
python
en
['en', 'error', 'th']
False
TestWsTransport.get_application
(self)
Override the get_app method to return your application.
Override the get_app method to return your application.
async def get_application(self): """ Override the get_app method to return your application. """ app = web.Application() app.add_routes([web.get("/", self.receive_message)]) return app
[ "async", "def", "get_application", "(", "self", ")", ":", "app", "=", "web", ".", "Application", "(", ")", "app", ".", "add_routes", "(", "[", "web", ".", "get", "(", "\"/\"", ",", "self", ".", "receive_message", ")", "]", ")", "return", "app" ]
[ 26, 4 ]
[ 32, 18 ]
python
en
['en', 'error', 'th']
False
GTestXMLOutputUnitTest.testEmptyXmlOutput
(self)
Verifies XML output for a Google Test binary without actual tests. Runs a test program that generates an empty XML output, and tests that the XML output is expected.
Verifies XML output for a Google Test binary without actual tests.
def testEmptyXmlOutput(self): """Verifies XML output for a Google Test binary without actual tests. Runs a test program that generates an empty XML output, and tests that the XML output is expected. """ self._TestXmlOutput('gtest_no_test_unittest', EXPECTED_EMPTY_XML, 0)
[ "def", "testEmptyXmlOutput", "(", "self", ")", ":", "self", ".", "_TestXmlOutput", "(", "'gtest_no_test_unittest'", ",", "EXPECTED_EMPTY_XML", ",", "0", ")" ]
[ 166, 2 ]
[ 173, 72 ]
python
en
['en', 'en', 'en']
True
GTestXMLOutputUnitTest.testTimestampValue
(self)
Checks whether the timestamp attribute in the XML output is valid. Runs a test program that generates an empty XML output, and checks if the timestamp attribute in the testsuites tag is valid.
Checks whether the timestamp attribute in the XML output is valid.
def testTimestampValue(self): """Checks whether the timestamp attribute in the XML output is valid. Runs a test program that generates an empty XML output, and checks if the timestamp attribute in the testsuites tag is valid. """ actual = self._GetXmlOutput('gtest_no_test_unittest', [], 0) date...
[ "def", "testTimestampValue", "(", "self", ")", ":", "actual", "=", "self", ".", "_GetXmlOutput", "(", "'gtest_no_test_unittest'", ",", "[", "]", ",", "0", ")", "date_time_str", "=", "actual", ".", "documentElement", ".", "getAttributeNode", "(", "'timestamp'", ...
[ 175, 2 ]
[ 198, 19 ]
python
en
['en', 'en', 'en']
True
GTestXMLOutputUnitTest.testDefaultOutputFile
(self)
Confirms that Google Test produces an XML output file with the expected default name if no name is explicitly specified.
Confirms that Google Test produces an XML output file with the expected default name if no name is explicitly specified.
def testDefaultOutputFile(self): """ Confirms that Google Test produces an XML output file with the expected default name if no name is explicitly specified. """ output_file = os.path.join(gtest_test_utils.GetTempDir(), GTEST_DEFAULT_OUTPUT_FILE) gtest_prog_path = ...
[ "def", "testDefaultOutputFile", "(", "self", ")", ":", "output_file", "=", "os", ".", "path", ".", "join", "(", "gtest_test_utils", ".", "GetTempDir", "(", ")", ",", "GTEST_DEFAULT_OUTPUT_FILE", ")", "gtest_prog_path", "=", "gtest_test_utils", ".", "GetTestExecuta...
[ 200, 2 ]
[ 221, 45 ]
python
en
['en', 'error', 'th']
False
GTestXMLOutputUnitTest.testSuppressedXmlOutput
(self)
Tests that no XML file is generated if the default XML listener is shut down before RUN_ALL_TESTS is invoked.
Tests that no XML file is generated if the default XML listener is shut down before RUN_ALL_TESTS is invoked.
def testSuppressedXmlOutput(self): """ Tests that no XML file is generated if the default XML listener is shut down before RUN_ALL_TESTS is invoked. """ xml_path = os.path.join(gtest_test_utils.GetTempDir(), GTEST_PROGRAM_NAME + 'out.xml') if os.path.isfile(xml_path)...
[ "def", "testSuppressedXmlOutput", "(", "self", ")", ":", "xml_path", "=", "os", ".", "path", ".", "join", "(", "gtest_test_utils", ".", "GetTempDir", "(", ")", ",", "GTEST_PROGRAM_NAME", "+", "'out.xml'", ")", "if", "os", ".", "path", ".", "isfile", "(", ...
[ 223, 2 ]
[ 250, 46 ]
python
en
['en', 'error', 'th']
False
GTestXMLOutputUnitTest.testFilteredTestXmlOutput
(self)
Verifies XML output when a filter is applied. Runs a test program that executes only some tests and verifies that non-selected tests do not show up in the XML output.
Verifies XML output when a filter is applied.
def testFilteredTestXmlOutput(self): """Verifies XML output when a filter is applied. Runs a test program that executes only some tests and verifies that non-selected tests do not show up in the XML output. """ self._TestXmlOutput(GTEST_PROGRAM_NAME, EXPECTED_FILTERED_TEST_XML, 0, ...
[ "def", "testFilteredTestXmlOutput", "(", "self", ")", ":", "self", ".", "_TestXmlOutput", "(", "GTEST_PROGRAM_NAME", ",", "EXPECTED_FILTERED_TEST_XML", ",", "0", ",", "extra_args", "=", "[", "'%s=SuccessfulTest.*'", "%", "GTEST_FILTER_FLAG", "]", ")" ]
[ 252, 2 ]
[ 260, 79 ]
python
en
['en', 'en', 'en']
True
GTestXMLOutputUnitTest._GetXmlOutput
(self, gtest_prog_name, extra_args, expected_exit_code)
Returns the xml output generated by running the program gtest_prog_name. Furthermore, the program's exit code must be expected_exit_code.
Returns the xml output generated by running the program gtest_prog_name. Furthermore, the program's exit code must be expected_exit_code.
def _GetXmlOutput(self, gtest_prog_name, extra_args, expected_exit_code): """ Returns the xml output generated by running the program gtest_prog_name. Furthermore, the program's exit code must be expected_exit_code. """ xml_path = os.path.join(gtest_test_utils.GetTempDir(), ...
[ "def", "_GetXmlOutput", "(", "self", ",", "gtest_prog_name", ",", "extra_args", ",", "expected_exit_code", ")", ":", "xml_path", "=", "os", ".", "path", ".", "join", "(", "gtest_test_utils", ".", "GetTempDir", "(", ")", ",", "gtest_prog_name", "+", "'out.xml'"...
[ 262, 2 ]
[ 284, 17 ]
python
en
['en', 'error', 'th']
False
GTestXMLOutputUnitTest._TestXmlOutput
(self, gtest_prog_name, expected_xml, expected_exit_code, extra_args=None)
Asserts that the XML document generated by running the program gtest_prog_name matches expected_xml, a string containing another XML document. Furthermore, the program's exit code must be expected_exit_code.
Asserts that the XML document generated by running the program gtest_prog_name matches expected_xml, a string containing another XML document. Furthermore, the program's exit code must be expected_exit_code.
def _TestXmlOutput(self, gtest_prog_name, expected_xml, expected_exit_code, extra_args=None): """ Asserts that the XML document generated by running the program gtest_prog_name matches expected_xml, a string containing another XML document. Furthermore, the program's exit code must...
[ "def", "_TestXmlOutput", "(", "self", ",", "gtest_prog_name", ",", "expected_xml", ",", "expected_exit_code", ",", "extra_args", "=", "None", ")", ":", "actual", "=", "self", ".", "_GetXmlOutput", "(", "gtest_prog_name", ",", "extra_args", "or", "[", "]", ",",...
[ 286, 2 ]
[ 302, 19 ]
python
en
['en', 'error', 'th']
False
BaseMessageQueue.enqueue
(self, message)
Enqueue a message. Args: message: The message to add to the end of the queue Raises: asyncio.CancelledError if the queue has been stopped
Enqueue a message.
async def enqueue(self, message): """ Enqueue a message. Args: message: The message to add to the end of the queue Raises: asyncio.CancelledError if the queue has been stopped """
[ "async", "def", "enqueue", "(", "self", ",", "message", ")", ":" ]
[ 10, 4 ]
[ 20, 11 ]
python
en
['en', 'error', 'th']
False
BaseMessageQueue.dequeue
(self, *, timeout: int = None)
Dequeue a message. Returns: The dequeued message, or None if a timeout occurs Raises: asyncio.CancelledError if the queue has been stopped asyncio.TimeoutError if the timeout is reached
Dequeue a message.
async def dequeue(self, *, timeout: int = None): """ Dequeue a message. Returns: The dequeued message, or None if a timeout occurs Raises: asyncio.CancelledError if the queue has been stopped asyncio.TimeoutError if the timeout is reached ""...
[ "async", "def", "dequeue", "(", "self", ",", "*", ",", "timeout", ":", "int", "=", "None", ")", ":" ]
[ 23, 4 ]
[ 34, 11 ]
python
en
['en', 'error', 'th']
False
BaseMessageQueue.join
(self)
Wait for the queue to empty.
Wait for the queue to empty.
async def join(self): """Wait for the queue to empty."""
[ "async", "def", "join", "(", "self", ")", ":" ]
[ 37, 4 ]
[ 38, 42 ]
python
en
['en', 'en', 'en']
True
BaseMessageQueue.task_done
(self)
Indicate that the current task is complete.
Indicate that the current task is complete.
def task_done(self): """Indicate that the current task is complete."""
[ "def", "task_done", "(", "self", ")", ":" ]
[ 41, 4 ]
[ 42, 57 ]
python
en
['en', 'en', 'en']
True
BaseMessageQueue.stop
(self)
Cancel active iteration of the queue.
Cancel active iteration of the queue.
def stop(self): """Cancel active iteration of the queue."""
[ "def", "stop", "(", "self", ")", ":" ]
[ 45, 4 ]
[ 46, 51 ]
python
en
['en', 'en', 'en']
True
BaseMessageQueue.reset
(self)
Empty the queue and reset the stop event.
Empty the queue and reset the stop event.
def reset(self): """Empty the queue and reset the stop event."""
[ "def", "reset", "(", "self", ")", ":" ]
[ 49, 4 ]
[ 50, 55 ]
python
en
['en', 'en', 'en']
True
BaseMessageQueue.__aiter__
(self)
Async iterator magic method.
Async iterator magic method.
def __aiter__(self): """Async iterator magic method.""" return self
[ "def", "__aiter__", "(", "self", ")", ":", "return", "self" ]
[ 52, 4 ]
[ 54, 19 ]
python
en
['en', 'uz', 'en']
True
BaseMessageQueue.__anext__
(self)
Async iterator magic method.
Async iterator magic method.
async def __anext__(self): """Async iterator magic method.""" try: message = await self.dequeue() except asyncio.CancelledError: raise StopAsyncIteration return message
[ "async", "def", "__anext__", "(", "self", ")", ":", "try", ":", "message", "=", "await", "self", ".", "dequeue", "(", ")", "except", "asyncio", ".", "CancelledError", ":", "raise", "StopAsyncIteration", "return", "message" ]
[ 56, 4 ]
[ 62, 22 ]
python
en
['en', 'uz', 'en']
True
PerformHandler.handle
(self, context: RequestContext, responder: BaseResponder)
Message handler logic for action menu perform requests. Args: context: request context responder: responder callback
Message handler logic for action menu perform requests.
async def handle(self, context: RequestContext, responder: BaseResponder): """ Message handler logic for action menu perform requests. Args: context: request context responder: responder callback """ self._logger.debug("PerformHandler called with context ...
[ "async", "def", "handle", "(", "self", ",", "context", ":", "RequestContext", ",", "responder", ":", "BaseResponder", ")", ":", "self", ".", "_logger", ".", "debug", "(", "\"PerformHandler called with context %s\"", ",", "context", ")", "assert", "isinstance", "...
[ 11, 4 ]
[ 36, 16 ]
python
en
['en', 'error', 'th']
False
Outsidetextfont.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
Outsidetextfont.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
Outsidetextfont.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
Outsidetextfont.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
Outsidetextfont.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
Outsidetextfont.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
Outsidetextfont.__init__
( self, arg=None, color=None, colorsrc=None, family=None, familysrc=None, size=None, sizesrc=None, **kwargs )
Construct a new Outsidetextfont object Sets the font used for `text` lying outside the bar. Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.bar.Outsidetextfont...
Construct a new Outsidetextfont object Sets the font used for `text` lying outside the bar.
def __init__( self, arg=None, color=None, colorsrc=None, family=None, familysrc=None, size=None, sizesrc=None, **kwargs ): """ Construct a new Outsidetextfont object Sets the font used for `text` lying outside t...
[ "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
Scatterpolar.cliponaxis
(self)
Determines whether or not markers and text nodes are clipped about the subplot axes. To show markers and text nodes above axis lines and tick labels, make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*. The 'cliponaxis' property must be specified as a bool ...
Determines whether or not markers and text nodes are clipped about the subplot axes. To show markers and text nodes above axis lines and tick labels, make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*. The 'cliponaxis' property must be specified as a bool ...
def cliponaxis(self): """ Determines whether or not markers and text nodes are clipped about the subplot axes. To show markers and text nodes above axis lines and tick labels, make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*. The 'cliponaxis' proper...
[ "def", "cliponaxis", "(", "self", ")", ":", "return", "self", "[", "\"cliponaxis\"", "]" ]
[ 66, 4 ]
[ 80, 33 ]
python
en
['en', 'error', 'th']
False
Scatterpolar.connectgaps
(self)
Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected. The 'connectgaps' property must be specified as a bool (either True, or False) Returns ------- bool
Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected. The 'connectgaps' property must be specified as a bool (either True, or False)
def connectgaps(self): """ Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected. The 'connectgaps' property must be specified as a bool (either True, or False) Returns ------- bool """ ...
[ "def", "connectgaps", "(", "self", ")", ":", "return", "self", "[", "\"connectgaps\"", "]" ]
[ 89, 4 ]
[ 101, 34 ]
python
en
['en', 'error', 'th']
False
Scatterpolar.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\"", "]" ]
[ 110, 4 ]
[ 124, 33 ]
python
en
['en', 'error', 'th']
False
Scatterpolar.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\"", "]" ]
[ 133, 4 ]
[ 145, 36 ]
python
en
['en', 'error', 'th']
False
Scatterpolar.dr
(self)
Sets the r coordinate step. The 'dr' property is a number and may be specified as: - An int or float Returns ------- int|float
Sets the r coordinate step. The 'dr' property is a number and may be specified as: - An int or float
def dr(self): """ Sets the r coordinate step. The 'dr' property is a number and may be specified as: - An int or float Returns ------- int|float """ return self["dr"]
[ "def", "dr", "(", "self", ")", ":", "return", "self", "[", "\"dr\"", "]" ]
[ 154, 4 ]
[ 165, 25 ]
python
en
['en', 'error', 'th']
False
Scatterpolar.dtheta
(self)
Sets the theta coordinate step. By default, the `dtheta` step equals the subplot's period divided by the length of the `r` coordinates. The 'dtheta' property is a number and may be specified as: - An int or float Returns ------- int|float
Sets the theta coordinate step. By default, the `dtheta` step equals the subplot's period divided by the length of the `r` coordinates. The 'dtheta' property is a number and may be specified as: - An int or float
def dtheta(self): """ Sets the theta coordinate step. By default, the `dtheta` step equals the subplot's period divided by the length of the `r` coordinates. The 'dtheta' property is a number and may be specified as: - An int or float Returns -----...
[ "def", "dtheta", "(", "self", ")", ":", "return", "self", "[", "\"dtheta\"", "]" ]
[ 174, 4 ]
[ 187, 29 ]
python
en
['en', 'error', 'th']
False
Scatterpolar.fill
(self)
Sets the area to fill with a solid color. Use with `fillcolor` if not "none". scatterpolar has a subset of the options available to scatter. "toself" connects the endpoints of the trace (or each segment of the trace if it has gaps) into a closed shape. "tonext" fills the space b...
Sets the area to fill with a solid color. Use with `fillcolor` if not "none". scatterpolar has a subset of the options available to scatter. "toself" connects the endpoints of the trace (or each segment of the trace if it has gaps) into a closed shape. "tonext" fills the space b...
def fill(self): """ Sets the area to fill with a solid color. Use with `fillcolor` if not "none". scatterpolar has a subset of the options available to scatter. "toself" connects the endpoints of the trace (or each segment of the trace if it has gaps) into a closed shape....
[ "def", "fill", "(", "self", ")", ":", "return", "self", "[", "\"fill\"", "]" ]
[ 196, 4 ]
[ 216, 27 ]
python
en
['en', 'error', 'th']
False
Scatterpolar.fillcolor
(self)
Sets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available. The 'fillcolor' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rg...
Sets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available. The 'fillcolor' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rg...
def fillcolor(self): """ Sets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available. The 'fillcolor' property is a color and may be specified as: - A hex string (e.g. '#ff0000') ...
[ "def", "fillcolor", "(", "self", ")", ":", "return", "self", "[", "\"fillcolor\"", "]" ]
[ 225, 4 ]
[ 277, 32 ]
python
en
['en', 'error', 'th']
False
Scatterpolar.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\"", "]" ]
[ 286, 4 ]
[ 303, 32 ]
python
en
['en', 'error', 'th']
False
Scatterpolar.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\"", "]" ]
[ 312, 4 ]
[ 324, 35 ]
python
en
['en', 'error', 'th']
False
Scatterpolar.hoverlabel
(self)
The 'hoverlabel' property is an instance of Hoverlabel that may be specified as: - An instance of :class:`plotly.graph_objs.scatterpolar.Hoverlabel` - A dict of string/value properties that will be passed to the Hoverlabel constructor Supported dict prop...
The 'hoverlabel' property is an instance of Hoverlabel that may be specified as: - An instance of :class:`plotly.graph_objs.scatterpolar.Hoverlabel` - A dict of string/value properties that will be passed to the Hoverlabel constructor Supported dict prop...
def hoverlabel(self): """ The 'hoverlabel' property is an instance of Hoverlabel that may be specified as: - An instance of :class:`plotly.graph_objs.scatterpolar.Hoverlabel` - A dict of string/value properties that will be passed to the Hoverlabel constructor ...
[ "def", "hoverlabel", "(", "self", ")", ":", "return", "self", "[", "\"hoverlabel\"", "]" ]
[ 333, 4 ]
[ 383, 33 ]
python
en
['en', 'error', 'th']
False
Scatterpolar.hoveron
(self)
Do the hover effects highlight individual points (markers or line points) or do they highlight filled regions? If the fill is "toself" or "tonext" and there are no markers or text, then the default is "fills", otherwise it is "points". The 'hoveron' property is a flaglist a...
Do the hover effects highlight individual points (markers or line points) or do they highlight filled regions? If the fill is "toself" or "tonext" and there are no markers or text, then the default is "fills", otherwise it is "points". The 'hoveron' property is a flaglist a...
def hoveron(self): """ Do the hover effects highlight individual points (markers or line points) or do they highlight filled regions? If the fill is "toself" or "tonext" and there are no markers or text, then the default is "fills", otherwise it is "points". The 'hov...
[ "def", "hoveron", "(", "self", ")", ":", "return", "self", "[", "\"hoveron\"", "]" ]
[ 392, 4 ]
[ 408, 30 ]
python
en
['en', 'error', 'th']
False
Scatterpolar.hovertemplate
(self)
Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$...
Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$...
def hovertemplate(self): """ Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}". Numbers are formatted using d3-format's syntax %{variable:d...
[ "def", "hovertemplate", "(", "self", ")", ":", "return", "self", "[", "\"hovertemplate\"", "]" ]
[ 417, 4 ]
[ 449, 36 ]
python
en
['en', 'error', 'th']
False
Scatterpolar.hovertemplatesrc
(self)
Sets the source reference on Chart Studio Cloud for hovertemplate . The 'hovertemplatesrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str
Sets the source reference on Chart Studio Cloud for hovertemplate . The 'hovertemplatesrc' property must be specified as a string or as a plotly.grid_objs.Column object
def hovertemplatesrc(self): """ Sets the source reference on Chart Studio Cloud for hovertemplate . The 'hovertemplatesrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return se...
[ "def", "hovertemplatesrc", "(", "self", ")", ":", "return", "self", "[", "\"hovertemplatesrc\"", "]" ]
[ 458, 4 ]
[ 470, 39 ]
python
en
['en', 'error', 'th']
False
Scatterpolar.hovertext
(self)
Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a "text" flag. ...
Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a "text" flag. ...
def hovertext(self): """ Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinf...
[ "def", "hovertext", "(", "self", ")", ":", "return", "self", "[", "\"hovertext\"", "]" ]
[ 479, 4 ]
[ 496, 32 ]
python
en
['en', 'error', 'th']
False
Scatterpolar.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\"", "]" ]
[ 505, 4 ]
[ 517, 35 ]
python
en
['en', 'error', 'th']
False
Scatterpolar.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\"", "]" ]
[ 526, 4 ]
[ 539, 26 ]
python
en
['en', 'error', 'th']
False
Scatterpolar.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\"", "]" ]
[ 548, 4 ]
[ 559, 29 ]
python
en
['en', 'error', 'th']
False
Scatterpolar.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\"", "]" ]
[ 568, 4 ]
[ 582, 34 ]
python
en
['en', 'error', 'th']
False
Scatterpolar.line
(self)
The 'line' property is an instance of Line that may be specified as: - An instance of :class:`plotly.graph_objs.scatterpolar.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.scatterpolar.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.scatterpolar.Line` - A dict of string/value properties that will be passed to the Line constructor Supported dict p...
[ "def", "line", "(", "self", ")", ":", "return", "self", "[", "\"line\"", "]" ]
[ 591, 4 ]
[ 625, 27 ]
python
en
['en', 'error', 'th']
False
Scatterpolar.marker
(self)
The 'marker' property is an instance of Marker that may be specified as: - An instance of :class:`plotly.graph_objs.scatterpolar.Marker` - A dict of string/value properties that will be passed to the Marker constructor Supported dict properties: ...
The 'marker' property is an instance of Marker that may be specified as: - An instance of :class:`plotly.graph_objs.scatterpolar.Marker` - A dict of string/value properties that will be passed to the Marker constructor Supported dict properties: ...
def marker(self): """ The 'marker' property is an instance of Marker that may be specified as: - An instance of :class:`plotly.graph_objs.scatterpolar.Marker` - A dict of string/value properties that will be passed to the Marker constructor Suppor...
[ "def", "marker", "(", "self", ")", ":", "return", "self", "[", "\"marker\"", "]" ]
[ 634, 4 ]
[ 780, 29 ]
python
en
['en', 'error', 'th']
False
Scatterpolar.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\"", "]" ]
[ 789, 4 ]
[ 808, 27 ]
python
en
['en', 'error', 'th']
False
Scatterpolar.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\"", "]" ]
[ 817, 4 ]
[ 828, 30 ]
python
en
['en', 'error', 'th']
False
Scatterpolar.mode
(self)
Determines the drawing mode for this scatter trace. If the provided `mode` includes "text" then the `text` elements appear at the coordinates. Otherwise, the `text` elements appear on hover. If there are less than 20 points and the trace is not stacked then the default is "lines...
Determines the drawing mode for this scatter trace. If the provided `mode` includes "text" then the `text` elements appear at the coordinates. Otherwise, the `text` elements appear on hover. If there are less than 20 points and the trace is not stacked then the default is "lines...
def mode(self): """ Determines the drawing mode for this scatter trace. If the provided `mode` includes "text" then the `text` elements appear at the coordinates. Otherwise, the `text` elements appear on hover. If there are less than 20 points and the trace is not stacked...
[ "def", "mode", "(", "self", ")", ":", "return", "self", "[", "\"mode\"", "]" ]
[ 837, 4 ]
[ 856, 27 ]
python
en
['en', 'error', 'th']
False
Scatterpolar.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\"", "]" ]
[ 865, 4 ]
[ 878, 27 ]
python
en
['en', 'error', 'th']
False
Scatterpolar.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\"", "]" ]
[ 887, 4 ]
[ 898, 30 ]
python
en
['en', 'error', 'th']
False
Scatterpolar.r
(self)
Sets the radial coordinates The 'r' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- numpy.ndarray
Sets the radial coordinates The 'r' property is an array that may be specified as a tuple, list, numpy array, or pandas Series
def r(self): """ Sets the radial coordinates The 'r' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- numpy.ndarray """ return self["r"]
[ "def", "r", "(", "self", ")", ":", "return", "self", "[", "\"r\"", "]" ]
[ 907, 4 ]
[ 918, 24 ]
python
en
['en', 'error', 'th']
False
Scatterpolar.r0
(self)
Alternate to `r`. Builds a linear space of r coordinates. Use with `dr` where `r0` is the starting coordinate and `dr` the step. The 'r0' property accepts values of any type Returns ------- Any
Alternate to `r`. Builds a linear space of r coordinates. Use with `dr` where `r0` is the starting coordinate and `dr` the step. The 'r0' property accepts values of any type
def r0(self): """ Alternate to `r`. Builds a linear space of r coordinates. Use with `dr` where `r0` is the starting coordinate and `dr` the step. The 'r0' property accepts values of any type Returns ------- Any """ return self["r0"]
[ "def", "r0", "(", "self", ")", ":", "return", "self", "[", "\"r0\"", "]" ]
[ 927, 4 ]
[ 939, 25 ]
python
en
['en', 'error', 'th']
False
Scatterpolar.rsrc
(self)
Sets the source reference on Chart Studio Cloud for r . The 'rsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str
Sets the source reference on Chart Studio Cloud for r . The 'rsrc' property must be specified as a string or as a plotly.grid_objs.Column object
def rsrc(self): """ Sets the source reference on Chart Studio Cloud for r . The 'rsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["rsrc"]
[ "def", "rsrc", "(", "self", ")", ":", "return", "self", "[", "\"rsrc\"", "]" ]
[ 948, 4 ]
[ 959, 27 ]
python
en
['en', 'error', 'th']
False
Scatterpolar.selected
(self)
The 'selected' property is an instance of Selected that may be specified as: - An instance of :class:`plotly.graph_objs.scatterpolar.Selected` - A dict of string/value properties that will be passed to the Selected constructor Supported dict properties: ...
The 'selected' property is an instance of Selected that may be specified as: - An instance of :class:`plotly.graph_objs.scatterpolar.Selected` - A dict of string/value properties that will be passed to the Selected constructor Supported dict properties: ...
def selected(self): """ The 'selected' property is an instance of Selected that may be specified as: - An instance of :class:`plotly.graph_objs.scatterpolar.Selected` - A dict of string/value properties that will be passed to the Selected constructor ...
[ "def", "selected", "(", "self", ")", ":", "return", "self", "[", "\"selected\"", "]" ]
[ 968, 4 ]
[ 991, 31 ]
python
en
['en', 'error', 'th']
False
Scatterpolar.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\"", "]" ]
[ 1000, 4 ]
[ 1015, 37 ]
python
en
['en', 'error', 'th']
False
Scatterpolar.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\"", "]" ]
[ 1024, 4 ]
[ 1036, 33 ]
python
en
['en', 'error', 'th']
False
Scatterpolar.stream
(self)
The 'stream' property is an instance of Stream that may be specified as: - An instance of :class:`plotly.graph_objs.scatterpolar.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.scatterpolar.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.scatterpolar.Stream` - A dict of string/value properties that will be passed to the Stream constructor Suppor...
[ "def", "stream", "(", "self", ")", ":", "return", "self", "[", "\"stream\"", "]" ]
[ 1045, 4 ]
[ 1069, 29 ]
python
en
['en', 'error', 'th']
False