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
k
(self)
A vector of vertex indices, i.e. integer values between 0 and the length of the vertex vectors, representing the "third" vertex of a triangle. For example, `{i[m], j[m], k[m]}` together represent face m (triangle m) in the mesh, where `k[m] = n` points to the triplet `{x[n], y[...
A vector of vertex indices, i.e. integer values between 0 and the length of the vertex vectors, representing the "third" vertex of a triangle. For example, `{i[m], j[m], k[m]}` together represent face m (triangle m) in the mesh, where `k[m] = n` points to the triplet `{x[n], y[...
def k(self): """ A vector of vertex indices, i.e. integer values between 0 and the length of the vertex vectors, representing the "third" vertex of a triangle. For example, `{i[m], j[m], k[m]}` together represent face m (triangle m) in the mesh, where `k[m] = n` points to...
[ "def", "k", "(", "self", ")", ":", "return", "self", "[", "\"k\"", "]" ]
[ 1176, 4 ]
[ 1193, 24 ]
python
en
['en', 'error', 'th']
False
ksrc
(self)
Sets the source reference on Chart Studio Cloud for k . The 'ksrc' 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 k . The 'ksrc' property must be specified as a string or as a plotly.grid_objs.Column object
def ksrc(self): """ Sets the source reference on Chart Studio Cloud for k . The 'ksrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["ksrc"]
[ "def", "ksrc", "(", "self", ")", ":", "return", "self", "[", "\"ksrc\"", "]" ]
[ 1202, 4 ]
[ 1213, 27 ]
python
en
['en', 'error', 'th']
False
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\"", "]" ]
[ 1222, 4 ]
[ 1236, 34 ]
python
en
['en', 'error', 'th']
False
lighting
(self)
The 'lighting' property is an instance of Lighting that may be specified as: - An instance of :class:`plotly.graph_objs.mesh3d.Lighting` - A dict of string/value properties that will be passed to the Lighting constructor Supported dict properties: ...
The 'lighting' property is an instance of Lighting that may be specified as: - An instance of :class:`plotly.graph_objs.mesh3d.Lighting` - A dict of string/value properties that will be passed to the Lighting constructor Supported dict properties: ...
def lighting(self): """ The 'lighting' property is an instance of Lighting that may be specified as: - An instance of :class:`plotly.graph_objs.mesh3d.Lighting` - A dict of string/value properties that will be passed to the Lighting constructor Su...
[ "def", "lighting", "(", "self", ")", ":", "return", "self", "[", "\"lighting\"", "]" ]
[ 1245, 4 ]
[ 1284, 31 ]
python
en
['en', 'error', 'th']
False
lightposition
(self)
The 'lightposition' property is an instance of Lightposition that may be specified as: - An instance of :class:`plotly.graph_objs.mesh3d.Lightposition` - A dict of string/value properties that will be passed to the Lightposition constructor Supported dic...
The 'lightposition' property is an instance of Lightposition that may be specified as: - An instance of :class:`plotly.graph_objs.mesh3d.Lightposition` - A dict of string/value properties that will be passed to the Lightposition constructor Supported dic...
def lightposition(self): """ The 'lightposition' property is an instance of Lightposition that may be specified as: - An instance of :class:`plotly.graph_objs.mesh3d.Lightposition` - A dict of string/value properties that will be passed to the Lightposition constr...
[ "def", "lightposition", "(", "self", ")", ":", "return", "self", "[", "\"lightposition\"", "]" ]
[ 1293, 4 ]
[ 1317, 36 ]
python
en
['en', 'error', 'th']
False
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\"", "]" ]
[ 1326, 4 ]
[ 1345, 27 ]
python
en
['en', 'error', 'th']
False
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\"", "]" ]
[ 1354, 4 ]
[ 1365, 30 ]
python
en
['en', 'error', 'th']
False
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\"", "]" ]
[ 1374, 4 ]
[ 1387, 27 ]
python
en
['en', 'error', 'th']
False
opacity
(self)
Sets the opacity of the surface. Please note that in the case of using high `opacity` values for example a value greater than or equal to 0.5 on two surfaces (and 0.25 with four surfaces), an overlay of multiple transparent surfaces may not perfectly be sorted in depth by the we...
Sets the opacity of the surface. Please note that in the case of using high `opacity` values for example a value greater than or equal to 0.5 on two surfaces (and 0.25 with four surfaces), an overlay of multiple transparent surfaces may not perfectly be sorted in depth by the we...
def opacity(self): """ Sets the opacity of the surface. Please note that in the case of using high `opacity` values for example a value greater than or equal to 0.5 on two surfaces (and 0.25 with four surfaces), an overlay of multiple transparent surfaces may not perfectly ...
[ "def", "opacity", "(", "self", ")", ":", "return", "self", "[", "\"opacity\"", "]" ]
[ 1396, 4 ]
[ 1412, 30 ]
python
en
['en', 'error', 'th']
False
reversescale
(self)
Reverses the color mapping if true. If true, `cmin` will correspond to the last color in the array and `cmax` will correspond to the first color. The 'reversescale' property must be specified as a bool (either True, or False) Returns ------- bool ...
Reverses the color mapping if true. If true, `cmin` will correspond to the last color in the array and `cmax` will correspond to the first color. The 'reversescale' property must be specified as a bool (either True, or False)
def reversescale(self): """ Reverses the color mapping if true. If true, `cmin` will correspond to the last color in the array and `cmax` will correspond to the first color. The 'reversescale' property must be specified as a bool (either True, or False) Retu...
[ "def", "reversescale", "(", "self", ")", ":", "return", "self", "[", "\"reversescale\"", "]" ]
[ 1421, 4 ]
[ 1434, 35 ]
python
en
['en', 'error', 'th']
False
scene
(self)
Sets a reference between this trace's 3D coordinate system and a 3D scene. If "scene" (the default value), the (x,y,z) coordinates refer to `layout.scene`. If "scene2", the (x,y,z) coordinates refer to `layout.scene2`, and so on. The 'scene' property is an identifier of a p...
Sets a reference between this trace's 3D coordinate system and a 3D scene. If "scene" (the default value), the (x,y,z) coordinates refer to `layout.scene`. If "scene2", the (x,y,z) coordinates refer to `layout.scene2`, and so on. The 'scene' property is an identifier of a p...
def scene(self): """ Sets a reference between this trace's 3D coordinate system and a 3D scene. If "scene" (the default value), the (x,y,z) coordinates refer to `layout.scene`. If "scene2", the (x,y,z) coordinates refer to `layout.scene2`, and so on. The 'scene' prop...
[ "def", "scene", "(", "self", ")", ":", "return", "self", "[", "\"scene\"", "]" ]
[ 1443, 4 ]
[ 1459, 28 ]
python
en
['en', 'error', 'th']
False
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\"", "]" ]
[ 1468, 4 ]
[ 1480, 33 ]
python
en
['en', 'error', 'th']
False
showscale
(self)
Determines whether or not a colorbar is displayed for this trace. 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. 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. The 'showscale' property must be specified as a bool (either True, or False) Returns ------- bool """ return self["showscale"]
[ "def", "showscale", "(", "self", ")", ":", "return", "self", "[", "\"showscale\"", "]" ]
[ 1489, 4 ]
[ 1501, 32 ]
python
en
['en', 'error', 'th']
False
stream
(self)
The 'stream' property is an instance of Stream that may be specified as: - An instance of :class:`plotly.graph_objs.mesh3d.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.mesh3d.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.mesh3d.Stream` - A dict of string/value properties that will be passed to the Stream constructor Supported di...
[ "def", "stream", "(", "self", ")", ":", "return", "self", "[", "\"stream\"", "]" ]
[ 1510, 4 ]
[ 1534, 29 ]
python
en
['en', 'error', 'th']
False
text
(self)
Sets the text elements associated with the vertices. If trace `hoverinfo` contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels. The 'text' property is a string and must be specified as: - A string - A number that wil...
Sets the text elements associated with the vertices. If trace `hoverinfo` contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels. The 'text' property is a string and must be specified as: - A string - A number that wil...
def text(self): """ Sets the text elements associated with the vertices. If trace `hoverinfo` contains a "text" flag and "hovertext" is not set, these elements will be seen in the hover labels. The 'text' property is a string and must be specified as: - A string ...
[ "def", "text", "(", "self", ")", ":", "return", "self", "[", "\"text\"", "]" ]
[ 1543, 4 ]
[ 1558, 27 ]
python
en
['en', 'error', 'th']
False
textsrc
(self)
Sets the source reference on Chart Studio Cloud for text . The 'textsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str
Sets the source reference on Chart Studio Cloud for text . The 'textsrc' property must be specified as a string or as a plotly.grid_objs.Column object
def textsrc(self): """ Sets the source reference on Chart Studio Cloud for text . The 'textsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["textsrc"]
[ "def", "textsrc", "(", "self", ")", ":", "return", "self", "[", "\"textsrc\"", "]" ]
[ 1567, 4 ]
[ 1578, 30 ]
python
en
['en', 'error', 'th']
False
uid
(self)
Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. The 'uid' property is a string and must be specified as: - A string - A number that will be converted to a string Returns ------- ...
Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. The 'uid' property is a string and must be specified as: - A string - A number that will be converted to a string
def uid(self): """ Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. The 'uid' property is a string and must be specified as: - A string - A number that will be converted to a string Return...
[ "def", "uid", "(", "self", ")", ":", "return", "self", "[", "\"uid\"", "]" ]
[ 1587, 4 ]
[ 1600, 26 ]
python
en
['en', 'error', 'th']
False
uirevision
(self)
Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are co...
Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are co...
def uirevision(self): """ Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driv...
[ "def", "uirevision", "(", "self", ")", ":", "return", "self", "[", "\"uirevision\"", "]" ]
[ 1609, 4 ]
[ 1633, 33 ]
python
en
['en', 'error', 'th']
False
vertexcolor
(self)
Sets the color of each vertex Overrides "color". While Red, green and blue colors are in the range of 0 and 255; in the case of having vertex color data in RGBA format, the alpha color should be normalized to be between 0 and 1. The 'vertexcolor' property is an array that m...
Sets the color of each vertex Overrides "color". While Red, green and blue colors are in the range of 0 and 255; in the case of having vertex color data in RGBA format, the alpha color should be normalized to be between 0 and 1. The 'vertexcolor' property is an array that m...
def vertexcolor(self): """ Sets the color of each vertex Overrides "color". While Red, green and blue colors are in the range of 0 and 255; in the case of having vertex color data in RGBA format, the alpha color should be normalized to be between 0 and 1. The 'vertex...
[ "def", "vertexcolor", "(", "self", ")", ":", "return", "self", "[", "\"vertexcolor\"", "]" ]
[ 1642, 4 ]
[ 1656, 34 ]
python
en
['en', 'error', 'th']
False
vertexcolorsrc
(self)
Sets the source reference on Chart Studio Cloud for vertexcolor . The 'vertexcolorsrc' 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 vertexcolor . The 'vertexcolorsrc' property must be specified as a string or as a plotly.grid_objs.Column object
def vertexcolorsrc(self): """ Sets the source reference on Chart Studio Cloud for vertexcolor . The 'vertexcolorsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["ve...
[ "def", "vertexcolorsrc", "(", "self", ")", ":", "return", "self", "[", "\"vertexcolorsrc\"", "]" ]
[ 1665, 4 ]
[ 1677, 37 ]
python
en
['en', 'error', 'th']
False
visible
(self)
Determines whether or not this trace is visible. If "legendonly", the trace is not drawn, but can appear as a legend item (provided that the legend itself is visible). The 'visible' property is an enumeration that may be specified as: - One of the following enumeration va...
Determines whether or not this trace is visible. If "legendonly", the trace is not drawn, but can appear as a legend item (provided that the legend itself is visible). The 'visible' property is an enumeration that may be specified as: - One of the following enumeration va...
def visible(self): """ Determines whether or not this trace is visible. If "legendonly", the trace is not drawn, but can appear as a legend item (provided that the legend itself is visible). The 'visible' property is an enumeration that may be specified as: - One o...
[ "def", "visible", "(", "self", ")", ":", "return", "self", "[", "\"visible\"", "]" ]
[ 1686, 4 ]
[ 1700, 30 ]
python
en
['en', 'error', 'th']
False
x
(self)
Sets the X coordinates of the vertices. The nth element of vectors `x`, `y` and `z` jointly represent the X, Y and Z coordinates of the nth vertex. The 'x' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns --...
Sets the X coordinates of the vertices. The nth element of vectors `x`, `y` and `z` jointly represent the X, Y and Z coordinates of the nth vertex. The 'x' property is an array that may be specified as a tuple, list, numpy array, or pandas Series
def x(self): """ Sets the X coordinates of the vertices. The nth element of vectors `x`, `y` and `z` jointly represent the X, Y and Z coordinates of the nth vertex. The 'x' property is an array that may be specified as a tuple, list, numpy array, or pandas Series ...
[ "def", "x", "(", "self", ")", ":", "return", "self", "[", "\"x\"", "]" ]
[ 1709, 4 ]
[ 1722, 24 ]
python
en
['en', 'error', 'th']
False
xcalendar
(self)
Sets the calendar system to use with `x` date data. The 'xcalendar' property is an enumeration that may be specified as: - One of the following enumeration values: ['gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', 'hebrew', 'islamic', 'julian', ...
Sets the calendar system to use with `x` date data. The 'xcalendar' property is an enumeration that may be specified as: - One of the following enumeration values: ['gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', 'hebrew', 'islamic', 'julian', ...
def xcalendar(self): """ Sets the calendar system to use with `x` date data. The 'xcalendar' property is an enumeration that may be specified as: - One of the following enumeration values: ['gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian',...
[ "def", "xcalendar", "(", "self", ")", ":", "return", "self", "[", "\"xcalendar\"", "]" ]
[ 1731, 4 ]
[ 1746, 32 ]
python
en
['en', 'error', 'th']
False
xsrc
(self)
Sets the source reference on Chart Studio Cloud for x . The 'xsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str
Sets the source reference on Chart Studio Cloud for x . The 'xsrc' property must be specified as a string or as a plotly.grid_objs.Column object
def xsrc(self): """ Sets the source reference on Chart Studio Cloud for x . The 'xsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["xsrc"]
[ "def", "xsrc", "(", "self", ")", ":", "return", "self", "[", "\"xsrc\"", "]" ]
[ 1755, 4 ]
[ 1766, 27 ]
python
en
['en', 'error', 'th']
False
y
(self)
Sets the Y coordinates of the vertices. The nth element of vectors `x`, `y` and `z` jointly represent the X, Y and Z coordinates of the nth vertex. The 'y' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns --...
Sets the Y coordinates of the vertices. The nth element of vectors `x`, `y` and `z` jointly represent the X, Y and Z coordinates of the nth vertex. The 'y' property is an array that may be specified as a tuple, list, numpy array, or pandas Series
def y(self): """ Sets the Y coordinates of the vertices. The nth element of vectors `x`, `y` and `z` jointly represent the X, Y and Z coordinates of the nth vertex. The 'y' property is an array that may be specified as a tuple, list, numpy array, or pandas Series ...
[ "def", "y", "(", "self", ")", ":", "return", "self", "[", "\"y\"", "]" ]
[ 1775, 4 ]
[ 1788, 24 ]
python
en
['en', 'error', 'th']
False
ycalendar
(self)
Sets the calendar system to use with `y` date data. The 'ycalendar' property is an enumeration that may be specified as: - One of the following enumeration values: ['gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', 'hebrew', 'islamic', 'julian', ...
Sets the calendar system to use with `y` date data. The 'ycalendar' property is an enumeration that may be specified as: - One of the following enumeration values: ['gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', 'hebrew', 'islamic', 'julian', ...
def ycalendar(self): """ Sets the calendar system to use with `y` date data. The 'ycalendar' property is an enumeration that may be specified as: - One of the following enumeration values: ['gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian',...
[ "def", "ycalendar", "(", "self", ")", ":", "return", "self", "[", "\"ycalendar\"", "]" ]
[ 1797, 4 ]
[ 1812, 32 ]
python
en
['en', 'error', 'th']
False
ysrc
(self)
Sets the source reference on Chart Studio Cloud for y . The 'ysrc' 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 y . The 'ysrc' property must be specified as a string or as a plotly.grid_objs.Column object
def ysrc(self): """ Sets the source reference on Chart Studio Cloud for y . The 'ysrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["ysrc"]
[ "def", "ysrc", "(", "self", ")", ":", "return", "self", "[", "\"ysrc\"", "]" ]
[ 1821, 4 ]
[ 1832, 27 ]
python
en
['en', 'error', 'th']
False
z
(self)
Sets the Z coordinates of the vertices. The nth element of vectors `x`, `y` and `z` jointly represent the X, Y and Z coordinates of the nth vertex. The 'z' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns --...
Sets the Z coordinates of the vertices. The nth element of vectors `x`, `y` and `z` jointly represent the X, Y and Z coordinates of the nth vertex. The 'z' property is an array that may be specified as a tuple, list, numpy array, or pandas Series
def z(self): """ Sets the Z coordinates of the vertices. The nth element of vectors `x`, `y` and `z` jointly represent the X, Y and Z coordinates of the nth vertex. The 'z' property is an array that may be specified as a tuple, list, numpy array, or pandas Series ...
[ "def", "z", "(", "self", ")", ":", "return", "self", "[", "\"z\"", "]" ]
[ 1841, 4 ]
[ 1854, 24 ]
python
en
['en', 'error', 'th']
False
zcalendar
(self)
Sets the calendar system to use with `z` date data. The 'zcalendar' property is an enumeration that may be specified as: - One of the following enumeration values: ['gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', 'hebrew', 'islamic', 'julian', ...
Sets the calendar system to use with `z` date data. The 'zcalendar' property is an enumeration that may be specified as: - One of the following enumeration values: ['gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian', 'hebrew', 'islamic', 'julian', ...
def zcalendar(self): """ Sets the calendar system to use with `z` date data. The 'zcalendar' property is an enumeration that may be specified as: - One of the following enumeration values: ['gregorian', 'chinese', 'coptic', 'discworld', 'ethiopian',...
[ "def", "zcalendar", "(", "self", ")", ":", "return", "self", "[", "\"zcalendar\"", "]" ]
[ 1863, 4 ]
[ 1878, 32 ]
python
en
['en', 'error', 'th']
False
zsrc
(self)
Sets the source reference on Chart Studio Cloud for z . The 'zsrc' 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 z . The 'zsrc' property must be specified as a string or as a plotly.grid_objs.Column object
def zsrc(self): """ Sets the source reference on Chart Studio Cloud for z . The 'zsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["zsrc"]
[ "def", "zsrc", "(", "self", ")", ":", "return", "self", "[", "\"zsrc\"", "]" ]
[ 1887, 4 ]
[ 1898, 27 ]
python
en
['en', 'error', 'th']
False
Participant.change_display_name
(self, new_name: str)
Change the name displayed on the Challonge website |methcoro| Note: |from_api| The name displayed in the bracket/schedule. Must be unique per tournament. Args: new_name: as described Raises: APIException
Change the name displayed on the Challonge website
async def change_display_name(self, new_name: str): """ Change the name displayed on the Challonge website |methcoro| Note: |from_api| The name displayed in the bracket/schedule. Must be unique per tournament. Args: new_name: as described Raises: ...
[ "async", "def", "change_display_name", "(", "self", ",", "new_name", ":", "str", ")", ":", "await", "self", ".", "_change", "(", "name", "=", "new_name", ")" ]
[ 33, 4 ]
[ 48, 41 ]
python
en
['en', 'en', 'en']
True
Participant.change_username
(self, username: str)
Will invite the Challonge user to the tournament |methcoro| Args: username: Challonge username Raises: APIException
Will invite the Challonge user to the tournament
async def change_username(self, username: str): """ Will invite the Challonge user to the tournament |methcoro| Args: username: Challonge username Raises: APIException """ await self._change(challonge_username=username)
[ "async", "def", "change_username", "(", "self", ",", "username", ":", "str", ")", ":", "await", "self", ".", "_change", "(", "challonge_username", "=", "username", ")" ]
[ 50, 4 ]
[ 62, 55 ]
python
en
['en', 'it', 'en']
True
Participant.change_email
(self, email: str)
Set / update the email associated to the participant |methcoro| Setting an email will first search for a matching Challonge account. If one is found, it will be invited to the tournament. If one is not found, the "new-user-email" attribute will be set, and the user will be invited vi...
Set / update the email associated to the participant
async def change_email(self, email: str): """ Set / update the email associated to the participant |methcoro| Setting an email will first search for a matching Challonge account. If one is found, it will be invited to the tournament. If one is not found, the "new-user-email" a...
[ "async", "def", "change_email", "(", "self", ",", "email", ":", "str", ")", ":", "await", "self", ".", "_change", "(", "email", "=", "email", ")" ]
[ 64, 4 ]
[ 80, 39 ]
python
en
['en', 'en', 'en']
True
Participant.change_seed
(self, new_seed: int)
Change the seed of the participant |methcoro| Note: |from_api| Must be between 1 and the current number of participants (including the new record). Overwriting an existing seed will automatically bump other participants as you would expect. Args: new_seed: as describe...
Change the seed of the participant
async def change_seed(self, new_seed: int) -> int: """ Change the seed of the participant |methcoro| Note: |from_api| Must be between 1 and the current number of participants (including the new record). Overwriting an existing seed will automatically bump other participants as you ...
[ "async", "def", "change_seed", "(", "self", ",", "new_seed", ":", "int", ")", "->", "int", ":", "await", "self", ".", "_change", "(", "seed", "=", "new_seed", ")" ]
[ 82, 4 ]
[ 100, 41 ]
python
en
['en', 'en', 'en']
True
Participant.change_misc
(self, misc: str)
Change the `misc` field |methcoro| Note: |from_api| Max: 255 characters. Multi-purpose field that is only visible via the API and handy for site integration (e.g. key to your users table) Args: misc: str content Raises: APIException
Change the `misc` field
async def change_misc(self, misc: str) -> str: """ Change the `misc` field |methcoro| Note: |from_api| Max: 255 characters. Multi-purpose field that is only visible via the API and handy for site integration (e.g. key to your users table) Args: misc: str conten...
[ "async", "def", "change_misc", "(", "self", ",", "misc", ":", "str", ")", "->", "str", ":", "await", "self", ".", "_change", "(", "misc", "=", "misc", ")" ]
[ 102, 4 ]
[ 117, 37 ]
python
en
['en', 'en', 'en']
True
Participant.check_in
(self)
Checks this participant in |methcoro| Warning: |unstable| Raises: APIException
Checks this participant in
async def check_in(self): """ Checks this participant in |methcoro| Warning: |unstable| Raises: APIException """ res = await self.connection('POST', 'tournaments/{}/participants/{}/check_in'.format(self._tournament_id, self._id)) self._...
[ "async", "def", "check_in", "(", "self", ")", ":", "res", "=", "await", "self", ".", "connection", "(", "'POST'", ",", "'tournaments/{}/participants/{}/check_in'", ".", "format", "(", "self", ".", "_tournament_id", ",", "self", ".", "_id", ")", ")", "self", ...
[ 119, 4 ]
[ 132, 36 ]
python
en
['en', 'en', 'en']
True
Participant.undo_check_in
(self)
Undo the check in for this participant |methcoro| Warning: |unstable| Raises: APIException
Undo the check in for this participant
async def undo_check_in(self): """ Undo the check in for this participant |methcoro| Warning: |unstable| Raises: APIException """ res = await self.connection('POST', 'tournaments/{}/participants/{}/undo_check_in'.format(self._tournament_id, sel...
[ "async", "def", "undo_check_in", "(", "self", ")", ":", "res", "=", "await", "self", ".", "connection", "(", "'POST'", ",", "'tournaments/{}/participants/{}/undo_check_in'", ".", "format", "(", "self", ".", "_tournament_id", ",", "self", ".", "_id", ")", ")", ...
[ 134, 4 ]
[ 147, 36 ]
python
en
['en', 'en', 'en']
True
Participant.get_matches
(self, state: MatchState = MatchState.all_)
Return the matches of the given state |methcoro| Args: state: see :class:`MatchState` Raises: APIException
Return the matches of the given state
async def get_matches(self, state: MatchState = MatchState.all_): """ Return the matches of the given state |methcoro| Args: state: see :class:`MatchState` Raises: APIException """ matches = await self.connection('GET', ...
[ "async", "def", "get_matches", "(", "self", ",", "state", ":", "MatchState", "=", "MatchState", ".", "all_", ")", ":", "matches", "=", "await", "self", ".", "connection", "(", "'GET'", ",", "'tournaments/{}/matches'", ".", "format", "(", "self", ".", "_tou...
[ 149, 4 ]
[ 169, 17 ]
python
en
['en', 'en', 'en']
True
Participant.get_next_match
(self)
Return the first open match found, or if none, the first pending match found |methcoro| Raises: APIException
Return the first open match found, or if none, the first pending match found
async def get_next_match(self): """ Return the first open match found, or if none, the first pending match found |methcoro| Raises: APIException """ if self._final_rank is not None: return None matches = await self.get_matches(MatchState.open_)...
[ "async", "def", "get_next_match", "(", "self", ")", ":", "if", "self", ".", "_final_rank", "is", "not", "None", ":", "return", "None", "matches", "=", "await", "self", ".", "get_matches", "(", "MatchState", ".", "open_", ")", "if", "len", "(", "matches",...
[ 171, 4 ]
[ 191, 19 ]
python
en
['en', 'en', 'en']
True
Participant.get_next_opponent
(self)
Get the opponent of the potential next match. See :func:`get_next_match` |methcoro| Raises: APIException
Get the opponent of the potential next match. See :func:`get_next_match`
async def get_next_opponent(self): """ Get the opponent of the potential next match. See :func:`get_next_match` |methcoro| Raises: APIException """ next_match = await self.get_next_match() if next_match is not None: opponent_id = next_match.play...
[ "async", "def", "get_next_opponent", "(", "self", ")", ":", "next_match", "=", "await", "self", ".", "get_next_match", "(", ")", "if", "next_match", "is", "not", "None", ":", "opponent_id", "=", "next_match", ".", "player1_id", "if", "next_match", ".", "play...
[ 193, 4 ]
[ 206, 19 ]
python
en
['en', 'en', 'en']
True
Project.x
(self)
Determines whether or not these contour lines are projected on the x plane. If `highlight` is set to True (the default), the projected lines are shown on hover. If `show` is set to True, the projected lines are shown in permanence. The 'x' property must be specified as a bo...
Determines whether or not these contour lines are projected on the x plane. If `highlight` is set to True (the default), the projected lines are shown on hover. If `show` is set to True, the projected lines are shown in permanence. The 'x' property must be specified as a bo...
def x(self): """ Determines whether or not these contour lines are projected on the x plane. If `highlight` is set to True (the default), the projected lines are shown on hover. If `show` is set to True, the projected lines are shown in permanence. The 'x' property m...
[ "def", "x", "(", "self", ")", ":", "return", "self", "[", "\"x\"", "]" ]
[ 15, 4 ]
[ 29, 24 ]
python
en
['en', 'error', 'th']
False
Project.y
(self)
Determines whether or not these contour lines are projected on the y plane. If `highlight` is set to True (the default), the projected lines are shown on hover. If `show` is set to True, the projected lines are shown in permanence. The 'y' property must be specified as a bo...
Determines whether or not these contour lines are projected on the y plane. If `highlight` is set to True (the default), the projected lines are shown on hover. If `show` is set to True, the projected lines are shown in permanence. The 'y' property must be specified as a bo...
def y(self): """ Determines whether or not these contour lines are projected on the y plane. If `highlight` is set to True (the default), the projected lines are shown on hover. If `show` is set to True, the projected lines are shown in permanence. The 'y' property m...
[ "def", "y", "(", "self", ")", ":", "return", "self", "[", "\"y\"", "]" ]
[ 38, 4 ]
[ 52, 24 ]
python
en
['en', 'error', 'th']
False
Project.z
(self)
Determines whether or not these contour lines are projected on the z plane. If `highlight` is set to True (the default), the projected lines are shown on hover. If `show` is set to True, the projected lines are shown in permanence. The 'z' property must be specified as a bo...
Determines whether or not these contour lines are projected on the z plane. If `highlight` is set to True (the default), the projected lines are shown on hover. If `show` is set to True, the projected lines are shown in permanence. The 'z' property must be specified as a bo...
def z(self): """ Determines whether or not these contour lines are projected on the z plane. If `highlight` is set to True (the default), the projected lines are shown on hover. If `show` is set to True, the projected lines are shown in permanence. The 'z' property m...
[ "def", "z", "(", "self", ")", ":", "return", "self", "[", "\"z\"", "]" ]
[ 61, 4 ]
[ 75, 24 ]
python
en
['en', 'error', 'th']
False
Project.__init__
(self, arg=None, x=None, y=None, z=None, **kwargs)
Construct a new Project object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.surface.contours.x.Project` x Determines whether or not these contour...
Construct a new Project object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.surface.contours.x.Project` x Determines whether or not these contour...
def __init__(self, arg=None, x=None, y=None, z=None, **kwargs): """ Construct a new Project object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.surface.contou...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "x", "=", "None", ",", "y", "=", "None", ",", "z", "=", "None", ",", "*", "*", "kwargs", ")", ":", "super", "(", "Project", ",", "self", ")", ".", "__init__", "(", "\"project\"", ")"...
[ 106, 4 ]
[ 187, 34 ]
python
en
['en', 'error', 'th']
False
Selected.marker
(self)
The 'marker' property is an instance of Marker that may be specified as: - An instance of :class:`plotly.graph_objs.violin.selected.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.violin.selected.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.violin.selected.Marker` - A dict of string/value properties that will be passed to the Marker constructor Sup...
[ "def", "marker", "(", "self", ")", ":", "return", "self", "[", "\"marker\"", "]" ]
[ 15, 4 ]
[ 36, 29 ]
python
en
['en', 'error', 'th']
False
Selected.__init__
(self, arg=None, marker=None, **kwargs)
Construct a new Selected object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.violin.Selected` marker :class:`plotly.graph_objects.violin.selected...
Construct a new Selected object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.violin.Selected` marker :class:`plotly.graph_objects.violin.selected...
def __init__(self, arg=None, marker=None, **kwargs): """ Construct a new Selected object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.violin.Selected` ...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "marker", "=", "None", ",", "*", "*", "kwargs", ")", ":", "super", "(", "Selected", ",", "self", ")", ".", "__init__", "(", "\"selected\"", ")", "if", "\"_parent\"", "in", "kwargs", ":", ...
[ 52, 4 ]
[ 110, 34 ]
python
en
['en', 'error', 'th']
False
PresentationManager.__init__
(self, context: InjectionContext)
Initialize a PresentationManager. Args: context: The context for this credential
Initialize a PresentationManager.
def __init__(self, context: InjectionContext): """ Initialize a PresentationManager. Args: context: The context for this credential """ self._context = context self._logger = logging.getLogger(__name__)
[ "def", "__init__", "(", "self", ",", "context", ":", "InjectionContext", ")", ":", "self", ".", "_context", "=", "context", "self", ".", "_logger", "=", "logging", ".", "getLogger", "(", "__name__", ")" ]
[ 24, 4 ]
[ 32, 50 ]
python
en
['en', 'error', 'th']
False
PresentationManager.context
(self)
Accessor for the current request context. Returns: The injection context for this presentation manager
Accessor for the current request context.
def context(self) -> InjectionContext: """ Accessor for the current request context. Returns: The injection context for this presentation manager """ return self._context
[ "def", "context", "(", "self", ")", "->", "InjectionContext", ":", "return", "self", ".", "_context" ]
[ 35, 4 ]
[ 43, 28 ]
python
en
['en', 'error', 'th']
False
PresentationManager.create_request
( self, name: str, version: str, requested_attributes: list, requested_predicates: list, connection_id: str, )
Create a proof request.
Create a proof request.
async def create_request( self, name: str, version: str, requested_attributes: list, requested_predicates: list, connection_id: str, ): """Create a proof request.""" presentation_request = { "name": name, "version": version, ...
[ "async", "def", "create_request", "(", "self", ",", "name", ":", "str", ",", "version", ":", "str", ",", "requested_attributes", ":", "list", ",", "requested_predicates", ":", "list", ",", "connection_id", ":", "str", ",", ")", ":", "presentation_request", "...
[ 45, 4 ]
[ 89, 66 ]
python
en
['en', 'en', 'en']
True
PresentationManager.receive_request
( self, presentation_request_message: PresentationRequest, connection_id: str )
Receive a presentation request. Args: presentation_request_message: Presentation message to receive
Receive a presentation request.
async def receive_request( self, presentation_request_message: PresentationRequest, connection_id: str ): """ Receive a presentation request. Args: presentation_request_message: Presentation message to receive """ presentation_exchange = PresentationExch...
[ "async", "def", "receive_request", "(", "self", ",", "presentation_request_message", ":", "PresentationRequest", ",", "connection_id", ":", "str", ")", ":", "presentation_exchange", "=", "PresentationExchange", "(", "connection_id", "=", "connection_id", ",", "thread_id...
[ 91, 4 ]
[ 113, 36 ]
python
en
['en', 'error', 'th']
False
PresentationManager.create_presentation
( self, presentation_exchange_record: PresentationExchange, requested_credentials: dict, )
Receive a presentation request. Args: presentation_exchange_record: Record to update requested_credentials: Indy formatted requested_credentials i.e., :: { "self_attested_attributes": { "j233ffbc-bd35-49b1-934f-...
Receive a presentation request.
async def create_presentation( self, presentation_exchange_record: PresentationExchange, requested_credentials: dict, ): """ Receive a presentation request. Args: presentation_exchange_record: Record to update requested_credentials: Indy forma...
[ "async", "def", "create_presentation", "(", "self", ",", "presentation_exchange_record", ":", "PresentationExchange", ",", "requested_credentials", ":", "dict", ",", ")", ":", "# Get all credential ids for this presentation", "credential_ids", "=", "[", "]", "requested_attr...
[ 115, 4 ]
[ 219, 65 ]
python
en
['en', 'error', 'th']
False
PresentationManager.receive_presentation
(self, presentation: dict, thread_id: str)
Receive a presentation request.
Receive a presentation request.
async def receive_presentation(self, presentation: dict, thread_id: str): """Receive a presentation request.""" ( presentation_exchange_record ) = await PresentationExchange.retrieve_by_tag_filter( self.context, {"thread_id": thread_id}, {"initiator": "self"} ) ...
[ "async", "def", "receive_presentation", "(", "self", ",", "presentation", ":", "dict", ",", "thread_id", ":", "str", ")", ":", "(", "presentation_exchange_record", ")", "=", "await", "PresentationExchange", ".", "retrieve_by_tag_filter", "(", "self", ".", "context...
[ 221, 4 ]
[ 237, 43 ]
python
en
['en', 'co', 'en']
True
PresentationManager.verify_presentation
( self, presentation_exchange_record: PresentationExchange )
Verify a presentation request.
Verify a presentation request.
async def verify_presentation( self, presentation_exchange_record: PresentationExchange ): """Verify a presentation request.""" presentation_request = presentation_exchange_record.presentation_request presentation = presentation_exchange_record.presentation schema_ids = [] ...
[ "async", "def", "verify_presentation", "(", "self", ",", "presentation_exchange_record", ":", "PresentationExchange", ")", ":", "presentation_request", "=", "presentation_exchange_record", ".", "presentation_request", "presentation", "=", "presentation_exchange_record", ".", ...
[ 239, 4 ]
[ 285, 43 ]
python
en
['en', 'pt', 'en']
True
Geo.bgcolor
(self)
Set the background color of the map 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...
Set the background color of the map 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): """ Set the background color of the map 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/hsv...
[ "def", "bgcolor", "(", "self", ")", ":", "return", "self", "[", "\"bgcolor\"", "]" ]
[ 48, 4 ]
[ 98, 30 ]
python
en
['en', 'error', 'th']
False
Geo.center
(self)
The 'center' property is an instance of Center that may be specified as: - An instance of :class:`plotly.graph_objs.layout.geo.Center` - A dict of string/value properties that will be passed to the Center constructor Supported dict properties: ...
The 'center' property is an instance of Center that may be specified as: - An instance of :class:`plotly.graph_objs.layout.geo.Center` - A dict of string/value properties that will be passed to the Center constructor Supported dict properties: ...
def center(self): """ The 'center' property is an instance of Center that may be specified as: - An instance of :class:`plotly.graph_objs.layout.geo.Center` - A dict of string/value properties that will be passed to the Center constructor Supporte...
[ "def", "center", "(", "self", ")", ":", "return", "self", "[", "\"center\"", "]" ]
[ 107, 4 ]
[ 133, 29 ]
python
en
['en', 'error', 'th']
False
Geo.coastlinecolor
(self)
Sets the coastline color. The 'coastlinecolor' 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 coastline color. The 'coastlinecolor' 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 coastlinecolor(self): """ Sets the coastline color. The 'coastlinecolor' 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...
[ "def", "coastlinecolor", "(", "self", ")", ":", "return", "self", "[", "\"coastlinecolor\"", "]" ]
[ 142, 4 ]
[ 192, 37 ]
python
en
['en', 'error', 'th']
False
Geo.coastlinewidth
(self)
Sets the coastline stroke width (in px). The 'coastlinewidth' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float
Sets the coastline stroke width (in px). The 'coastlinewidth' property is a number and may be specified as: - An int or float in the interval [0, inf]
def coastlinewidth(self): """ Sets the coastline stroke width (in px). The 'coastlinewidth' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float """ return self["coastlinewidth"]
[ "def", "coastlinewidth", "(", "self", ")", ":", "return", "self", "[", "\"coastlinewidth\"", "]" ]
[ 201, 4 ]
[ 212, 37 ]
python
en
['en', 'error', 'th']
False
Geo.countrycolor
(self)
Sets line color of the country boundaries. The 'countrycolor' 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. 'hs...
Sets line color of the country boundaries. The 'countrycolor' 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. 'hs...
def countrycolor(self): """ Sets line color of the country boundaries. The 'countrycolor' 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", "countrycolor", "(", "self", ")", ":", "return", "self", "[", "\"countrycolor\"", "]" ]
[ 221, 4 ]
[ 271, 35 ]
python
en
['en', 'error', 'th']
False
Geo.countrywidth
(self)
Sets line width (in px) of the country boundaries. The 'countrywidth' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float
Sets line width (in px) of the country boundaries. The 'countrywidth' property is a number and may be specified as: - An int or float in the interval [0, inf]
def countrywidth(self): """ Sets line width (in px) of the country boundaries. The 'countrywidth' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float """ return self["countrywid...
[ "def", "countrywidth", "(", "self", ")", ":", "return", "self", "[", "\"countrywidth\"", "]" ]
[ 280, 4 ]
[ 291, 35 ]
python
en
['en', 'error', 'th']
False
Geo.domain
(self)
The 'domain' property is an instance of Domain that may be specified as: - An instance of :class:`plotly.graph_objs.layout.geo.Domain` - A dict of string/value properties that will be passed to the Domain constructor Supported dict properties: ...
The 'domain' property is an instance of Domain that may be specified as: - An instance of :class:`plotly.graph_objs.layout.geo.Domain` - A dict of string/value properties that will be passed to the Domain constructor Supported dict properties: ...
def domain(self): """ The 'domain' property is an instance of Domain that may be specified as: - An instance of :class:`plotly.graph_objs.layout.geo.Domain` - A dict of string/value properties that will be passed to the Domain constructor Supporte...
[ "def", "domain", "(", "self", ")", ":", "return", "self", "[", "\"domain\"", "]" ]
[ 300, 4 ]
[ 341, 29 ]
python
en
['en', 'error', 'th']
False
Geo.fitbounds
(self)
Determines if this subplot's view settings are auto-computed to fit trace data. On scoped maps, setting `fitbounds` leads to `center.lon` and `center.lat` getting auto-filled. On maps with a non-clipped projection, setting `fitbounds` leads to `center.lon`, `center.lat`, and `pr...
Determines if this subplot's view settings are auto-computed to fit trace data. On scoped maps, setting `fitbounds` leads to `center.lon` and `center.lat` getting auto-filled. On maps with a non-clipped projection, setting `fitbounds` leads to `center.lon`, `center.lat`, and `pr...
def fitbounds(self): """ Determines if this subplot's view settings are auto-computed to fit trace data. On scoped maps, setting `fitbounds` leads to `center.lon` and `center.lat` getting auto-filled. On maps with a non-clipped projection, setting `fitbounds` leads to `ce...
[ "def", "fitbounds", "(", "self", ")", ":", "return", "self", "[", "\"fitbounds\"", "]" ]
[ 350, 4 ]
[ 374, 32 ]
python
en
['en', 'error', 'th']
False
Geo.framecolor
(self)
Sets the color the frame. The 'framecolor' 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 the frame. The 'framecolor' 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 framecolor(self): """ Sets the color the frame. The 'framecolor' 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 st...
[ "def", "framecolor", "(", "self", ")", ":", "return", "self", "[", "\"framecolor\"", "]" ]
[ 383, 4 ]
[ 433, 33 ]
python
en
['en', 'error', 'th']
False
Geo.framewidth
(self)
Sets the stroke width (in px) of the frame. The 'framewidth' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float
Sets the stroke width (in px) of the frame. The 'framewidth' property is a number and may be specified as: - An int or float in the interval [0, inf]
def framewidth(self): """ Sets the stroke width (in px) of the frame. The 'framewidth' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float """ return self["framewidth"]
[ "def", "framewidth", "(", "self", ")", ":", "return", "self", "[", "\"framewidth\"", "]" ]
[ 442, 4 ]
[ 453, 33 ]
python
en
['en', 'error', 'th']
False
Geo.lakecolor
(self)
Sets the color of the lakes. The 'lakecolor' 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 the lakes. The 'lakecolor' 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 lakecolor(self): """ Sets the color of the lakes. The 'lakecolor' 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", "lakecolor", "(", "self", ")", ":", "return", "self", "[", "\"lakecolor\"", "]" ]
[ 462, 4 ]
[ 512, 32 ]
python
en
['en', 'error', 'th']
False
Geo.landcolor
(self)
Sets the land mass color. The 'landcolor' 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 land mass color. The 'landcolor' 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 landcolor(self): """ Sets the land mass color. The 'landcolor' 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 stri...
[ "def", "landcolor", "(", "self", ")", ":", "return", "self", "[", "\"landcolor\"", "]" ]
[ 521, 4 ]
[ 571, 32 ]
python
en
['en', 'error', 'th']
False
Geo.lataxis
(self)
The 'lataxis' property is an instance of Lataxis that may be specified as: - An instance of :class:`plotly.graph_objs.layout.geo.Lataxis` - A dict of string/value properties that will be passed to the Lataxis constructor Supported dict properties: ...
The 'lataxis' property is an instance of Lataxis that may be specified as: - An instance of :class:`plotly.graph_objs.layout.geo.Lataxis` - A dict of string/value properties that will be passed to the Lataxis constructor Supported dict properties: ...
def lataxis(self): """ The 'lataxis' property is an instance of Lataxis that may be specified as: - An instance of :class:`plotly.graph_objs.layout.geo.Lataxis` - A dict of string/value properties that will be passed to the Lataxis constructor Sup...
[ "def", "lataxis", "(", "self", ")", ":", "return", "self", "[", "\"lataxis\"", "]" ]
[ 580, 4 ]
[ 611, 30 ]
python
en
['en', 'error', 'th']
False
Geo.lonaxis
(self)
The 'lonaxis' property is an instance of Lonaxis that may be specified as: - An instance of :class:`plotly.graph_objs.layout.geo.Lonaxis` - A dict of string/value properties that will be passed to the Lonaxis constructor Supported dict properties: ...
The 'lonaxis' property is an instance of Lonaxis that may be specified as: - An instance of :class:`plotly.graph_objs.layout.geo.Lonaxis` - A dict of string/value properties that will be passed to the Lonaxis constructor Supported dict properties: ...
def lonaxis(self): """ The 'lonaxis' property is an instance of Lonaxis that may be specified as: - An instance of :class:`plotly.graph_objs.layout.geo.Lonaxis` - A dict of string/value properties that will be passed to the Lonaxis constructor Sup...
[ "def", "lonaxis", "(", "self", ")", ":", "return", "self", "[", "\"lonaxis\"", "]" ]
[ 620, 4 ]
[ 651, 30 ]
python
en
['en', 'error', 'th']
False
Geo.oceancolor
(self)
Sets the ocean color The 'oceancolor' 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 ocean color The 'oceancolor' 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 oceancolor(self): """ Sets the ocean color The 'oceancolor' 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 ...
[ "def", "oceancolor", "(", "self", ")", ":", "return", "self", "[", "\"oceancolor\"", "]" ]
[ 660, 4 ]
[ 710, 33 ]
python
en
['en', 'error', 'th']
False
Geo.projection
(self)
The 'projection' property is an instance of Projection that may be specified as: - An instance of :class:`plotly.graph_objs.layout.geo.Projection` - A dict of string/value properties that will be passed to the Projection constructor Supported dict proper...
The 'projection' property is an instance of Projection that may be specified as: - An instance of :class:`plotly.graph_objs.layout.geo.Projection` - A dict of string/value properties that will be passed to the Projection constructor Supported dict proper...
def projection(self): """ The 'projection' property is an instance of Projection that may be specified as: - An instance of :class:`plotly.graph_objs.layout.geo.Projection` - A dict of string/value properties that will be passed to the Projection constructor ...
[ "def", "projection", "(", "self", ")", ":", "return", "self", "[", "\"projection\"", "]" ]
[ 719, 4 ]
[ 748, 33 ]
python
en
['en', 'error', 'th']
False
Geo.resolution
(self)
Sets the resolution of the base layers. The values have units of km/mm e.g. 110 corresponds to a scale ratio of 1:110,000,000. The 'resolution' property is an enumeration that may be specified as: - One of the following enumeration values: [110, 50] ...
Sets the resolution of the base layers. The values have units of km/mm e.g. 110 corresponds to a scale ratio of 1:110,000,000. The 'resolution' property is an enumeration that may be specified as: - One of the following enumeration values: [110, 50]
def resolution(self): """ Sets the resolution of the base layers. The values have units of km/mm e.g. 110 corresponds to a scale ratio of 1:110,000,000. The 'resolution' property is an enumeration that may be specified as: - One of the following enumeration values:...
[ "def", "resolution", "(", "self", ")", ":", "return", "self", "[", "\"resolution\"", "]" ]
[ 757, 4 ]
[ 771, 33 ]
python
en
['en', 'error', 'th']
False
Geo.rivercolor
(self)
Sets color of the rivers. The 'rivercolor' 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 color of the rivers. The 'rivercolor' 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 rivercolor(self): """ Sets color of the rivers. The 'rivercolor' 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 st...
[ "def", "rivercolor", "(", "self", ")", ":", "return", "self", "[", "\"rivercolor\"", "]" ]
[ 780, 4 ]
[ 830, 33 ]
python
en
['en', 'error', 'th']
False
Geo.riverwidth
(self)
Sets the stroke width (in px) of the rivers. The 'riverwidth' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float
Sets the stroke width (in px) of the rivers. The 'riverwidth' property is a number and may be specified as: - An int or float in the interval [0, inf]
def riverwidth(self): """ Sets the stroke width (in px) of the rivers. The 'riverwidth' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float """ return self["riverwidth"]
[ "def", "riverwidth", "(", "self", ")", ":", "return", "self", "[", "\"riverwidth\"", "]" ]
[ 839, 4 ]
[ 850, 33 ]
python
en
['en', 'error', 'th']
False
Geo.scope
(self)
Set the scope of the map. The 'scope' property is an enumeration that may be specified as: - One of the following enumeration values: ['world', 'usa', 'europe', 'asia', 'africa', 'north america', 'south america'] Returns ------- An...
Set the scope of the map. The 'scope' property is an enumeration that may be specified as: - One of the following enumeration values: ['world', 'usa', 'europe', 'asia', 'africa', 'north america', 'south america']
def scope(self): """ Set the scope of the map. The 'scope' property is an enumeration that may be specified as: - One of the following enumeration values: ['world', 'usa', 'europe', 'asia', 'africa', 'north america', 'south america'] Return...
[ "def", "scope", "(", "self", ")", ":", "return", "self", "[", "\"scope\"", "]" ]
[ 859, 4 ]
[ 872, 28 ]
python
en
['en', 'error', 'th']
False
Geo.showcoastlines
(self)
Sets whether or not the coastlines are drawn. The 'showcoastlines' property must be specified as a bool (either True, or False) Returns ------- bool
Sets whether or not the coastlines are drawn. The 'showcoastlines' property must be specified as a bool (either True, or False)
def showcoastlines(self): """ Sets whether or not the coastlines are drawn. The 'showcoastlines' property must be specified as a bool (either True, or False) Returns ------- bool """ return self["showcoastlines"]
[ "def", "showcoastlines", "(", "self", ")", ":", "return", "self", "[", "\"showcoastlines\"", "]" ]
[ 881, 4 ]
[ 892, 37 ]
python
en
['en', 'error', 'th']
False
Geo.showcountries
(self)
Sets whether or not country boundaries are drawn. The 'showcountries' property must be specified as a bool (either True, or False) Returns ------- bool
Sets whether or not country boundaries are drawn. The 'showcountries' property must be specified as a bool (either True, or False)
def showcountries(self): """ Sets whether or not country boundaries are drawn. The 'showcountries' property must be specified as a bool (either True, or False) Returns ------- bool """ return self["showcountries"]
[ "def", "showcountries", "(", "self", ")", ":", "return", "self", "[", "\"showcountries\"", "]" ]
[ 901, 4 ]
[ 912, 36 ]
python
en
['en', 'error', 'th']
False
Geo.showframe
(self)
Sets whether or not a frame is drawn around the map. The 'showframe' property must be specified as a bool (either True, or False) Returns ------- bool
Sets whether or not a frame is drawn around the map. The 'showframe' property must be specified as a bool (either True, or False)
def showframe(self): """ Sets whether or not a frame is drawn around the map. The 'showframe' property must be specified as a bool (either True, or False) Returns ------- bool """ return self["showframe"]
[ "def", "showframe", "(", "self", ")", ":", "return", "self", "[", "\"showframe\"", "]" ]
[ 921, 4 ]
[ 932, 32 ]
python
en
['en', 'error', 'th']
False
Geo.showlakes
(self)
Sets whether or not lakes are drawn. The 'showlakes' property must be specified as a bool (either True, or False) Returns ------- bool
Sets whether or not lakes are drawn. The 'showlakes' property must be specified as a bool (either True, or False)
def showlakes(self): """ Sets whether or not lakes are drawn. The 'showlakes' property must be specified as a bool (either True, or False) Returns ------- bool """ return self["showlakes"]
[ "def", "showlakes", "(", "self", ")", ":", "return", "self", "[", "\"showlakes\"", "]" ]
[ 941, 4 ]
[ 952, 32 ]
python
en
['en', 'error', 'th']
False
Geo.showland
(self)
Sets whether or not land masses are filled in color. The 'showland' property must be specified as a bool (either True, or False) Returns ------- bool
Sets whether or not land masses are filled in color. The 'showland' property must be specified as a bool (either True, or False)
def showland(self): """ Sets whether or not land masses are filled in color. The 'showland' property must be specified as a bool (either True, or False) Returns ------- bool """ return self["showland"]
[ "def", "showland", "(", "self", ")", ":", "return", "self", "[", "\"showland\"", "]" ]
[ 961, 4 ]
[ 972, 31 ]
python
en
['en', 'error', 'th']
False
Geo.showocean
(self)
Sets whether or not oceans are filled in color. The 'showocean' property must be specified as a bool (either True, or False) Returns ------- bool
Sets whether or not oceans are filled in color. The 'showocean' property must be specified as a bool (either True, or False)
def showocean(self): """ Sets whether or not oceans are filled in color. The 'showocean' property must be specified as a bool (either True, or False) Returns ------- bool """ return self["showocean"]
[ "def", "showocean", "(", "self", ")", ":", "return", "self", "[", "\"showocean\"", "]" ]
[ 981, 4 ]
[ 992, 32 ]
python
en
['en', 'error', 'th']
False
Geo.showrivers
(self)
Sets whether or not rivers are drawn. The 'showrivers' property must be specified as a bool (either True, or False) Returns ------- bool
Sets whether or not rivers are drawn. The 'showrivers' property must be specified as a bool (either True, or False)
def showrivers(self): """ Sets whether or not rivers are drawn. The 'showrivers' property must be specified as a bool (either True, or False) Returns ------- bool """ return self["showrivers"]
[ "def", "showrivers", "(", "self", ")", ":", "return", "self", "[", "\"showrivers\"", "]" ]
[ 1001, 4 ]
[ 1012, 33 ]
python
en
['en', 'error', 'th']
False
Geo.showsubunits
(self)
Sets whether or not boundaries of subunits within countries (e.g. states, provinces) are drawn. The 'showsubunits' property must be specified as a bool (either True, or False) Returns ------- bool
Sets whether or not boundaries of subunits within countries (e.g. states, provinces) are drawn. The 'showsubunits' property must be specified as a bool (either True, or False)
def showsubunits(self): """ Sets whether or not boundaries of subunits within countries (e.g. states, provinces) are drawn. The 'showsubunits' property must be specified as a bool (either True, or False) Returns ------- bool """ retur...
[ "def", "showsubunits", "(", "self", ")", ":", "return", "self", "[", "\"showsubunits\"", "]" ]
[ 1021, 4 ]
[ 1033, 35 ]
python
en
['en', 'error', 'th']
False
Geo.subunitcolor
(self)
Sets the color of the subunits boundaries. The 'subunitcolor' 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. 'hs...
Sets the color of the subunits boundaries. The 'subunitcolor' 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. 'hs...
def subunitcolor(self): """ Sets the color of the subunits boundaries. The 'subunitcolor' 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", "subunitcolor", "(", "self", ")", ":", "return", "self", "[", "\"subunitcolor\"", "]" ]
[ 1042, 4 ]
[ 1092, 35 ]
python
en
['en', 'error', 'th']
False
Geo.subunitwidth
(self)
Sets the stroke width (in px) of the subunits boundaries. The 'subunitwidth' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float
Sets the stroke width (in px) of the subunits boundaries. The 'subunitwidth' property is a number and may be specified as: - An int or float in the interval [0, inf]
def subunitwidth(self): """ Sets the stroke width (in px) of the subunits boundaries. The 'subunitwidth' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float """ return self["sub...
[ "def", "subunitwidth", "(", "self", ")", ":", "return", "self", "[", "\"subunitwidth\"", "]" ]
[ 1101, 4 ]
[ 1112, 35 ]
python
en
['en', 'error', 'th']
False
Geo.uirevision
(self)
Controls persistence of user-driven changes in the view (projection and center). Defaults to `layout.uirevision`. The 'uirevision' property accepts values of any type Returns ------- Any
Controls persistence of user-driven changes in the view (projection and center). Defaults to `layout.uirevision`. The 'uirevision' property accepts values of any type
def uirevision(self): """ Controls persistence of user-driven changes in the view (projection and center). Defaults to `layout.uirevision`. The 'uirevision' property accepts values of any type Returns ------- Any """ return self["uirevision"]
[ "def", "uirevision", "(", "self", ")", ":", "return", "self", "[", "\"uirevision\"", "]" ]
[ 1121, 4 ]
[ 1132, 33 ]
python
en
['en', 'error', 'th']
False
Geo.visible
(self)
Sets the default visibility of the base layers. The 'visible' property must be specified as a bool (either True, or False) Returns ------- bool
Sets the default visibility of the base layers. The 'visible' property must be specified as a bool (either True, or False)
def visible(self): """ Sets the default visibility of the base layers. The 'visible' property must be specified as a bool (either True, or False) Returns ------- bool """ return self["visible"]
[ "def", "visible", "(", "self", ")", ":", "return", "self", "[", "\"visible\"", "]" ]
[ 1141, 4 ]
[ 1152, 30 ]
python
en
['en', 'error', 'th']
False
Geo.__init__
( self, arg=None, bgcolor=None, center=None, coastlinecolor=None, coastlinewidth=None, countrycolor=None, countrywidth=None, domain=None, fitbounds=None, framecolor=None, framewidth=None, lakecolor=None, land...
Construct a new Geo object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.layout.Geo` bgcolor Set the background color of the map center :c...
Construct a new Geo object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.layout.Geo` bgcolor Set the background color of the map center :c...
def __init__( self, arg=None, bgcolor=None, center=None, coastlinecolor=None, coastlinewidth=None, countrycolor=None, countrywidth=None, domain=None, fitbounds=None, framecolor=None, framewidth=None, lakecolor=None, ...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "bgcolor", "=", "None", ",", "center", "=", "None", ",", "coastlinecolor", "=", "None", ",", "coastlinewidth", "=", "None", ",", "countrycolor", "=", "None", ",", "countrywidth", "=", "None", ...
[ 1254, 4 ]
[ 1557, 34 ]
python
en
['en', 'error', 'th']
False
build_validation_fn
(action_validators, parameter_validators, data_validators)
Prepares function for validation of input values and the action overall, instantiates validators which are not already instantiated. Action_validators can be a sigle validator, Field_validators a List of tuples (string, (validators...)) as prepared in object/actions.py
Prepares function for validation of input values and the action overall, instantiates validators which are not already instantiated. Action_validators can be a sigle validator, Field_validators a List of tuples (string, (validators...)) as prepared in object/actions.py
def build_validation_fn(action_validators, parameter_validators, data_validators): """ Prepares function for validation of input values and the action overall, instantiates validators which are not already instantiated. Action_validators can be a sigle validator, Field_validators a List of tuples (strin...
[ "def", "build_validation_fn", "(", "action_validators", ",", "parameter_validators", ",", "data_validators", ")", ":", "ins_action_validators", "=", "[", "]", "ins_parameter_validators", "=", "{", "}", "ins_data_validators", "=", "{", "}", "# Validators instantiation if t...
[ 3, 0 ]
[ 51, 13 ]
python
en
['en', 'error', 'th']
False
Validator.validation_statement
(self, request, value=None, **kwargs)
Method to validate input value, True -> input is valid, False -> invalid
Method to validate input value, True -> input is valid, False -> invalid
def validation_statement(self, request, value=None, **kwargs): """Method to validate input value, True -> input is valid, False -> invalid""" raise NotImplementedError
[ "def", "validation_statement", "(", "self", ",", "request", ",", "value", "=", "None", ",", "*", "*", "kwargs", ")", ":", "raise", "NotImplementedError" ]
[ 68, 4 ]
[ 70, 33 ]
python
en
['en', 'et', 'en']
True
Validator.error_message
(self, error_field=None, **kwargs)
Message to return in API when validation fails
Message to return in API when validation fails
def error_message(self, error_field=None, **kwargs): """Message to return in API when validation fails""" if error_field: return "Validation failed in Validator \"{}\" on field \"{}\"".format(self.__class__.__name__, error_field) return "Validation failed in Validator \"{}\"".format...
[ "def", "error_message", "(", "self", ",", "error_field", "=", "None", ",", "*", "*", "kwargs", ")", ":", "if", "error_field", ":", "return", "\"Validation failed in Validator \\\"{}\\\" on field \\\"{}\\\"\"", ".", "format", "(", "self", ".", "__class__", ".", "__...
[ 72, 4 ]
[ 77, 86 ]
python
en
['en', 'en', 'en']
True
LogicalConnector.error_message
(self, error_field=None, **kwargs)
Message to return in API when validation fails
Message to return in API when validation fails
def error_message(self, error_field=None, **kwargs): """Message to return in API when validation fails""" if error_field: return "Validation failed in LogicalConnector \"{}\" on field \"{}\"".format(self.__class__.__name__, error_field) return "Validation failed in LogicalConnector ...
[ "def", "error_message", "(", "self", ",", "error_field", "=", "None", ",", "*", "*", "kwargs", ")", ":", "if", "error_field", ":", "return", "\"Validation failed in LogicalConnector \\\"{}\\\" on field \\\"{}\\\"\"", ".", "format", "(", "self", ".", "__class__", "."...
[ 92, 4 ]
[ 97, 93 ]
python
en
['en', 'en', 'en']
True
CmdHome.func
(self)
Implement the command
Implement the command
def func(self): """Implement the command""" caller = self.caller home = caller.home if not home: caller.msg("You have no home!") elif home == caller.location: caller.msg("You are already home!") else: caller.msg("There's no place like h...
[ "def", "func", "(", "self", ")", ":", "caller", "=", "self", ".", "caller", "home", "=", "caller", ".", "home", "if", "not", "home", ":", "caller", ".", "msg", "(", "\"You have no home!\"", ")", "elif", "home", "==", "caller", ".", "location", ":", "...
[ 30, 4 ]
[ 40, 32 ]
python
en
['en', 'en', 'en']
True
CmdLook.func
(self)
Handle the looking.
Handle the looking.
def func(self): """ Handle the looking. """ caller = self.caller if not self.args: target = caller.location if not target: caller.msg("You have no location to look at!") return else: target = caller.searc...
[ "def", "func", "(", "self", ")", ":", "caller", "=", "self", ".", "caller", "if", "not", "self", ".", "args", ":", "target", "=", "caller", ".", "location", "if", "not", "target", ":", "caller", ".", "msg", "(", "\"You have no location to look at!\"", ")...
[ 59, 4 ]
[ 73, 74 ]
python
en
['en', 'error', 'th']
False
CmdNick.parse
(self)
Support escaping of = with \=
Support escaping of = with \=
def parse(self): """ Support escaping of = with \= """ super(CmdNick, self).parse() args = (self.lhs or "") + (" = %s" % self.rhs if self.rhs else "") parts = re.split(r"(?<!\\)=", args, 1) self.rhs = None if len(parts) < 2: self.lhs = parts[0]...
[ "def", "parse", "(", "self", ")", ":", "super", "(", "CmdNick", ",", "self", ")", ".", "parse", "(", ")", "args", "=", "(", "self", ".", "lhs", "or", "\"\"", ")", "+", "(", "\" = %s\"", "%", "self", ".", "rhs", "if", "self", ".", "rhs", "else",...
[ 123, 4 ]
[ 135, 46 ]
python
en
['en', 'error', 'th']
False
CmdNick.func
(self)
Create the nickname
Create the nickname
def func(self): """Create the nickname""" def _cy(string): "add color to the special markers" return re.sub(r"(\$[0-9]+|\*|\?|\[.+?\])", r"|Y\1|n", string) caller = self.caller switches = self.switches nicktypes = [switch for switch in switches if switch...
[ "def", "func", "(", "self", ")", ":", "def", "_cy", "(", "string", ")", ":", "\"add color to the special markers\"", "return", "re", ".", "sub", "(", "r\"(\\$[0-9]+|\\*|\\?|\\[.+?\\])\"", ",", "r\"|Y\\1|n\"", ",", "string", ")", "caller", "=", "self", ".", "ca...
[ 137, 4 ]
[ 314, 31 ]
python
en
['en', 'mi', 'en']
True
CmdInventory.func
(self)
check inventory
check inventory
def func(self): """check inventory""" items = self.caller.contents if not items: string = "You are not carrying anything." else: table = evtable.EvTable(border="header") for item in items: table.add_row("|C%s|n" % item.name, item.db.des...
[ "def", "func", "(", "self", ")", ":", "items", "=", "self", ".", "caller", ".", "contents", "if", "not", "items", ":", "string", "=", "\"You are not carrying anything.\"", "else", ":", "table", "=", "evtable", ".", "EvTable", "(", "border", "=", "\"header\...
[ 332, 4 ]
[ 342, 31 ]
python
en
['es', 'en', 'en']
False
CmdGet.func
(self)
implements the command.
implements the command.
def func(self): """implements the command.""" caller = self.caller if not self.args: caller.msg("Get what?") return obj = caller.search(self.args, location=caller.location) if not obj: return if caller == obj: caller.msg("...
[ "def", "func", "(", "self", ")", ":", "caller", "=", "self", ".", "caller", "if", "not", "self", ".", "args", ":", "caller", ".", "msg", "(", "\"Get what?\"", ")", "return", "obj", "=", "caller", ".", "search", "(", "self", ".", "args", ",", "locat...
[ 360, 4 ]
[ 392, 26 ]
python
en
['en', 'en', 'en']
True
CmdDrop.func
(self)
Implement command
Implement command
def func(self): """Implement command""" caller = self.caller if not self.args: caller.msg("Drop what?") return # Because the DROP command by definition looks for items # in inventory, call the search function using location = caller obj = caller....
[ "def", "func", "(", "self", ")", ":", "caller", "=", "self", ".", "caller", "if", "not", "self", ".", "args", ":", "caller", ".", "msg", "(", "\"Drop what?\"", ")", "return", "# Because the DROP command by definition looks for items", "# in inventory, call the searc...
[ 410, 4 ]
[ 436, 27 ]
python
en
['en', 'en', 'en']
False
CmdGive.func
(self)
Implement give
Implement give
def func(self): """Implement give""" caller = self.caller if not self.args or not self.rhs: caller.msg("Usage: give <inventory object> = <target>") return to_give = caller.search(self.lhs, location=caller, nofound_string="You aren'...
[ "def", "func", "(", "self", ")", ":", "caller", "=", "self", ".", "caller", "if", "not", "self", ".", "args", "or", "not", "self", ".", "rhs", ":", "caller", ".", "msg", "(", "\"Usage: give <inventory object> = <target>\"", ")", "return", "to_give", "=", ...
[ 454, 4 ]
[ 483, 39 ]
python
en
['en', 'en', 'en']
False
CmdSetDesc.func
(self)
add the description
add the description
def func(self): """add the description""" if not self.args: self.caller.msg("You must add a description.") return self.caller.db.desc = self.args.strip() self.caller.msg("You set your description.")
[ "def", "func", "(", "self", ")", ":", "if", "not", "self", ".", "args", ":", "self", ".", "caller", ".", "msg", "(", "\"You must add a description.\"", ")", "return", "self", ".", "caller", ".", "db", ".", "desc", "=", "self", ".", "args", ".", "stri...
[ 501, 4 ]
[ 509, 52 ]
python
en
['en', 'it', 'en']
True
CmdSay.func
(self)
Run the say command
Run the say command
def func(self): """Run the say command""" caller = self.caller if not self.args: caller.msg("Say what?") return speech = self.args # Calling the at_before_say hook on the character speech = caller.at_before_say(speech) # If speech is e...
[ "def", "func", "(", "self", ")", ":", "caller", "=", "self", ".", "caller", "if", "not", "self", ".", "args", ":", "caller", ".", "msg", "(", "\"Say what?\"", ")", "return", "speech", "=", "self", ".", "args", "# Calling the at_before_say hook on the charact...
[ 526, 4 ]
[ 545, 44 ]
python
en
['en', 'en', 'en']
True