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
CameraPoints.convert_to
(self, dst, rt_mat=None)
Convert self to ``dst`` mode. Args: dst (:obj:`CoordMode`): The target Point mode. rt_mat (np.ndarray | torch.Tensor): The rotation and translation matrix between different coordinates. Defaults to None. The conversion from `src` coordinates to `dst` coor...
Convert self to ``dst`` mode.
def convert_to(self, dst, rt_mat=None): """Convert self to ``dst`` mode. Args: dst (:obj:`CoordMode`): The target Point mode. rt_mat (np.ndarray | torch.Tensor): The rotation and translation matrix between different coordinates. Defaults to None. ...
[ "def", "convert_to", "(", "self", ",", "dst", ",", "rt_mat", "=", "None", ")", ":", "from", "mmdet3d", ".", "core", ".", "bbox", "import", "Coord3DMode", "return", "Coord3DMode", ".", "convert_point", "(", "point", "=", "self", ",", "src", "=", "Coord3DM...
[ 51, 4 ]
[ 68, 68 ]
python
en
['en', 'en', 'en']
True
Activeshape.fillcolor
(self)
Sets the color filling the active shape' interior. The 'fillcolor' 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...
Sets the color filling the active shape' interior. The 'fillcolor' 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...
def fillcolor(self): """ Sets the color filling the active shape' interior. The 'fillcolor' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') ...
[ "def", "fillcolor", "(", "self", ")", ":", "return", "self", "[", "\"fillcolor\"", "]" ]
[ 15, 4 ]
[ 65, 32 ]
python
en
['en', 'error', 'th']
False
Activeshape.opacity
(self)
Sets the opacity of the active shape. 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 active shape. 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 active shape. The 'opacity' property is a number and may be specified as: - An int or float in the interval [0, 1] Returns ------- int|float """ return self["opacity"]
[ "def", "opacity", "(", "self", ")", ":", "return", "self", "[", "\"opacity\"", "]" ]
[ 74, 4 ]
[ 85, 30 ]
python
en
['en', 'error', 'th']
False
Activeshape.__init__
(self, arg=None, fillcolor=None, opacity=None, **kwargs)
Construct a new Activeshape object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.layout.Activeshape` fillcolor Sets the color filling the active s...
Construct a new Activeshape object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.layout.Activeshape` fillcolor Sets the color filling the active s...
def __init__(self, arg=None, fillcolor=None, opacity=None, **kwargs): """ Construct a new Activeshape object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.layo...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "fillcolor", "=", "None", ",", "opacity", "=", "None", ",", "*", "*", "kwargs", ")", ":", "super", "(", "Activeshape", ",", "self", ")", ".", "__init__", "(", "\"activeshape\"", ")", "if",...
[ 102, 4 ]
[ 165, 34 ]
python
en
['en', 'error', 'th']
False
TestTimeformat.test_style_0
(self)
Test the style 0 of time_format.
Test the style 0 of time_format.
def test_style_0(self): """Test the style 0 of time_format.""" self.assertEqual(utils.time_format(0, 0), "00:00") self.assertEqual(utils.time_format(28, 0), "00:00") self.assertEqual(utils.time_format(92, 0), "00:01") self.assertEqual(utils.time_format(300, 0), "00:05") s...
[ "def", "test_style_0", "(", "self", ")", ":", "self", ".", "assertEqual", "(", "utils", ".", "time_format", "(", "0", ",", "0", ")", ",", "\"00:00\"", ")", "self", ".", "assertEqual", "(", "utils", ".", "time_format", "(", "28", ",", "0", ")", ",", ...
[ 101, 4 ]
[ 113, 66 ]
python
en
['en', 'en', 'en']
True
TestTimeformat.test_style_1
(self)
Test the style 1 of time_format.
Test the style 1 of time_format.
def test_style_1(self): """Test the style 1 of time_format.""" self.assertEqual(utils.time_format(0, 1), "0s") self.assertEqual(utils.time_format(28, 1), "28s") self.assertEqual(utils.time_format(92, 1), "1m") self.assertEqual(utils.time_format(300, 1), "5m") self.assertE...
[ "def", "test_style_1", "(", "self", ")", ":", "self", ".", "assertEqual", "(", "utils", ".", "time_format", "(", "0", ",", "1", ")", ",", "\"0s\"", ")", "self", ".", "assertEqual", "(", "utils", ".", "time_format", "(", "28", ",", "1", ")", ",", "\...
[ 115, 4 ]
[ 127, 60 ]
python
en
['en', 'en', 'en']
True
TestTimeformat.test_style_2
(self)
Test the style 2 of time_format.
Test the style 2 of time_format.
def test_style_2(self): """Test the style 2 of time_format.""" self.assertEqual(utils.time_format(0, 2), "0 minutes") self.assertEqual(utils.time_format(28, 2), "0 minutes") self.assertEqual(utils.time_format(92, 2), "1 minute") self.assertEqual(utils.time_format(300, 2), "5 minu...
[ "def", "test_style_2", "(", "self", ")", ":", "self", ".", "assertEqual", "(", "utils", ".", "time_format", "(", "0", ",", "2", ")", ",", "\"0 minutes\"", ")", "self", ".", "assertEqual", "(", "utils", ".", "time_format", "(", "28", ",", "2", ")", ",...
[ 129, 4 ]
[ 144, 55 ]
python
en
['en', 'en', 'en']
True
TestTimeformat.test_style_3
(self)
Test the style 3 of time_format.
Test the style 3 of time_format.
def test_style_3(self): """Test the style 3 of time_format.""" self.assertEqual(utils.time_format(0, 3), "") self.assertEqual(utils.time_format(28, 3), "28 seconds") self.assertEqual(utils.time_format(92, 3), "1 minute 32 seconds") self.assertEqual(utils.time_format(300, 3), "5 m...
[ "def", "test_style_3", "(", "self", ")", ":", "self", ".", "assertEqual", "(", "utils", ".", "time_format", "(", "0", ",", "3", ")", ",", "\"\"", ")", "self", ".", "assertEqual", "(", "utils", ".", "time_format", "(", "28", ",", "3", ")", ",", "\"2...
[ 146, 4 ]
[ 164, 66 ]
python
en
['en', 'en', 'en']
True
TestTimeformat.test_style_4
(self)
Test the style 4 of time_format.
Test the style 4 of time_format.
def test_style_4(self): """Test the style 4 of time_format.""" self.assertEqual(utils.time_format(0, 4), "0 seconds") self.assertEqual(utils.time_format(28, 4), "28 seconds") self.assertEqual(utils.time_format(92, 4), "a minute") self.assertEqual(utils.time_format(300, 4), "5 min...
[ "def", "test_style_4", "(", "self", ")", ":", "self", ".", "assertEqual", "(", "utils", ".", "time_format", "(", "0", ",", "4", ")", ",", "\"0 seconds\"", ")", "self", ".", "assertEqual", "(", "utils", ".", "time_format", "(", "28", ",", "4", ")", ",...
[ 166, 4 ]
[ 182, 67 ]
python
en
['en', 'en', 'en']
True
TestTimeformat.test_unknown_format
(self)
Test that unknown formats raise exceptions.
Test that unknown formats raise exceptions.
def test_unknown_format(self): """Test that unknown formats raise exceptions.""" self.assertRaises(ValueError, utils.time_format, 0, 5) self.assertRaises(ValueError, utils.time_format, 0, "u")
[ "def", "test_unknown_format", "(", "self", ")", ":", "self", ".", "assertRaises", "(", "ValueError", ",", "utils", ".", "time_format", ",", "0", ",", "5", ")", "self", ".", "assertRaises", "(", "ValueError", ",", "utils", ".", "time_format", ",", "0", ",...
[ 184, 4 ]
[ 187, 64 ]
python
en
['en', 'en', 'en']
True
Line.autocolorscale
(self)
Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.line.color`is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is true, the ...
Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.line.color`is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is true, the ...
def autocolorscale(self): """ Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.line.color`is set to a numerical array. In case `colorscale` is unspecifie...
[ "def", "autocolorscale", "(", "self", ")", ":", "return", "self", "[", "\"autocolorscale\"", "]" ]
[ 28, 4 ]
[ 45, 37 ]
python
en
['en', 'error', 'th']
False
Line.cauto
(self)
Determines whether or not the color domain is computed with respect to the input data (here in `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color`is set to a numerical array. Defaults to `false` when `...
Determines whether or not the color domain is computed with respect to the input data (here in `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color`is set to a numerical array. Defaults to `false` when `...
def cauto(self): """ Determines whether or not the color domain is computed with respect to the input data (here in `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color`is set to a numerical array...
[ "def", "cauto", "(", "self", ")", ":", "return", "self", "[", "\"cauto\"", "]" ]
[ 54, 4 ]
[ 70, 28 ]
python
en
['en', 'error', 'th']
False
Line.cmax
(self)
Sets the upper bound of the color domain. Has an effect only if in `marker.line.color`is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. The 'cmax' property is a number and may be speci...
Sets the upper bound of the color domain. Has an effect only if in `marker.line.color`is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. The 'cmax' property is a number and may be speci...
def cmax(self): """ Sets the upper bound of the color domain. Has an effect only if in `marker.line.color`is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. The 'cmax' property i...
[ "def", "cmax", "(", "self", ")", ":", "return", "self", "[", "\"cmax\"", "]" ]
[ 79, 4 ]
[ 93, 27 ]
python
en
['en', 'error', 'th']
False
Line.cmid
(self)
Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color`is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when...
Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color`is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when...
def cmid(self): """ Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color`is set to a numerical array. Value should have the same units as in `marker.line...
[ "def", "cmid", "(", "self", ")", ":", "return", "self", "[", "\"cmid\"", "]" ]
[ 102, 4 ]
[ 118, 27 ]
python
en
['en', 'error', 'th']
False
Line.cmin
(self)
Sets the lower bound of the color domain. Has an effect only if in `marker.line.color`is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. The 'cmin' property is a number and may be speci...
Sets the lower bound of the color domain. Has an effect only if in `marker.line.color`is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. The 'cmin' property is a number and may be speci...
def cmin(self): """ Sets the lower bound of the color domain. Has an effect only if in `marker.line.color`is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. The 'cmin' property i...
[ "def", "cmin", "(", "self", ")", ":", "return", "self", "[", "\"cmin\"", "]" ]
[ 127, 4 ]
[ 141, 27 ]
python
en
['en', 'error', 'th']
False
Line.color
(self)
Sets themarker.linecolor. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to `marker.line.cmin` and `marker.line.cmax` if set. The 'color' property is a color and may be ...
Sets themarker.linecolor. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to `marker.line.cmin` and `marker.line.cmax` if set. The 'color' property is a color and may be ...
def color(self): """ Sets themarker.linecolor. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to `marker.line.cmin` and `marker.line.cmax` if set. The 'color' pro...
[ "def", "color", "(", "self", ")", ":", "return", "self", "[", "\"color\"", "]" ]
[ 150, 4 ]
[ 206, 28 ]
python
en
['en', 'error', 'th']
False
Line.coloraxis
(self)
Sets a reference to a shared color axis. References to these shared color axes are "coloraxis", "coloraxis2", "coloraxis3", etc. Settings for these shared color axes are set in the layout, under `layout.coloraxis`, `layout.coloraxis2`, etc. Note that multiple color scales can be...
Sets a reference to a shared color axis. References to these shared color axes are "coloraxis", "coloraxis2", "coloraxis3", etc. Settings for these shared color axes are set in the layout, under `layout.coloraxis`, `layout.coloraxis2`, etc. Note that multiple color scales can be...
def coloraxis(self): """ Sets a reference to a shared color axis. References to these shared color axes are "coloraxis", "coloraxis2", "coloraxis3", etc. Settings for these shared color axes are set in the layout, under `layout.coloraxis`, `layout.coloraxis2`, etc. Note t...
[ "def", "coloraxis", "(", "self", ")", ":", "return", "self", "[", "\"coloraxis\"", "]" ]
[ 215, 4 ]
[ 233, 32 ]
python
en
['en', 'error', 'th']
False
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.bar.marker.Line` autocolorscale Determines whether the colorscale is a d...
Construct a new Line object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.bar.marker.Line` autocolorscale Determines whether the colorscale is a d...
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
PlotlyOfflineMPLTestCase._read_html
(self, file_url)
Read and return the HTML contents from a file_url in the form e.g. file:///Users/chriddyp/Repos/plotly.py/plotly-temp.html
Read and return the HTML contents from a file_url in the form e.g. file:///Users/chriddyp/Repos/plotly.py/plotly-temp.html
def _read_html(self, file_url): """ Read and return the HTML contents from a file_url in the form e.g. file:///Users/chriddyp/Repos/plotly.py/plotly-temp.html """ with open(file_url.replace("file://", "").replace(" ", "")) as f: return f.read()
[ "def", "_read_html", "(", "self", ",", "file_url", ")", ":", "with", "open", "(", "file_url", ".", "replace", "(", "\"file://\"", ",", "\"\"", ")", ".", "replace", "(", "\" \"", ",", "\"\"", ")", ")", "as", "f", ":", "return", "f", ".", "read", "("...
[ 56, 4 ]
[ 61, 27 ]
python
en
['en', 'en', 'en']
True
RoutingManager.__init__
(self, context: InjectionContext)
Initialize a RoutingManager. Args: context: The context for this manager
Initialize a RoutingManager.
def __init__(self, context: InjectionContext): """ Initialize a RoutingManager. Args: context: The context for this manager """ self._context = context if not context: raise RoutingManagerError("Missing request context")
[ "def", "__init__", "(", "self", ",", "context", ":", "InjectionContext", ")", ":", "self", ".", "_context", "=", "context", "if", "not", "context", ":", "raise", "RoutingManagerError", "(", "\"Missing request context\"", ")" ]
[ 30, 4 ]
[ 39, 64 ]
python
en
['en', 'error', 'th']
False
RoutingManager.context
(self)
Accessor for the current request context. Returns: The request context for this connection
Accessor for the current request context.
def context(self) -> InjectionContext: """ Accessor for the current request context. Returns: The request context for this connection """ return self._context
[ "def", "context", "(", "self", ")", "->", "InjectionContext", ":", "return", "self", ".", "_context" ]
[ 42, 4 ]
[ 50, 28 ]
python
en
['en', 'error', 'th']
False
RoutingManager.get_recipient
(self, recip_verkey: str)
Resolve the recipient for a verkey. Args: recip_verkey: The verkey ("to") of the incoming Forward message Returns: The `RouteRecord` associated with this verkey
Resolve the recipient for a verkey.
async def get_recipient(self, recip_verkey: str) -> RouteRecord: """ Resolve the recipient for a verkey. Args: recip_verkey: The verkey ("to") of the incoming Forward message Returns: The `RouteRecord` associated with this verkey """ storage: Ba...
[ "async", "def", "get_recipient", "(", "self", ",", "recip_verkey", ":", "str", ")", "->", "RouteRecord", ":", "storage", ":", "BaseStorage", "=", "await", "self", ".", "_context", ".", "inject", "(", "BaseStorage", ")", "try", ":", "record", "=", "await", ...
[ 52, 4 ]
[ 81, 9 ]
python
en
['en', 'error', 'th']
False
RoutingManager.get_routes
( self, client_connection_id: str = None, tag_filter: dict = None )
Fetch all routes associated with the current connection. Args: client_connection_id: The ID of the connection record tag_filter: An optional dictionary of tag filters Returns: A sequence of route records found by the query
Fetch all routes associated with the current connection.
async def get_routes( self, client_connection_id: str = None, tag_filter: dict = None ) -> Sequence[RouteRecord]: """ Fetch all routes associated with the current connection. Args: client_connection_id: The ID of the connection record tag_filter: An optional ...
[ "async", "def", "get_routes", "(", "self", ",", "client_connection_id", ":", "str", "=", "None", ",", "tag_filter", ":", "dict", "=", "None", ")", "->", "Sequence", "[", "RouteRecord", "]", ":", "filters", "=", "{", "}", "if", "client_connection_id", ":", ...
[ 83, 4 ]
[ 120, 22 ]
python
en
['en', 'error', 'th']
False
RoutingManager.create_route_record
( self, client_connection_id: str = None, recipient_key: str = None )
Create and store a new RouteRecord. Args: client_connection_id: The ID of the connection record recipient_key: The recipient verkey of the route Returns: The new routing record
Create and store a new RouteRecord.
async def create_route_record( self, client_connection_id: str = None, recipient_key: str = None ) -> RouteRecord: """ Create and store a new RouteRecord. Args: client_connection_id: The ID of the connection record recipient_key: The recipient verkey of the r...
[ "async", "def", "create_route_record", "(", "self", ",", "client_connection_id", ":", "str", "=", "None", ",", "recipient_key", ":", "str", "=", "None", ")", "->", "RouteRecord", ":", "if", "not", "client_connection_id", ":", "raise", "RoutingManagerError", "(",...
[ 122, 4 ]
[ 155, 21 ]
python
en
['en', 'error', 'th']
False
RoutingManager.delete_route_record
(self, route: RouteRecord)
Remove an existing route record.
Remove an existing route record.
async def delete_route_record(self, route: RouteRecord): """Remove an existing route record.""" if route and route.record_id: storage: BaseStorage = await self._context.inject(BaseStorage) await storage.delete_record( StorageRecord(None, None, None, route.record_i...
[ "async", "def", "delete_route_record", "(", "self", ",", "route", ":", "RouteRecord", ")", ":", "if", "route", "and", "route", ".", "record_id", ":", "storage", ":", "BaseStorage", "=", "await", "self", ".", "_context", ".", "inject", "(", "BaseStorage", "...
[ 157, 4 ]
[ 163, 13 ]
python
en
['en', 'en', 'en']
True
RoutingManager.update_routes
( self, client_connection_id: str, updates: Sequence[RouteUpdate] )
Update routes associated with the current connection. Args: client_connection_id: The ID of the connection record updates: The sequence of route updates (create/delete) to perform.
Update routes associated with the current connection.
async def update_routes( self, client_connection_id: str, updates: Sequence[RouteUpdate] ) -> Sequence[RouteUpdated]: """ Update routes associated with the current connection. Args: client_connection_id: The ID of the connection record updates: The sequence o...
[ "async", "def", "update_routes", "(", "self", ",", "client_connection_id", ":", "str", ",", "updates", ":", "Sequence", "[", "RouteUpdate", "]", ")", "->", "Sequence", "[", "RouteUpdated", "]", ":", "exist_routes", "=", "await", "self", ".", "get_routes", "(...
[ 165, 4 ]
[ 212, 22 ]
python
en
['en', 'error', 'th']
False
RoutingManager.send_create_route
( self, router_connection_id: str, recip_key: str, outbound_handler )
Create and send a route update request. Returns: the current routing state (request or done)
Create and send a route update request.
async def send_create_route( self, router_connection_id: str, recip_key: str, outbound_handler ): """Create and send a route update request. Returns: the current routing state (request or done) """ msg = RouteUpdateRequest( updates=[ RouteUpdate(...
[ "async", "def", "send_create_route", "(", "self", ",", "router_connection_id", ":", "str", ",", "recip_key", ":", "str", ",", "outbound_handler", ")", ":", "msg", "=", "RouteUpdateRequest", "(", "updates", "=", "[", "RouteUpdate", "(", "recipient_key", "=", "r...
[ 214, 4 ]
[ 227, 71 ]
python
en
['en', 'co', 'en']
True
CredentialIssue.__init__
(self, *, issue: str = None, **kwargs)
Initialize credential object. Args: issue (str): Credential issue json string
Initialize credential object.
def __init__(self, *, issue: str = None, **kwargs): """ Initialize credential object. Args: issue (str): Credential issue json string """ super(CredentialIssue, self).__init__(**kwargs) self.issue = issue
[ "def", "__init__", "(", "self", ",", "*", ",", "issue", ":", "str", "=", "None", ",", "*", "*", "kwargs", ")", ":", "super", "(", "CredentialIssue", ",", "self", ")", ".", "__init__", "(", "*", "*", "kwargs", ")", "self", ".", "issue", "=", "issu...
[ 23, 4 ]
[ 31, 26 ]
python
en
['en', 'error', 'th']
False
Z.fill
(self)
Sets the fill ratio of the `caps`. The default fill value of the `caps` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. The 'fill' property is a number and may be...
Sets the fill ratio of the `caps`. The default fill value of the `caps` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. The 'fill' property is a number and may be...
def fill(self): """ Sets the fill ratio of the `caps`. The default fill value of the `caps` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. The 'fill' prop...
[ "def", "fill", "(", "self", ")", ":", "return", "self", "[", "\"fill\"", "]" ]
[ 15, 4 ]
[ 29, 27 ]
python
en
['en', 'error', 'th']
False
Z.show
(self)
Sets the fill ratio of the `slices`. The default fill value of the z `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. The 'show' property must be specifie...
Sets the fill ratio of the `slices`. The default fill value of the z `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. The 'show' property must be specifie...
def show(self): """ Sets the fill ratio of the `slices`. The default fill value of the z `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. The 'show...
[ "def", "show", "(", "self", ")", ":", "return", "self", "[", "\"show\"", "]" ]
[ 38, 4 ]
[ 52, 27 ]
python
en
['en', 'error', 'th']
False
Z.__init__
(self, arg=None, fill=None, show=None, **kwargs)
Construct a new Z object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.isosurface.caps.Z` fill Sets the fill ratio of the `caps`. The default fill...
Construct a new Z object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.isosurface.caps.Z` fill Sets the fill ratio of the `caps`. The default fill...
def __init__(self, arg=None, fill=None, show=None, **kwargs): """ Construct a new Z object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.isosurface.caps.Z` ...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "fill", "=", "None", ",", "show", "=", "None", ",", "*", "*", "kwargs", ")", ":", "super", "(", "Z", ",", "self", ")", ".", "__init__", "(", "\"z\"", ")", "if", "\"_parent\"", "in", ...
[ 77, 4 ]
[ 148, 34 ]
python
en
['en', 'error', 'th']
False
Marker.autocolorscale
(self)
Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.color`is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is true, the default pal...
Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.color`is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is true, the default pal...
def autocolorscale(self): """ Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.color`is set to a numerical array. In case `colorscale` is unspecified or `auto...
[ "def", "autocolorscale", "(", "self", ")", ":", "return", "self", "[", "\"autocolorscale\"", "]" ]
[ 40, 4 ]
[ 57, 37 ]
python
en
['en', 'error', 'th']
False
Marker.cauto
(self)
Determines whether or not the color domain is computed with respect to the input data (here in `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color`is set to a numerical array. Defaults to `false` when `marker.cmin` and `ma...
Determines whether or not the color domain is computed with respect to the input data (here in `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color`is set to a numerical array. Defaults to `false` when `marker.cmin` and `ma...
def cauto(self): """ Determines whether or not the color domain is computed with respect to the input data (here in `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color`is set to a numerical array. Defaults to `false...
[ "def", "cauto", "(", "self", ")", ":", "return", "self", "[", "\"cauto\"", "]" ]
[ 66, 4 ]
[ 82, 28 ]
python
en
['en', 'error', 'th']
False
Marker.cmax
(self)
Sets the upper bound of the color domain. Has an effect only if in `marker.color`is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. The 'cmax' property is a number and may be specified as: ...
Sets the upper bound of the color domain. Has an effect only if in `marker.color`is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. The 'cmax' property is a number and may be specified as: ...
def cmax(self): """ Sets the upper bound of the color domain. Has an effect only if in `marker.color`is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. The 'cmax' property is a number and ...
[ "def", "cmax", "(", "self", ")", ":", "return", "self", "[", "\"cmax\"", "]" ]
[ 91, 4 ]
[ 105, 27 ]
python
en
['en', 'error', 'th']
False
Marker.cmid
(self)
Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color`is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `...
Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color`is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `...
def cmid(self): """ Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color`is set to a numerical array. Value should have the same units as in `marker.color`. Has no effe...
[ "def", "cmid", "(", "self", ")", ":", "return", "self", "[", "\"cmid\"", "]" ]
[ 114, 4 ]
[ 129, 27 ]
python
en
['en', 'error', 'th']
False
Marker.cmin
(self)
Sets the lower bound of the color domain. Has an effect only if in `marker.color`is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. The 'cmin' property is a number and may be specified as: ...
Sets the lower bound of the color domain. Has an effect only if in `marker.color`is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. The 'cmin' property is a number and may be specified as: ...
def cmin(self): """ Sets the lower bound of the color domain. Has an effect only if in `marker.color`is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. The 'cmin' property is a number and ...
[ "def", "cmin", "(", "self", ")", ":", "return", "self", "[", "\"cmin\"", "]" ]
[ 138, 4 ]
[ 152, 27 ]
python
en
['en', 'error', 'th']
False
Marker.color
(self)
Sets themarkercolor. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to `marker.cmin` and `marker.cmax` if set. The 'color' property is a color and may be specified as: ...
Sets themarkercolor. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to `marker.cmin` and `marker.cmax` if set. The 'color' property is a color and may be specified as: ...
def color(self): """ Sets themarkercolor. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to `marker.cmin` and `marker.cmax` if set. The 'color' property is a colo...
[ "def", "color", "(", "self", ")", ":", "return", "self", "[", "\"color\"", "]" ]
[ 161, 4 ]
[ 217, 28 ]
python
en
['en', 'error', 'th']
False
Marker.coloraxis
(self)
Sets a reference to a shared color axis. References to these shared color axes are "coloraxis", "coloraxis2", "coloraxis3", etc. Settings for these shared color axes are set in the layout, under `layout.coloraxis`, `layout.coloraxis2`, etc. Note that multiple color scales can be...
Sets a reference to a shared color axis. References to these shared color axes are "coloraxis", "coloraxis2", "coloraxis3", etc. Settings for these shared color axes are set in the layout, under `layout.coloraxis`, `layout.coloraxis2`, etc. Note that multiple color scales can be...
def coloraxis(self): """ Sets a reference to a shared color axis. References to these shared color axes are "coloraxis", "coloraxis2", "coloraxis3", etc. Settings for these shared color axes are set in the layout, under `layout.coloraxis`, `layout.coloraxis2`, etc. Note t...
[ "def", "coloraxis", "(", "self", ")", ":", "return", "self", "[", "\"coloraxis\"", "]" ]
[ 226, 4 ]
[ 244, 32 ]
python
en
['en', 'error', 'th']
False
Marker.colorbar
(self)
The 'colorbar' property is an instance of ColorBar that may be specified as: - An instance of :class:`plotly.graph_objs.scattercarpet.marker.ColorBar` - A dict of string/value properties that will be passed to the ColorBar constructor Supported dict prop...
The 'colorbar' property is an instance of ColorBar that may be specified as: - An instance of :class:`plotly.graph_objs.scattercarpet.marker.ColorBar` - A dict of string/value properties that will be passed to the ColorBar constructor Supported dict prop...
def colorbar(self): """ The 'colorbar' property is an instance of ColorBar that may be specified as: - An instance of :class:`plotly.graph_objs.scattercarpet.marker.ColorBar` - A dict of string/value properties that will be passed to the ColorBar constructor ...
[ "def", "colorbar", "(", "self", ")", ":", "return", "self", "[", "\"colorbar\"", "]" ]
[ 253, 4 ]
[ 480, 31 ]
python
en
['en', 'error', 'th']
False
Marker.colorscale
(self)
Sets the colorscale. Has an effect only if in `marker.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 (1) v...
Sets the colorscale. Has an effect only if in `marker.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 (1) v...
def colorscale(self): """ Sets the colorscale. Has an effect only if in `marker.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 ...
[ "def", "colorscale", "(", "self", ")", ":", "return", "self", "[", "\"colorscale\"", "]" ]
[ 489, 4 ]
[ 533, 33 ]
python
en
['en', 'error', 'th']
False
Marker.colorsrc
(self)
Sets the source reference on Chart Studio Cloud for color . The 'colorsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str
Sets the source reference on Chart Studio Cloud for color . The 'colorsrc' property must be specified as a string or as a plotly.grid_objs.Column object
def colorsrc(self): """ Sets the source reference on Chart Studio Cloud for color . The 'colorsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["colorsrc"]
[ "def", "colorsrc", "(", "self", ")", ":", "return", "self", "[", "\"colorsrc\"", "]" ]
[ 542, 4 ]
[ 553, 31 ]
python
en
['en', 'error', 'th']
False
Marker.gradient
(self)
The 'gradient' property is an instance of Gradient that may be specified as: - An instance of :class:`plotly.graph_objs.scattercarpet.marker.Gradient` - A dict of string/value properties that will be passed to the Gradient constructor Supported dict prop...
The 'gradient' property is an instance of Gradient that may be specified as: - An instance of :class:`plotly.graph_objs.scattercarpet.marker.Gradient` - A dict of string/value properties that will be passed to the Gradient constructor Supported dict prop...
def gradient(self): """ The 'gradient' property is an instance of Gradient that may be specified as: - An instance of :class:`plotly.graph_objs.scattercarpet.marker.Gradient` - A dict of string/value properties that will be passed to the Gradient constructor ...
[ "def", "gradient", "(", "self", ")", ":", "return", "self", "[", "\"gradient\"", "]" ]
[ 562, 4 ]
[ 590, 31 ]
python
en
['en', 'error', 'th']
False
Marker.line
(self)
The 'line' property is an instance of Line that may be specified as: - An instance of :class:`plotly.graph_objs.scattercarpet.marker.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.scattercarpet.marker.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.scattercarpet.marker.Line` - A dict of string/value properties that will be passed to the Line constructor Supporte...
[ "def", "line", "(", "self", ")", ":", "return", "self", "[", "\"line\"", "]" ]
[ 599, 4 ]
[ 702, 27 ]
python
en
['en', 'error', 'th']
False
Marker.maxdisplayed
(self)
Sets a maximum number of points to be drawn on the graph. 0 corresponds to no limit. The 'maxdisplayed' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float
Sets a maximum number of points to be drawn on the graph. 0 corresponds to no limit. The 'maxdisplayed' property is a number and may be specified as: - An int or float in the interval [0, inf]
def maxdisplayed(self): """ Sets a maximum number of points to be drawn on the graph. 0 corresponds to no limit. The 'maxdisplayed' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float ...
[ "def", "maxdisplayed", "(", "self", ")", ":", "return", "self", "[", "\"maxdisplayed\"", "]" ]
[ 711, 4 ]
[ 723, 35 ]
python
en
['en', 'error', 'th']
False
Marker.opacity
(self)
Sets the marker opacity. The 'opacity' property is a number and may be specified as: - An int or float in the interval [0, 1] - A tuple, list, or one-dimensional numpy array of the above Returns ------- int|float|numpy.ndarray
Sets the marker opacity. The 'opacity' property is a number and may be specified as: - An int or float in the interval [0, 1] - A tuple, list, or one-dimensional numpy array of the above
def opacity(self): """ Sets the marker opacity. The 'opacity' property is a number and may be specified as: - An int or float in the interval [0, 1] - A tuple, list, or one-dimensional numpy array of the above Returns ------- int|float|numpy.ndar...
[ "def", "opacity", "(", "self", ")", ":", "return", "self", "[", "\"opacity\"", "]" ]
[ 732, 4 ]
[ 744, 30 ]
python
en
['en', 'error', 'th']
False
Marker.opacitysrc
(self)
Sets the source reference on Chart Studio Cloud for opacity . The 'opacitysrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str
Sets the source reference on Chart Studio Cloud for opacity . The 'opacitysrc' property must be specified as a string or as a plotly.grid_objs.Column object
def opacitysrc(self): """ Sets the source reference on Chart Studio Cloud for opacity . The 'opacitysrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["opacitysrc"]
[ "def", "opacitysrc", "(", "self", ")", ":", "return", "self", "[", "\"opacitysrc\"", "]" ]
[ 753, 4 ]
[ 764, 33 ]
python
en
['en', 'error', 'th']
False
Marker.reversescale
(self)
Reverses the color mapping if true. Has an effect only if in `marker.color`is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. The 'reversescale' property must be specified ...
Reverses the color mapping if true. Has an effect only if in `marker.color`is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. The 'reversescale' property must be specified ...
def reversescale(self): """ Reverses the color mapping if true. Has an effect only if in `marker.color`is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. The 'revers...
[ "def", "reversescale", "(", "self", ")", ":", "return", "self", "[", "\"reversescale\"", "]" ]
[ 773, 4 ]
[ 787, 35 ]
python
en
['en', 'error', 'th']
False
Marker.showscale
(self)
Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color`is set to a numerical array. The 'showscale' property must be specified as a bool (either True, or False) Returns ------- bool
Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color`is set to a numerical array. The 'showscale' property must be specified as a bool (either True, or False)
def showscale(self): """ Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color`is set to a numerical array. The 'showscale' property must be specified as a bool (either True, or False) Returns ------...
[ "def", "showscale", "(", "self", ")", ":", "return", "self", "[", "\"showscale\"", "]" ]
[ 796, 4 ]
[ 809, 32 ]
python
en
['en', 'error', 'th']
False
Marker.size
(self)
Sets the marker size (in px). The 'size' property is a number and may be specified as: - An int or float in the interval [0, inf] - A tuple, list, or one-dimensional numpy array of the above Returns ------- int|float|numpy.ndarray
Sets the marker size (in px). The 'size' property is a number and may be specified as: - An int or float in the interval [0, inf] - A tuple, list, or one-dimensional numpy array of the above
def size(self): """ Sets the marker size (in px). The 'size' property is a number and may be specified as: - An int or float in the interval [0, inf] - A tuple, list, or one-dimensional numpy array of the above Returns ------- int|float|numpy.nda...
[ "def", "size", "(", "self", ")", ":", "return", "self", "[", "\"size\"", "]" ]
[ 818, 4 ]
[ 830, 27 ]
python
en
['en', 'error', 'th']
False
Marker.sizemin
(self)
Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. The 'sizemin' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- in...
Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. The 'sizemin' property is a number and may be specified as: - An int or float in the interval [0, inf]
def sizemin(self): """ Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. The 'sizemin' property is a number and may be specified as: - An int or float in the interval [0, inf] Retu...
[ "def", "sizemin", "(", "self", ")", ":", "return", "self", "[", "\"sizemin\"", "]" ]
[ 839, 4 ]
[ 852, 30 ]
python
en
['en', 'error', 'th']
False
Marker.sizemode
(self)
Has an effect only if `marker.size` is set to a numerical array. Sets the rule for which the data in `size` is converted to pixels. The 'sizemode' property is an enumeration that may be specified as: - One of the following enumeration values: ['diameter', ...
Has an effect only if `marker.size` is set to a numerical array. Sets the rule for which the data in `size` is converted to pixels. The 'sizemode' property is an enumeration that may be specified as: - One of the following enumeration values: ['diameter', ...
def sizemode(self): """ Has an effect only if `marker.size` is set to a numerical array. Sets the rule for which the data in `size` is converted to pixels. The 'sizemode' property is an enumeration that may be specified as: - One of the following enumeration values...
[ "def", "sizemode", "(", "self", ")", ":", "return", "self", "[", "\"sizemode\"", "]" ]
[ 861, 4 ]
[ 875, 31 ]
python
en
['en', 'error', 'th']
False
Marker.sizeref
(self)
Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. The 'sizeref' property is a number and may be specified as: - An int or float Returns ...
Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. The 'sizeref' property is a number and may be specified as: - An int or float
def sizeref(self): """ Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. The 'sizeref' property is a number and may be specified as: - An i...
[ "def", "sizeref", "(", "self", ")", ":", "return", "self", "[", "\"sizeref\"", "]" ]
[ 884, 4 ]
[ 897, 30 ]
python
en
['en', 'error', 'th']
False
Marker.sizesrc
(self)
Sets the source reference on Chart Studio Cloud for size . The 'sizesrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str
Sets the source reference on Chart Studio Cloud for size . The 'sizesrc' property must be specified as a string or as a plotly.grid_objs.Column object
def sizesrc(self): """ Sets the source reference on Chart Studio Cloud for size . The 'sizesrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["sizesrc"]
[ "def", "sizesrc", "(", "self", ")", ":", "return", "self", "[", "\"sizesrc\"", "]" ]
[ 906, 4 ]
[ 917, 30 ]
python
en
['en', 'error', 'th']
False
Marker.symbol
(self)
Sets the marker symbol type. Adding 100 is equivalent to appending "-open" to a symbol name. Adding 200 is equivalent to appending "-dot" to a symbol name. Adding 300 is equivalent to appending "-open-dot" or "dot-open" to a symbol name. The 'symbol' property is an enumerat...
Sets the marker symbol type. Adding 100 is equivalent to appending "-open" to a symbol name. Adding 200 is equivalent to appending "-dot" to a symbol name. Adding 300 is equivalent to appending "-open-dot" or "dot-open" to a symbol name. The 'symbol' property is an enumerat...
def symbol(self): """ Sets the marker symbol type. Adding 100 is equivalent to appending "-open" to a symbol name. Adding 200 is equivalent to appending "-dot" to a symbol name. Adding 300 is equivalent to appending "-open-dot" or "dot-open" to a symbol name. The 'sy...
[ "def", "symbol", "(", "self", ")", ":", "return", "self", "[", "\"symbol\"", "]" ]
[ 926, 4 ]
[ 1002, 29 ]
python
en
['en', 'error', 'th']
False
Marker.symbolsrc
(self)
Sets the source reference on Chart Studio Cloud for symbol . The 'symbolsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str
Sets the source reference on Chart Studio Cloud for symbol . The 'symbolsrc' property must be specified as a string or as a plotly.grid_objs.Column object
def symbolsrc(self): """ Sets the source reference on Chart Studio Cloud for symbol . The 'symbolsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["symbolsrc"]
[ "def", "symbolsrc", "(", "self", ")", ":", "return", "self", "[", "\"symbolsrc\"", "]" ]
[ 1011, 4 ]
[ 1022, 32 ]
python
en
['en', 'error', 'th']
False
Marker.__init__
( self, arg=None, autocolorscale=None, cauto=None, cmax=None, cmid=None, cmin=None, color=None, coloraxis=None, colorbar=None, colorscale=None, colorsrc=None, gradient=None, line=None, maxdisplayed=No...
Construct a new Marker object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.scattercarpet.Marker` autocolorscale Determines whether the colorscale...
Construct a new Marker object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.scattercarpet.Marker` autocolorscale Determines whether the colorscale...
def __init__( self, arg=None, autocolorscale=None, cauto=None, cmax=None, cmid=None, cmin=None, color=None, coloraxis=None, colorbar=None, colorscale=None, colorsrc=None, gradient=None, line=None, max...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "autocolorscale", "=", "None", ",", "cauto", "=", "None", ",", "cmax", "=", "None", ",", "cmid", "=", "None", ",", "cmin", "=", "None", ",", "color", "=", "None", ",", "coloraxis", "=", ...
[ 1152, 4 ]
[ 1444, 34 ]
python
en
['en', 'error', 'th']
False
Colorscale.diverging
(self)
Sets the default diverging colorscale. Note that `autocolorscale` must be true for this attribute to work. The 'diverging' property is a colorscale and may be specified as: - A list of colors that will be spaced evenly to create the colorscale. Many predefined...
Sets the default diverging colorscale. Note that `autocolorscale` must be true for this attribute to work. The 'diverging' property is a colorscale and may be specified as: - A list of colors that will be spaced evenly to create the colorscale. Many predefined...
def diverging(self): """ Sets the default diverging colorscale. Note that `autocolorscale` must be true for this attribute to work. The 'diverging' property is a colorscale and may be specified as: - A list of colors that will be spaced evenly to create the colorsc...
[ "def", "diverging", "(", "self", ")", ":", "return", "self", "[", "\"diverging\"", "]" ]
[ 15, 4 ]
[ 50, 32 ]
python
en
['en', 'error', 'th']
False
Colorscale.sequential
(self)
Sets the default sequential colorscale for positive values. Note that `autocolorscale` must be true for this attribute to work. The 'sequential' property is a colorscale and may be specified as: - A list of colors that will be spaced evenly to create the colorscal...
Sets the default sequential colorscale for positive values. Note that `autocolorscale` must be true for this attribute to work. The 'sequential' property is a colorscale and may be specified as: - A list of colors that will be spaced evenly to create the colorscal...
def sequential(self): """ Sets the default sequential colorscale for positive values. Note that `autocolorscale` must be true for this attribute to work. The 'sequential' property is a colorscale and may be specified as: - A list of colors that will be spac...
[ "def", "sequential", "(", "self", ")", ":", "return", "self", "[", "\"sequential\"", "]" ]
[ 59, 4 ]
[ 95, 33 ]
python
en
['en', 'error', 'th']
False
Colorscale.sequentialminus
(self)
Sets the default sequential colorscale for negative values. Note that `autocolorscale` must be true for this attribute to work. The 'sequentialminus' property is a colorscale and may be specified as: - A list of colors that will be spaced evenly to create the colo...
Sets the default sequential colorscale for negative values. Note that `autocolorscale` must be true for this attribute to work. The 'sequentialminus' property is a colorscale and may be specified as: - A list of colors that will be spaced evenly to create the colo...
def sequentialminus(self): """ Sets the default sequential colorscale for negative values. Note that `autocolorscale` must be true for this attribute to work. The 'sequentialminus' property is a colorscale and may be specified as: - A list of colors that wi...
[ "def", "sequentialminus", "(", "self", ")", ":", "return", "self", "[", "\"sequentialminus\"", "]" ]
[ 104, 4 ]
[ 140, 38 ]
python
en
['en', 'error', 'th']
False
Colorscale.__init__
( self, arg=None, diverging=None, sequential=None, sequentialminus=None, **kwargs )
Construct a new Colorscale object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.layout.Colorscale` diverging Sets the default diverging colorscale...
Construct a new Colorscale object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.layout.Colorscale` diverging Sets the default diverging colorscale...
def __init__( self, arg=None, diverging=None, sequential=None, sequentialminus=None, **kwargs ): """ Construct a new Colorscale object Parameters ---------- arg dict of properties compatible with this constructor or an instance of ...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "diverging", "=", "None", ",", "sequential", "=", "None", ",", "sequentialminus", "=", "None", ",", "*", "*", "kwargs", ")", ":", "super", "(", "Colorscale", ",", "self", ")", ".", "__init...
[ 165, 4 ]
[ 242, 34 ]
python
en
['en', 'error', 'th']
False
SimpleDoor.at_object_creation
(self)
Called the very first time the door is created.
Called the very first time the door is created.
def at_object_creation(self): """ Called the very first time the door is created. """ self.db.return_exit = None
[ "def", "at_object_creation", "(", "self", ")", ":", "self", ".", "db", ".", "return_exit", "=", "None" ]
[ 43, 4 ]
[ 48, 34 ]
python
en
['en', 'error', 'th']
False
SimpleDoor.setlock
(self, lockstring)
Sets identical locks on both sides of the door. Args: lockstring (str): A lockstring, like `"traverse:true()"`.
Sets identical locks on both sides of the door.
def setlock(self, lockstring): """ Sets identical locks on both sides of the door. Args: lockstring (str): A lockstring, like `"traverse:true()"`. """ self.locks.add(lockstring) self.db.return_exit.locks.add(lockstring)
[ "def", "setlock", "(", "self", ",", "lockstring", ")", ":", "self", ".", "locks", ".", "add", "(", "lockstring", ")", "self", ".", "db", ".", "return_exit", ".", "locks", ".", "add", "(", "lockstring", ")" ]
[ 50, 4 ]
[ 59, 49 ]
python
en
['en', 'error', 'th']
False
SimpleDoor.setdesc
(self, description)
Sets identical descs on both sides of the door. Args: setdesc (str): A description.
Sets identical descs on both sides of the door.
def setdesc(self, description): """ Sets identical descs on both sides of the door. Args: setdesc (str): A description. """ self.db.desc = description self.db.return_exit.db.desc = description
[ "def", "setdesc", "(", "self", ",", "description", ")", ":", "self", ".", "db", ".", "desc", "=", "description", "self", ".", "db", ".", "return_exit", ".", "db", ".", "desc", "=", "description" ]
[ 61, 4 ]
[ 70, 49 ]
python
en
['en', 'error', 'th']
False
SimpleDoor.delete
(self)
Deletes both sides of the door.
Deletes both sides of the door.
def delete(self): """ Deletes both sides of the door. """ # we have to be careful to avoid a delete-loop. if self.db.return_exit: super(SimpleDoor, self.db.return_exit).delete() super(SimpleDoor, self).delete() return True
[ "def", "delete", "(", "self", ")", ":", "# we have to be careful to avoid a delete-loop.", "if", "self", ".", "db", ".", "return_exit", ":", "super", "(", "SimpleDoor", ",", "self", ".", "db", ".", "return_exit", ")", ".", "delete", "(", ")", "super", "(", ...
[ 72, 4 ]
[ 81, 19 ]
python
en
['en', 'error', 'th']
False
SimpleDoor.at_failed_traverse
(self, traversing_object)
Called when door traverse: lock fails. Args: traversing_object (Typeclassed entity): The object attempting the traversal.
Called when door traverse: lock fails.
def at_failed_traverse(self, traversing_object): """ Called when door traverse: lock fails. Args: traversing_object (Typeclassed entity): The object attempting the traversal. """ traversing_object.msg("%s is closed." % self.key)
[ "def", "at_failed_traverse", "(", "self", ",", "traversing_object", ")", ":", "traversing_object", ".", "msg", "(", "\"%s is closed.\"", "%", "self", ".", "key", ")" ]
[ 83, 4 ]
[ 92, 57 ]
python
en
['en', 'error', 'th']
False
CmdOpen.create_exit
(self, exit_name, location, destination, exit_aliases=None, typeclass=None)
Simple wrapper for the default CmdOpen.create_exit
Simple wrapper for the default CmdOpen.create_exit
def create_exit(self, exit_name, location, destination, exit_aliases=None, typeclass=None): """ Simple wrapper for the default CmdOpen.create_exit """ # create a new exit as normal new_exit = super(CmdOpen, self).create_exit(exit_name, location, destination, ...
[ "def", "create_exit", "(", "self", ",", "exit_name", ",", "location", ",", "destination", ",", "exit_aliases", "=", "None", ",", "typeclass", "=", "None", ")", ":", "# create a new exit as normal", "new_exit", "=", "super", "(", "CmdOpen", ",", "self", ")", ...
[ 99, 4 ]
[ 121, 23 ]
python
en
['en', 'error', 'th']
False
CmdOpenCloseDoor.func
(self)
implement the door functionality
implement the door functionality
def func(self): "implement the door functionality" if not self.args: self.caller.msg("Usage: open||close <door>") return door = self.caller.search(self.args) if not door: return if not inherits_from(door, SimpleDoor): self.caller.m...
[ "def", "func", "(", "self", ")", ":", "if", "not", "self", ".", "args", ":", "self", ".", "caller", ".", "msg", "(", "\"Usage: open||close <door>\"", ")", "return", "door", "=", "self", ".", "caller", ".", "search", "(", "self", ".", "args", ")", "if...
[ 143, 4 ]
[ 167, 59 ]
python
en
['en', 'nl', 'en']
True
GlobalAvgPool2d.__init__
(self)
Global average pooling over the input's spatial dimensions
Global average pooling over the input's spatial dimensions
def __init__(self): """Global average pooling over the input's spatial dimensions""" super(GlobalAvgPool2d, self).__init__()
[ "def", "__init__", "(", "self", ")", ":", "super", "(", "GlobalAvgPool2d", ",", "self", ")", ".", "__init__", "(", ")" ]
[ 128, 4 ]
[ 130, 47 ]
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.layout.polar.a ngularaxis.Tickformatstop` dtickrange range [*m...
Construct a new Tickformatstop object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.layout.polar.a ngularaxis.Tickformatstop` dtickrange range [*m...
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
getSymmetricallyEncryptedVal
(val, secretKey: Union[str, bytes] = None)
Encrypt the provided value with symmetric encryption :param val: the value to encrypt :param secretKey: Optional key, if provided should be either in hex or bytes :return: Tuple of the encrypted value and secret key encoded in hex
Encrypt the provided value with symmetric encryption
def getSymmetricallyEncryptedVal(val, secretKey: Union[str, bytes] = None) -> \ Tuple[str, str]: """ Encrypt the provided value with symmetric encryption :param val: the value to encrypt :param secretKey: Optional key, if provided should be either in hex or bytes :return: Tuple of the encry...
[ "def", "getSymmetricallyEncryptedVal", "(", "val", ",", "secretKey", ":", "Union", "[", "str", ",", "bytes", "]", "=", "None", ")", "->", "Tuple", "[", "str", ",", "str", "]", ":", "if", "isinstance", "(", "val", ",", "str", ")", ":", "val", "=", "...
[ 32, 0 ]
[ 53, 47 ]
python
en
['en', 'error', 'th']
False
getIndex
(predicateFn: Callable[[T], bool], items: List[T])
Finds the index of an item in list, which satisfies predicate :param predicateFn: predicate function to run on items of list :param items: list of tuples :return: first index for which predicate function returns True
Finds the index of an item in list, which satisfies predicate :param predicateFn: predicate function to run on items of list :param items: list of tuples :return: first index for which predicate function returns True
def getIndex(predicateFn: Callable[[T], bool], items: List[T]) -> int: """ Finds the index of an item in list, which satisfies predicate :param predicateFn: predicate function to run on items of list :param items: list of tuples :return: first index for which predicate function returns True """ ...
[ "def", "getIndex", "(", "predicateFn", ":", "Callable", "[", "[", "T", "]", ",", "bool", "]", ",", "items", ":", "List", "[", "T", "]", ")", "->", "int", ":", "try", ":", "return", "next", "(", "i", "for", "i", ",", "v", "in", "enumerate", "(",...
[ 129, 0 ]
[ 139, 17 ]
python
en
['en', 'error', 'th']
False
Marker.color
(self)
Sets the marker color of selected points. The 'color' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva string (e.g. 'hsv(0,100%...
Sets the marker color of selected points. The 'color' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva string (e.g. 'hsv(0,100%...
def color(self): """ Sets the marker color of selected points. The 'color' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/h...
[ "def", "color", "(", "self", ")", ":", "return", "self", "[", "\"color\"", "]" ]
[ 15, 4 ]
[ 65, 28 ]
python
en
['en', 'error', 'th']
False
Marker.opacity
(self)
Sets the marker opacity of selected points. The 'opacity' property is a number and may be specified as: - An int or float in the interval [0, 1] Returns ------- int|float
Sets the marker opacity of selected points. The 'opacity' property is a number and may be specified as: - An int or float in the interval [0, 1]
def opacity(self): """ Sets the marker opacity of selected points. The 'opacity' property is a number and may be specified as: - An int or float in the interval [0, 1] Returns ------- int|float """ return self["opacity"]
[ "def", "opacity", "(", "self", ")", ":", "return", "self", "[", "\"opacity\"", "]" ]
[ 74, 4 ]
[ 85, 30 ]
python
en
['en', 'error', 'th']
False
Marker.size
(self)
Sets the marker size of selected points. The 'size' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float
Sets the marker size of selected points. The 'size' property is a number and may be specified as: - An int or float in the interval [0, inf]
def size(self): """ Sets the marker size of selected points. The 'size' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float """ return self["size"]
[ "def", "size", "(", "self", ")", ":", "return", "self", "[", "\"size\"", "]" ]
[ 94, 4 ]
[ 105, 27 ]
python
en
['en', 'error', 'th']
False
Marker.__init__
(self, arg=None, color=None, opacity=None, size=None, **kwargs)
Construct a new Marker object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.scattergl.selected.Marker` color Sets the marker color of selected poi...
Construct a new Marker object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.scattergl.selected.Marker` color Sets the marker color of selected poi...
def __init__(self, arg=None, color=None, opacity=None, size=None, **kwargs): """ Construct a new Marker object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.sc...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "color", "=", "None", ",", "opacity", "=", "None", ",", "size", "=", "None", ",", "*", "*", "kwargs", ")", ":", "super", "(", "Marker", ",", "self", ")", ".", "__init__", "(", "\"marke...
[ 124, 4 ]
[ 193, 34 ]
python
en
['en', 'error', 'th']
False
Decreasing.color
(self)
Sets the color for increasing value. 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%...
Sets the color for increasing value. 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%...
def color(self): """ Sets the color for increasing value. 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 s...
[ "def", "color", "(", "self", ")", ":", "return", "self", "[", "\"color\"", "]" ]
[ 15, 4 ]
[ 65, 28 ]
python
en
['en', 'error', 'th']
False
Decreasing.symbol
(self)
Sets the symbol to display for increasing value The 'symbol' property is a string and must be specified as: - A string - A number that will be converted to a string Returns ------- str
Sets the symbol to display for increasing value The 'symbol' property is a string and must be specified as: - A string - A number that will be converted to a string
def symbol(self): """ Sets the symbol to display for increasing value The 'symbol' property is a string and must be specified as: - A string - A number that will be converted to a string Returns ------- str """ return self["symbol...
[ "def", "symbol", "(", "self", ")", ":", "return", "self", "[", "\"symbol\"", "]" ]
[ 74, 4 ]
[ 86, 29 ]
python
en
['en', 'error', 'th']
False
Decreasing.__init__
(self, arg=None, color=None, symbol=None, **kwargs)
Construct a new Decreasing object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.indicator.delta.Decreasing` color Sets the color for increasing va...
Construct a new Decreasing object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.indicator.delta.Decreasing` color Sets the color for increasing va...
def __init__(self, arg=None, color=None, symbol=None, **kwargs): """ Construct a new Decreasing object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.indicator....
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "color", "=", "None", ",", "symbol", "=", "None", ",", "*", "*", "kwargs", ")", ":", "super", "(", "Decreasing", ",", "self", ")", ".", "__init__", "(", "\"decreasing\"", ")", "if", "\"_...
[ 103, 4 ]
[ 166, 34 ]
python
en
['en', 'error', 'th']
False
Font.color
(self)
The 'color' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - A named CSS color: ...
The 'color' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - A named CSS color: ...
def color(self): """ The 'color' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - A name...
[ "def", "color", "(", "self", ")", ":", "return", "self", "[", "\"color\"", "]" ]
[ 15, 4 ]
[ 64, 28 ]
python
en
['en', 'error', 'th']
False
Font.colorsrc
(self)
Sets the source reference on Chart Studio Cloud for color . The 'colorsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str
Sets the source reference on Chart Studio Cloud for color . The 'colorsrc' property must be specified as a string or as a plotly.grid_objs.Column object
def colorsrc(self): """ Sets the source reference on Chart Studio Cloud for color . The 'colorsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["colorsrc"]
[ "def", "colorsrc", "(", "self", ")", ":", "return", "self", "[", "\"colorsrc\"", "]" ]
[ 73, 4 ]
[ 84, 31 ]
python
en
['en', 'error', 'th']
False
Font.family
(self)
HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts ...
HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts ...
def family(self): """ HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the prefer...
[ "def", "family", "(", "self", ")", ":", "return", "self", "[", "\"family\"", "]" ]
[ 93, 4 ]
[ 116, 29 ]
python
en
['en', 'error', 'th']
False
Font.familysrc
(self)
Sets the source reference on Chart Studio Cloud for family . The 'familysrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str
Sets the source reference on Chart Studio Cloud for family . The 'familysrc' property must be specified as a string or as a plotly.grid_objs.Column object
def familysrc(self): """ Sets the source reference on Chart Studio Cloud for family . The 'familysrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["familysrc"]
[ "def", "familysrc", "(", "self", ")", ":", "return", "self", "[", "\"familysrc\"", "]" ]
[ 125, 4 ]
[ 136, 32 ]
python
en
['en', 'error', 'th']
False
Font.size
(self)
The 'size' property is a number and may be specified as: - An int or float in the interval [1, inf] - A tuple, list, or one-dimensional numpy array of the above Returns ------- int|float|numpy.ndarray
The 'size' property is a number and may be specified as: - An int or float in the interval [1, inf] - A tuple, list, or one-dimensional numpy array of the above
def size(self): """ The 'size' property is a number and may be specified as: - An int or float in the interval [1, inf] - A tuple, list, or one-dimensional numpy array of the above Returns ------- int|float|numpy.ndarray """ return self["size"...
[ "def", "size", "(", "self", ")", ":", "return", "self", "[", "\"size\"", "]" ]
[ 145, 4 ]
[ 155, 27 ]
python
en
['en', 'error', 'th']
False
Font.sizesrc
(self)
Sets the source reference on Chart Studio Cloud for size . The 'sizesrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str
Sets the source reference on Chart Studio Cloud for size . The 'sizesrc' property must be specified as a string or as a plotly.grid_objs.Column object
def sizesrc(self): """ Sets the source reference on Chart Studio Cloud for size . The 'sizesrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["sizesrc"]
[ "def", "sizesrc", "(", "self", ")", ":", "return", "self", "[", "\"sizesrc\"", "]" ]
[ 164, 4 ]
[ 175, 30 ]
python
en
['en', 'error', 'th']
False
Font.__init__
( self, arg=None, color=None, colorsrc=None, family=None, familysrc=None, size=None, sizesrc=None, **kwargs )
Construct a new Font object Sets the font used in hover labels. Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.histogram2dcon tour.hoverlabel.Font` co...
Construct a new Font object Sets the font used in hover labels.
def __init__( self, arg=None, color=None, colorsrc=None, family=None, familysrc=None, size=None, sizesrc=None, **kwargs ): """ Construct a new Font object Sets the font used in hover labels. Parameters ...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "color", "=", "None", ",", "colorsrc", "=", "None", ",", "family", "=", "None", ",", "familysrc", "=", "None", ",", "size", "=", "None", ",", "sizesrc", "=", "None", ",", "*", "*", "kw...
[ 215, 4 ]
[ 329, 34 ]
python
en
['en', 'error', 'th']
False
ColorBar.bgcolor
(self)
Sets the color of padded area. The 'bgcolor' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') ...
Sets the color of padded area. The 'bgcolor' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') ...
def bgcolor(self): """ Sets the color of padded area. The 'bgcolor' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva str...
[ "def", "bgcolor", "(", "self", ")", ":", "return", "self", "[", "\"bgcolor\"", "]" ]
[ 59, 4 ]
[ 109, 30 ]
python
en
['en', 'error', 'th']
False
ColorBar.bordercolor
(self)
Sets the axis line color. The 'bordercolor' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') ...
Sets the axis line color. The 'bordercolor' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') ...
def bordercolor(self): """ Sets the axis line color. The 'bordercolor' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva ...
[ "def", "bordercolor", "(", "self", ")", ":", "return", "self", "[", "\"bordercolor\"", "]" ]
[ 118, 4 ]
[ 168, 34 ]
python
en
['en', 'error', 'th']
False
ColorBar.borderwidth
(self)
Sets the width (in px) or the border enclosing this color bar. The 'borderwidth' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float
Sets the width (in px) or the border enclosing this color bar. The 'borderwidth' property is a number and may be specified as: - An int or float in the interval [0, inf]
def borderwidth(self): """ Sets the width (in px) or the border enclosing this color bar. The 'borderwidth' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float """ return self["...
[ "def", "borderwidth", "(", "self", ")", ":", "return", "self", "[", "\"borderwidth\"", "]" ]
[ 177, 4 ]
[ 188, 34 ]
python
en
['en', 'error', 'th']
False
ColorBar.dtick
(self)
Sets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n*dtick) where n is the tick number. For example, to set a tick mark at 1, 1...
Sets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n*dtick) where n is the tick number. For example, to set a tick mark at 1, 1...
def dtick(self): """ Sets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n*dtick) where n is the tick number. For example...
[ "def", "dtick", "(", "self", ")", ":", "return", "self", "[", "\"dtick\"", "]" ]
[ 197, 4 ]
[ 226, 28 ]
python
en
['en', 'error', 'th']
False
ColorBar.exponentformat
(self)
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B. The 'exponentformat' prop...
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B. The 'exponentformat' prop...
def exponentformat(self): """ Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B. ...
[ "def", "exponentformat", "(", "self", ")", ":", "return", "self", "[", "\"exponentformat\"", "]" ]
[ 235, 4 ]
[ 251, 37 ]
python
en
['en', 'error', 'th']
False