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
Violin.points
(self)
If "outliers", only the sample points lying outside the whiskers are shown If "suspectedoutliers", the outlier points are shown and points either less than 4*Q1-3*Q3 or greater than 4*Q3-3*Q1 are highlighted (see `outliercolor`) If "all", all sample points are shown If False, on...
If "outliers", only the sample points lying outside the whiskers are shown If "suspectedoutliers", the outlier points are shown and points either less than 4*Q1-3*Q3 or greater than 4*Q3-3*Q1 are highlighted (see `outliercolor`) If "all", all sample points are shown If False, on...
def points(self): """ If "outliers", only the sample points lying outside the whiskers are shown If "suspectedoutliers", the outlier points are shown and points either less than 4*Q1-3*Q3 or greater than 4*Q3-3*Q1 are highlighted (see `outliercolor`) If "all", all sample ...
[ "def", "points", "(", "self", ")", ":", "return", "self", "[", "\"points\"", "]" ]
[ 854, 4 ]
[ 873, 29 ]
python
en
['en', 'error', 'th']
False
Violin.scalegroup
(self)
If there are multiple violins that should be sized according to to some metric (see `scalemode`), link them by providing a non- empty group id here shared by every trace in the same group. If a violin's `width` is undefined, `scalegroup` will default to the trace's name. In this...
If there are multiple violins that should be sized according to to some metric (see `scalemode`), link them by providing a non- empty group id here shared by every trace in the same group. If a violin's `width` is undefined, `scalegroup` will default to the trace's name. In this...
def scalegroup(self): """ If there are multiple violins that should be sized according to to some metric (see `scalemode`), link them by providing a non- empty group id here shared by every trace in the same group. If a violin's `width` is undefined, `scalegroup` will default to ...
[ "def", "scalegroup", "(", "self", ")", ":", "return", "self", "[", "\"scalegroup\"", "]" ]
[ 882, 4 ]
[ 899, 33 ]
python
en
['en', 'error', 'th']
False
Violin.scalemode
(self)
Sets the metric by which the width of each violin is determined."width" means each violin has the same (max) width*count* means the violins are scaled by the number of sample points makingup each violin. The 'scalemode' property is an enumeration that may be specified as: ...
Sets the metric by which the width of each violin is determined."width" means each violin has the same (max) width*count* means the violins are scaled by the number of sample points makingup each violin. The 'scalemode' property is an enumeration that may be specified as: ...
def scalemode(self): """ Sets the metric by which the width of each violin is determined."width" means each violin has the same (max) width*count* means the violins are scaled by the number of sample points makingup each violin. The 'scalemode' property is an enumera...
[ "def", "scalemode", "(", "self", ")", ":", "return", "self", "[", "\"scalemode\"", "]" ]
[ 908, 4 ]
[ 923, 32 ]
python
en
['en', 'error', 'th']
False
Violin.selected
(self)
The 'selected' property is an instance of Selected that may be specified as: - An instance of :class:`plotly.graph_objs.violin.Selected` - A dict of string/value properties that will be passed to the Selected constructor Supported dict properties: ...
The 'selected' property is an instance of Selected that may be specified as: - An instance of :class:`plotly.graph_objs.violin.Selected` - A dict of string/value properties that will be passed to the Selected constructor Supported dict properties: ...
def selected(self): """ The 'selected' property is an instance of Selected that may be specified as: - An instance of :class:`plotly.graph_objs.violin.Selected` - A dict of string/value properties that will be passed to the Selected constructor Su...
[ "def", "selected", "(", "self", ")", ":", "return", "self", "[", "\"selected\"", "]" ]
[ 932, 4 ]
[ 951, 31 ]
python
en
['en', 'error', 'th']
False
Violin.selectedpoints
(self)
Array containing integer indices of selected points. Has an effect only for traces that support selections. Note that an empty array means an empty selection where the `unselected` are turned on for all points, whereas, any other non-array values means no selection all where the...
Array containing integer indices of selected points. Has an effect only for traces that support selections. Note that an empty array means an empty selection where the `unselected` are turned on for all points, whereas, any other non-array values means no selection all where the...
def selectedpoints(self): """ Array containing integer indices of selected points. Has an effect only for traces that support selections. Note that an empty array means an empty selection where the `unselected` are turned on for all points, whereas, any other non-array values ...
[ "def", "selectedpoints", "(", "self", ")", ":", "return", "self", "[", "\"selectedpoints\"", "]" ]
[ 960, 4 ]
[ 975, 37 ]
python
en
['en', 'error', 'th']
False
Violin.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\"", "]" ]
[ 984, 4 ]
[ 996, 33 ]
python
en
['en', 'error', 'th']
False
Violin.side
(self)
Determines on which side of the position value the density function making up one half of a violin is plotted. Useful when comparing two violin traces under "overlay" mode, where one trace has `side` set to "positive" and the other to "negative". The 'side' property is an e...
Determines on which side of the position value the density function making up one half of a violin is plotted. Useful when comparing two violin traces under "overlay" mode, where one trace has `side` set to "positive" and the other to "negative". The 'side' property is an e...
def side(self): """ Determines on which side of the position value the density function making up one half of a violin is plotted. Useful when comparing two violin traces under "overlay" mode, where one trace has `side` set to "positive" and the other to "negative". ...
[ "def", "side", "(", "self", ")", ":", "return", "self", "[", "\"side\"", "]" ]
[ 1005, 4 ]
[ 1020, 27 ]
python
en
['en', 'error', 'th']
False
Violin.span
(self)
Sets the span in data space for which the density function will be computed. Has an effect only when `spanmode` is set to "manual". The 'span' property is an info array that may be specified as: * a list or tuple of 2 elements where: (0) The 'span[0]' property acce...
Sets the span in data space for which the density function will be computed. Has an effect only when `spanmode` is set to "manual". The 'span' property is an info array that may be specified as: * a list or tuple of 2 elements where: (0) The 'span[0]' property acce...
def span(self): """ Sets the span in data space for which the density function will be computed. Has an effect only when `spanmode` is set to "manual". The 'span' property is an info array that may be specified as: * a list or tuple of 2 elements where: (0) ...
[ "def", "span", "(", "self", ")", ":", "return", "self", "[", "\"span\"", "]" ]
[ 1029, 4 ]
[ 1045, 27 ]
python
en
['en', 'error', 'th']
False
Violin.spanmode
(self)
Sets the method by which the span in data space where the density function will be computed. "soft" means the span goes from the sample's minimum value minus two bandwidths to the sample's maximum value plus two bandwidths. "hard" means the span goes from the sample's minimum to...
Sets the method by which the span in data space where the density function will be computed. "soft" means the span goes from the sample's minimum value minus two bandwidths to the sample's maximum value plus two bandwidths. "hard" means the span goes from the sample's minimum to...
def spanmode(self): """ Sets the method by which the span in data space where the density function will be computed. "soft" means the span goes from the sample's minimum value minus two bandwidths to the sample's maximum value plus two bandwidths. "hard" means the span go...
[ "def", "spanmode", "(", "self", ")", ":", "return", "self", "[", "\"spanmode\"", "]" ]
[ 1054, 4 ]
[ 1072, 31 ]
python
en
['en', 'error', 'th']
False
Violin.stream
(self)
The 'stream' property is an instance of Stream that may be specified as: - An instance of :class:`plotly.graph_objs.violin.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.violin.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.violin.Stream` - A dict of string/value properties that will be passed to the Stream constructor Supported di...
[ "def", "stream", "(", "self", ")", ":", "return", "self", "[", "\"stream\"", "]" ]
[ 1081, 4 ]
[ 1105, 29 ]
python
en
['en', 'error', 'th']
False
Violin.text
(self)
Sets the text elements associated with each sample value. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a "text" flag. ...
Sets the text elements associated with each sample value. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a "text" flag. ...
def text(self): """ Sets the text elements associated with each sample value. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` mu...
[ "def", "text", "(", "self", ")", ":", "return", "self", "[", "\"text\"", "]" ]
[ 1114, 4 ]
[ 1131, 27 ]
python
en
['en', 'error', 'th']
False
Violin.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\"", "]" ]
[ 1140, 4 ]
[ 1151, 30 ]
python
en
['en', 'error', 'th']
False
Violin.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\"", "]" ]
[ 1160, 4 ]
[ 1173, 26 ]
python
en
['en', 'error', 'th']
False
Violin.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\"", "]" ]
[ 1182, 4 ]
[ 1206, 33 ]
python
en
['en', 'error', 'th']
False
Violin.unselected
(self)
The 'unselected' property is an instance of Unselected that may be specified as: - An instance of :class:`plotly.graph_objs.violin.Unselected` - A dict of string/value properties that will be passed to the Unselected constructor Supported dict properties...
The 'unselected' property is an instance of Unselected that may be specified as: - An instance of :class:`plotly.graph_objs.violin.Unselected` - A dict of string/value properties that will be passed to the Unselected constructor Supported dict properties...
def unselected(self): """ The 'unselected' property is an instance of Unselected that may be specified as: - An instance of :class:`plotly.graph_objs.violin.Unselected` - A dict of string/value properties that will be passed to the Unselected constructor ...
[ "def", "unselected", "(", "self", ")", ":", "return", "self", "[", "\"unselected\"", "]" ]
[ 1215, 4 ]
[ 1234, 33 ]
python
en
['en', 'error', 'th']
False
Violin.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\"", "]" ]
[ 1243, 4 ]
[ 1257, 30 ]
python
en
['en', 'error', 'th']
False
Violin.width
(self)
Sets the width of the violin in data coordinates. If 0 (default value) the width is automatically selected based on the positions of other violin traces in the same subplot. The 'width' property is a number and may be specified as: - An int or float in the interval [0, in...
Sets the width of the violin in data coordinates. If 0 (default value) the width is automatically selected based on the positions of other violin traces in the same subplot. The 'width' property is a number and may be specified as: - An int or float in the interval [0, in...
def width(self): """ Sets the width of the violin in data coordinates. If 0 (default value) the width is automatically selected based on the positions of other violin traces in the same subplot. The 'width' property is a number and may be specified as: - An int or ...
[ "def", "width", "(", "self", ")", ":", "return", "self", "[", "\"width\"", "]" ]
[ 1266, 4 ]
[ 1279, 28 ]
python
en
['en', 'error', 'th']
False
Violin.x
(self)
Sets the x sample data or coordinates. See overview for more info. The 'x' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- numpy.ndarray
Sets the x sample data or coordinates. See overview for more info. 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 sample data or coordinates. See overview for more info. The 'x' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- numpy.ndarray """ return self["x"]
[ "def", "x", "(", "self", ")", ":", "return", "self", "[", "\"x\"", "]" ]
[ 1288, 4 ]
[ 1300, 24 ]
python
en
['en', 'error', 'th']
False
Violin.x0
(self)
Sets the x coordinate for single-box traces or the starting coordinate for multi-box traces set using q1/median/q3. See overview for more info. The 'x0' property accepts values of any type Returns ------- Any
Sets the x coordinate for single-box traces or the starting coordinate for multi-box traces set using q1/median/q3. See overview for more info. The 'x0' property accepts values of any type
def x0(self): """ Sets the x coordinate for single-box traces or the starting coordinate for multi-box traces set using q1/median/q3. See overview for more info. The 'x0' property accepts values of any type Returns ------- Any """ ret...
[ "def", "x0", "(", "self", ")", ":", "return", "self", "[", "\"x0\"", "]" ]
[ 1309, 4 ]
[ 1321, 25 ]
python
en
['en', 'error', 'th']
False
Violin.xaxis
(self)
Sets a reference between this trace's x coordinates and a 2D cartesian x axis. If "x" (the default value), the x coordinates refer to `layout.xaxis`. If "x2", the x coordinates refer to `layout.xaxis2`, and so on. The 'xaxis' property is an identifier of a particular ...
Sets a reference between this trace's x coordinates and a 2D cartesian x axis. If "x" (the default value), the x coordinates refer to `layout.xaxis`. If "x2", the x coordinates refer to `layout.xaxis2`, and so on. The 'xaxis' property is an identifier of a particular ...
def xaxis(self): """ Sets a reference between this trace's x coordinates and a 2D cartesian x axis. If "x" (the default value), the x coordinates refer to `layout.xaxis`. If "x2", the x coordinates refer to `layout.xaxis2`, and so on. The 'xaxis' property is an ident...
[ "def", "xaxis", "(", "self", ")", ":", "return", "self", "[", "\"xaxis\"", "]" ]
[ 1330, 4 ]
[ 1346, 28 ]
python
en
['en', 'error', 'th']
False
Violin.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\"", "]" ]
[ 1355, 4 ]
[ 1366, 27 ]
python
en
['en', 'error', 'th']
False
Violin.y
(self)
Sets the y sample data or coordinates. See overview for more info. The 'y' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- numpy.ndarray
Sets the y sample data or coordinates. See overview for more info. 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 sample data or coordinates. See overview for more info. The 'y' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- numpy.ndarray """ return self["y"]
[ "def", "y", "(", "self", ")", ":", "return", "self", "[", "\"y\"", "]" ]
[ 1375, 4 ]
[ 1387, 24 ]
python
en
['en', 'error', 'th']
False
Violin.y0
(self)
Sets the y coordinate for single-box traces or the starting coordinate for multi-box traces set using q1/median/q3. See overview for more info. The 'y0' property accepts values of any type Returns ------- Any
Sets the y coordinate for single-box traces or the starting coordinate for multi-box traces set using q1/median/q3. See overview for more info. The 'y0' property accepts values of any type
def y0(self): """ Sets the y coordinate for single-box traces or the starting coordinate for multi-box traces set using q1/median/q3. See overview for more info. The 'y0' property accepts values of any type Returns ------- Any """ ret...
[ "def", "y0", "(", "self", ")", ":", "return", "self", "[", "\"y0\"", "]" ]
[ 1396, 4 ]
[ 1408, 25 ]
python
en
['en', 'error', 'th']
False
Violin.yaxis
(self)
Sets a reference between this trace's y coordinates and a 2D cartesian y axis. If "y" (the default value), the y coordinates refer to `layout.yaxis`. If "y2", the y coordinates refer to `layout.yaxis2`, and so on. The 'yaxis' property is an identifier of a particular ...
Sets a reference between this trace's y coordinates and a 2D cartesian y axis. If "y" (the default value), the y coordinates refer to `layout.yaxis`. If "y2", the y coordinates refer to `layout.yaxis2`, and so on. The 'yaxis' property is an identifier of a particular ...
def yaxis(self): """ Sets a reference between this trace's y coordinates and a 2D cartesian y axis. If "y" (the default value), the y coordinates refer to `layout.yaxis`. If "y2", the y coordinates refer to `layout.yaxis2`, and so on. The 'yaxis' property is an ident...
[ "def", "yaxis", "(", "self", ")", ":", "return", "self", "[", "\"yaxis\"", "]" ]
[ 1417, 4 ]
[ 1433, 28 ]
python
en
['en', 'error', 'th']
False
Violin.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\"", "]" ]
[ 1442, 4 ]
[ 1453, 27 ]
python
en
['en', 'error', 'th']
False
Violin.__init__
( self, arg=None, alignmentgroup=None, bandwidth=None, box=None, customdata=None, customdatasrc=None, fillcolor=None, hoverinfo=None, hoverinfosrc=None, hoverlabel=None, hoveron=None, hovertemplate=None, hove...
Construct a new Violin object In vertical (horizontal) violin plots, statistics are computed using `y` (`x`) values. By supplying an `x` (`y`) array, one violin per distinct x (y) value is drawn If no `x` (`y`) list is provided, a single violin is drawn. That violin pos...
Construct a new Violin object In vertical (horizontal) violin plots, statistics are computed using `y` (`x`) values. By supplying an `x` (`y`) array, one violin per distinct x (y) value is drawn If no `x` (`y`) list is provided, a single violin is drawn. That violin pos...
def __init__( self, arg=None, alignmentgroup=None, bandwidth=None, box=None, customdata=None, customdatasrc=None, fillcolor=None, hoverinfo=None, hoverinfosrc=None, hoverlabel=None, hoveron=None, hovertemplate=None, ...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "alignmentgroup", "=", "None", ",", "bandwidth", "=", "None", ",", "box", "=", "None", ",", "customdata", "=", "None", ",", "customdatasrc", "=", "None", ",", "fillcolor", "=", "None", ",", ...
[ 1741, 4 ]
[ 2342, 34 ]
python
en
['en', 'error', 'th']
False
_ev_save
(caller, buf)
Save and add the callback.
Save and add the callback.
def _ev_save(caller, buf): """Save and add the callback.""" lock = "perm({}) or perm(events_without_validation)".format( WITHOUT_VALIDATION) autovalid = caller.locks.check_lockstring(caller, lock) callback = caller.db._callback handler = get_event_handler() if not handler or not callback...
[ "def", "_ev_save", "(", "caller", ",", "buf", ")", ":", "lock", "=", "\"perm({}) or perm(events_without_validation)\"", ".", "format", "(", "WITHOUT_VALIDATION", ")", "autovalid", "=", "caller", ".", "locks", ".", "check_lockstring", "(", "caller", ",", "lock", ...
[ 529, 0 ]
[ 547, 15 ]
python
en
['en', 'en', 'en']
True
CmdCallback.get_help
(self, caller, cmdset)
Return the help message for this command and this caller. The help text of this specific command will vary depending on user permission. Args: caller (Object or Account): the caller asking for help on the command. cmdset (CmdSet): the command set (if you need a...
Return the help message for this command and this caller.
def get_help(self, caller, cmdset): """ Return the help message for this command and this caller. The help text of this specific command will vary depending on user permission. Args: caller (Object or Account): the caller asking for help on the command. ...
[ "def", "get_help", "(", "self", ",", "caller", ",", "cmdset", ")", ":", "lock", "=", "\"perm({}) or perm(callbacks_validating)\"", ".", "format", "(", "VALIDATING", ")", "validator", "=", "caller", ".", "locks", ".", "check_lockstring", "(", "caller", ",", "lo...
[ 89, 4 ]
[ 124, 19 ]
python
en
['en', 'error', 'th']
False
CmdCallback.func
(self)
Command body.
Command body.
def func(self): """Command body.""" caller = self.caller lock = "perm({}) or perm(events_validating)".format(VALIDATING) validator = caller.locks.check_lockstring(caller, lock) lock = "perm({}) or perm(events_without_validation)".format( WITHOUT_VALIDATION) au...
[ "def", "func", "(", "self", ")", ":", "caller", "=", "self", ".", "caller", "lock", "=", "\"perm({}) or perm(events_validating)\"", ".", "format", "(", "VALIDATING", ")", "validator", "=", "caller", ".", "locks", ".", "check_lockstring", "(", "caller", ",", ...
[ 126, 4 ]
[ 174, 47 ]
python
en
['en', 'sr', 'en']
False
CmdCallback.list_callbacks
(self)
Display the list of callbacks connected to the object.
Display the list of callbacks connected to the object.
def list_callbacks(self): """Display the list of callbacks connected to the object.""" obj = self.obj callback_name = self.callback_name parameters = self.parameters callbacks = self.handler.get_callbacks(obj) types = self.handler.get_events(obj) if callback_name...
[ "def", "list_callbacks", "(", "self", ")", ":", "obj", "=", "self", ".", "obj", "callback_name", "=", "self", ".", "callback_name", "parameters", "=", "self", ".", "parameters", "callbacks", "=", "self", ".", "handler", ".", "get_callbacks", "(", "obj", ")...
[ 176, 4 ]
[ 271, 36 ]
python
en
['en', 'en', 'en']
True
CmdCallback.add_callback
(self)
Add a callback.
Add a callback.
def add_callback(self): """Add a callback.""" obj = self.obj callback_name = self.callback_name types = self.handler.get_events(obj) # Check that the callback exists if not callback_name.startswith("chain_") and callback_name not in types: self.msg("The callb...
[ "def", "add_callback", "(", "self", ")", ":", "obj", "=", "self", ".", "obj", "callback_name", "=", "self", ".", "callback_name", "types", "=", "self", ".", "handler", ".", "get_events", "(", "obj", ")", "# Check that the callback exists", "if", "not", "call...
[ 273, 4 ]
[ 300, 77 ]
python
en
['en', 'ig', 'en']
True
CmdCallback.edit_callback
(self)
Edit a callback.
Edit a callback.
def edit_callback(self): """Edit a callback.""" obj = self.obj callback_name = self.callback_name parameters = self.parameters callbacks = self.handler.get_callbacks(obj) types = self.handler.get_events(obj) # If no callback name is specified, display the list of...
[ "def", "edit_callback", "(", "self", ")", ":", "obj", "=", "self", ".", "obj", "callback_name", "=", "self", ".", "callback_name", "parameters", "=", "self", ".", "parameters", "callbacks", "=", "self", ".", "handler", ".", "get_callbacks", "(", "obj", ")"...
[ 302, 4 ]
[ 364, 77 ]
python
en
['en', 'bg', 'en']
True
CmdCallback.del_callback
(self)
Delete a callback.
Delete a callback.
def del_callback(self): """Delete a callback.""" obj = self.obj callback_name = self.callback_name parameters = self.parameters callbacks = self.handler.get_callbacks(obj) types = self.handler.get_events(obj) # If no callback name is specified, display the list o...
[ "def", "del_callback", "(", "self", ")", ":", "obj", "=", "self", ".", "obj", "callback_name", "=", "self", ".", "callback_name", "parameters", "=", "self", ".", "parameters", "callbacks", "=", "self", ".", "handler", ".", "get_callbacks", "(", "obj", ")",...
[ 366, 4 ]
[ 420, 44 ]
python
en
['en', 'it', 'en']
True
CmdCallback.accept_callback
(self)
Accept a callback.
Accept a callback.
def accept_callback(self): """Accept a callback.""" obj = self.obj callback_name = self.callback_name parameters = self.parameters # If no object, display the list of callbacks to be checked if obj is None: table = EvTable("ID", "Type", "Object", "Name", "Upd...
[ "def", "accept_callback", "(", "self", ")", ":", "obj", "=", "self", ".", "obj", "callback_name", "=", "self", ".", "callback_name", "parameters", "=", "self", ".", "parameters", "# If no object, display the list of callbacks to be checked", "if", "obj", "is", "None...
[ 422, 4 ]
[ 498, 48 ]
python
en
['es', 'it', 'en']
False
CmdCallback.list_tasks
(self)
List the active tasks.
List the active tasks.
def list_tasks(self): """List the active tasks.""" obj = self.obj callback_name = self.callback_name handler = self.handler tasks = [(k, v[0], v[1], v[2]) for k, v in handler.db.tasks.items()] if obj: tasks = [task for task in tasks if task[2] is obj] ...
[ "def", "list_tasks", "(", "self", ")", ":", "obj", "=", "self", ".", "obj", "callback_name", "=", "self", ".", "callback_name", "handler", "=", "self", ".", "handler", "tasks", "=", "[", "(", "k", ",", "v", "[", "0", "]", ",", "v", "[", "1", "]",...
[ 500, 4 ]
[ 520, 32 ]
python
en
['en', 'ga', 'en']
True
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.bar.hoverlabel.Font` color col...
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
WsTransport.__init__
(self, host: str, port: int, create_session, **kwargs)
Initialize an inbound WebSocket transport instance. Args: host: Host to listen on port: Port to listen on create_session: Method to create a new inbound session
Initialize an inbound WebSocket transport instance.
def __init__(self, host: str, port: int, create_session, **kwargs) -> None: """ Initialize an inbound WebSocket transport instance. Args: host: Host to listen on port: Port to listen on create_session: Method to create a new inbound session """ ...
[ "def", "__init__", "(", "self", ",", "host", ":", "str", ",", "port", ":", "int", ",", "create_session", ",", "*", "*", "kwargs", ")", "->", "None", ":", "super", "(", ")", ".", "__init__", "(", "\"ws\"", ",", "create_session", ",", "*", "*", "kwar...
[ 17, 4 ]
[ 30, 38 ]
python
en
['en', 'error', 'th']
False
WsTransport.scheme
(self)
Accessor for this transport's scheme.
Accessor for this transport's scheme.
def scheme(self): """Accessor for this transport's scheme.""" return self._scheme
[ "def", "scheme", "(", "self", ")", ":", "return", "self", ".", "_scheme" ]
[ 35, 4 ]
[ 37, 27 ]
python
en
['en', 'en', 'en']
True
WsTransport.make_application
(self)
Construct the aiohttp application.
Construct the aiohttp application.
async def make_application(self) -> web.Application: """Construct the aiohttp application.""" app = web.Application() app.add_routes([web.get("/", self.inbound_message_handler)]) return app
[ "async", "def", "make_application", "(", "self", ")", "->", "web", ".", "Application", ":", "app", "=", "web", ".", "Application", "(", ")", "app", ".", "add_routes", "(", "[", "web", ".", "get", "(", "\"/\"", ",", "self", ".", "inbound_message_handler",...
[ 39, 4 ]
[ 43, 18 ]
python
en
['en', 'en', 'en']
True
WsTransport.start
(self)
Start this transport. Raises: InboundTransportSetupError: If there was an error starting the webserver
Start this transport.
async def start(self) -> None: """ Start this transport. Raises: InboundTransportSetupError: If there was an error starting the webserver """ app = await self.make_application() runner = web.AppRunner(app) await runner.setup() self.site = web...
[ "async", "def", "start", "(", "self", ")", "->", "None", ":", "app", "=", "await", "self", ".", "make_application", "(", ")", "runner", "=", "web", ".", "AppRunner", "(", "app", ")", "await", "runner", ".", "setup", "(", ")", "self", ".", "site", "...
[ 45, 4 ]
[ 63, 13 ]
python
en
['en', 'error', 'th']
False
WsTransport.stop
(self)
Stop this transport.
Stop this transport.
async def stop(self) -> None: """Stop this transport.""" if self.site: await self.site.stop() self.site = None
[ "async", "def", "stop", "(", "self", ")", "->", "None", ":", "if", "self", ".", "site", ":", "await", "self", ".", "site", ".", "stop", "(", ")", "self", ".", "site", "=", "None" ]
[ 65, 4 ]
[ 69, 28 ]
python
en
['en', 'en', 'en']
True
WsTransport.inbound_message_handler
(self, request)
Message handler for inbound messages. Args: request: aiohttp request object Returns: The web response
Message handler for inbound messages.
async def inbound_message_handler(self, request): """ Message handler for inbound messages. Args: request: aiohttp request object Returns: The web response """ ws = web.WebSocketResponse() await ws.prepare(request) loop = asynci...
[ "async", "def", "inbound_message_handler", "(", "self", ",", "request", ")", ":", "ws", "=", "web", ".", "WebSocketResponse", "(", ")", "await", "ws", ".", "prepare", "(", "request", ")", "loop", "=", "asyncio", ".", "get_event_loop", "(", ")", "client_inf...
[ 71, 4 ]
[ 137, 17 ]
python
en
['en', 'error', 'th']
False
Naws.__init__
(self, protocol)
initialize NAWS by storing protocol on ourselves and calling the client to see if it supports NAWS. Args: protocol (Protocol): The active protocol instance.
initialize NAWS by storing protocol on ourselves and calling the client to see if it supports NAWS.
def __init__(self, protocol): """ initialize NAWS by storing protocol on ourselves and calling the client to see if it supports NAWS. Args: protocol (Protocol): The active protocol instance. """ self.naws_step = 0 self.protocol = protocol sel...
[ "def", "__init__", "(", "self", ",", "protocol", ")", ":", "self", ".", "naws_step", "=", "0", "self", ".", "protocol", "=", "protocol", "self", ".", "protocol", ".", "protocol_flags", "[", "'SCREENWIDTH'", "]", "=", "{", "0", ":", "DEFAULT_WIDTH", "}", ...
[ 30, 4 ]
[ 44, 71 ]
python
en
['en', 'error', 'th']
False
Naws.no_naws
(self, option)
Called when client is not reporting NAWS. This is the normal operation. Args: option (Option): Not used.
Called when client is not reporting NAWS. This is the normal operation.
def no_naws(self, option): """ Called when client is not reporting NAWS. This is the normal operation. Args: option (Option): Not used. """ self.protocol.handshake_done()
[ "def", "no_naws", "(", "self", ",", "option", ")", ":", "self", ".", "protocol", ".", "handshake_done", "(", ")" ]
[ 46, 4 ]
[ 55, 38 ]
python
en
['en', 'error', 'th']
False
Naws.do_naws
(self, option)
Client wants to negotiate all the NAWS information. Args: option (Option): Not used.
Client wants to negotiate all the NAWS information.
def do_naws(self, option): """ Client wants to negotiate all the NAWS information. Args: option (Option): Not used. """ self.protocol.handshake_done()
[ "def", "do_naws", "(", "self", ",", "option", ")", ":", "self", ".", "protocol", ".", "handshake_done", "(", ")" ]
[ 57, 4 ]
[ 65, 38 ]
python
en
['en', 'error', 'th']
False
Naws.negotiate_sizes
(self, options)
Step through the NAWS handshake. Args: option (list): The incoming NAWS options.
Step through the NAWS handshake.
def negotiate_sizes(self, options): """ Step through the NAWS handshake. Args: option (list): The incoming NAWS options. """ if len(options) == 4: # NAWS is negotiated with 16bit words width = options[0] + options[1] self.protocol...
[ "def", "negotiate_sizes", "(", "self", ",", "options", ")", ":", "if", "len", "(", "options", ")", "==", "4", ":", "# NAWS is negotiated with 16bit words", "width", "=", "options", "[", "0", "]", "+", "options", "[", "1", "]", "self", ".", "protocol", "....
[ 67, 4 ]
[ 80, 91 ]
python
en
['en', 'error', 'th']
False
TestMenuRequest.test_init
(self)
Test initialization.
Test initialization.
def test_init(self): """Test initialization.""" pass
[ "def", "test_init", "(", "self", ")", ":", "pass" ]
[ 10, 4 ]
[ 12, 12 ]
python
co
['es', 'co', 'en']
False
TestMenuRequest.test_deserialize
(self, mock_menu_request_schema_load)
Test deserialization.
Test deserialization.
def test_deserialize(self, mock_menu_request_schema_load): """ Test deserialization. """ obj = {"obj": "obj"} request = MenuRequest.deserialize(obj) mock_menu_request_schema_load.assert_called_once_with(obj) assert request is mock_menu_request_schema_load.return...
[ "def", "test_deserialize", "(", "self", ",", "mock_menu_request_schema_load", ")", ":", "obj", "=", "{", "\"obj\"", ":", "\"obj\"", "}", "request", "=", "MenuRequest", ".", "deserialize", "(", "obj", ")", "mock_menu_request_schema_load", ".", "assert_called_once_wit...
[ 19, 4 ]
[ 28, 68 ]
python
en
['en', 'error', 'th']
False
TestMenuRequest.test_serialize
(self, mock_menu_request_schema_dump)
Test serialization.
Test serialization.
def test_serialize(self, mock_menu_request_schema_dump): """ Test serialization. """ request_dict = self.menu_request.serialize() mock_menu_request_schema_dump.assert_called_once_with(self.menu_request) assert request_dict is mock_menu_request_schema_dump.return_value
[ "def", "test_serialize", "(", "self", ",", "mock_menu_request_schema_dump", ")", ":", "request_dict", "=", "self", ".", "menu_request", ".", "serialize", "(", ")", "mock_menu_request_schema_dump", ".", "assert_called_once_with", "(", "self", ".", "menu_request", ")", ...
[ 31, 4 ]
[ 37, 73 ]
python
en
['en', 'error', 'th']
False
Bottle2neck.__init__
(self, inplanes, planes, scales=4, base_width=26, base_channels=64, stage_type='normal', **kwargs)
Bottle2neck block for Res2Net. If style is "pytorch", the stride-two layer is the 3x3 conv layer, if it is "caffe", the stride-two layer is the first 1x1 conv layer.
Bottle2neck block for Res2Net.
def __init__(self, inplanes, planes, scales=4, base_width=26, base_channels=64, stage_type='normal', **kwargs): """Bottle2neck block for Res2Net. If style is "pytorch", the stride-two ...
[ "def", "__init__", "(", "self", ",", "inplanes", ",", "planes", ",", "scales", "=", "4", ",", "base_width", "=", "26", ",", "base_channels", "=", "64", ",", "stage_type", "=", "'normal'", ",", "*", "*", "kwargs", ")", ":", "super", "(", "Bottle2neck", ...
[ 15, 4 ]
[ 101, 38 ]
python
en
['en', 'no', 'en']
True
Bottle2neck.forward
(self, x)
Forward function.
Forward function.
def forward(self, x): """Forward function.""" def _inner_forward(x): identity = x out = self.conv1(x) out = self.norm1(out) out = self.relu(out) if self.with_plugins: out = self.forward_plugin(out, self.after_conv1_plugin_nam...
[ "def", "forward", "(", "self", ",", "x", ")", ":", "def", "_inner_forward", "(", "x", ")", ":", "identity", "=", "x", "out", "=", "self", ".", "conv1", "(", "x", ")", "out", "=", "self", ".", "norm1", "(", "out", ")", "out", "=", "self", ".", ...
[ 103, 4 ]
[ 157, 18 ]
python
en
['en', 'cy', 'en']
False
Attachment.change_url
(self, url: str, description: str = None)
change the url of that attachment |methcoro| Args: url: url you want to change description: *optional* description for your attachment Raises: ValueError: url must not be None APIException
change the url of that attachment
async def change_url(self, url: str, description: str = None): """ change the url of that attachment |methcoro| Args: url: url you want to change description: *optional* description for your attachment Raises: ValueError: url must not be None ...
[ "async", "def", "change_url", "(", "self", ",", "url", ":", "str", ",", "description", ":", "str", "=", "None", ")", ":", "await", "self", ".", "_change", "(", "url", "=", "url", ",", "description", "=", "description", ")" ]
[ 41, 4 ]
[ 55, 60 ]
python
en
['en', 'en', 'en']
True
Attachment.change_text
(self, text: str)
change the text / description of that attachment |methcoro| Args: text: content you want to add / modify (description) Raises: ValueError: text must not be None APIException
change the text / description of that attachment
async def change_text(self, text: str): """ change the text / description of that attachment |methcoro| Args: text: content you want to add / modify (description) Raises: ValueError: text must not be None APIException """ await self...
[ "async", "def", "change_text", "(", "self", ",", "text", ":", "str", ")", ":", "await", "self", ".", "_change", "(", "description", "=", "text", ")" ]
[ 57, 4 ]
[ 70, 44 ]
python
en
['en', 'fr', 'en']
True
Attachment.change_file
(self, file_path: str, description: str = None)
change the file of that attachment |methcoro| Warning: |unstable| Args: file_path: path to the file you want to add / modify description: *optional* description for your attachment Raises: ValueError: file_path must not be None ...
change the file of that attachment
async def change_file(self, file_path: str, description: str = None): """ change the file of that attachment |methcoro| Warning: |unstable| Args: file_path: path to the file you want to add / modify description: *optional* description for your attac...
[ "async", "def", "change_file", "(", "self", ",", "file_path", ":", "str", ",", "description", ":", "str", "=", "None", ")", ":", "with", "open", "(", "file_path", ",", "'rb'", ")", "as", "f", ":", "await", "self", ".", "_change", "(", "asset", "=", ...
[ 74, 4 ]
[ 92, 46 ]
python
en
['en', 'en', 'en']
True
Lighting.ambient
(self)
Ambient light increases overall color visibility but can wash out the image. The 'ambient' property is a number and may be specified as: - An int or float in the interval [0, 1] Returns ------- int|float
Ambient light increases overall color visibility but can wash out the image. The 'ambient' property is a number and may be specified as: - An int or float in the interval [0, 1]
def ambient(self): """ Ambient light increases overall color visibility but can wash out the image. The 'ambient' property is a number and may be specified as: - An int or float in the interval [0, 1] Returns ------- int|float """ r...
[ "def", "ambient", "(", "self", ")", ":", "return", "self", "[", "\"ambient\"", "]" ]
[ 23, 4 ]
[ 35, 30 ]
python
en
['en', 'error', 'th']
False
Lighting.diffuse
(self)
Represents the extent that incident rays are reflected in a range of angles. The 'diffuse' property is a number and may be specified as: - An int or float in the interval [0, 1] Returns ------- int|float
Represents the extent that incident rays are reflected in a range of angles. The 'diffuse' property is a number and may be specified as: - An int or float in the interval [0, 1]
def diffuse(self): """ Represents the extent that incident rays are reflected in a range of angles. The 'diffuse' property is a number and may be specified as: - An int or float in the interval [0, 1] Returns ------- int|float """ r...
[ "def", "diffuse", "(", "self", ")", ":", "return", "self", "[", "\"diffuse\"", "]" ]
[ 44, 4 ]
[ 56, 30 ]
python
en
['en', 'error', 'th']
False
Lighting.facenormalsepsilon
(self)
Epsilon for face normals calculation avoids math issues arising from degenerate geometry. The 'facenormalsepsilon' property is a number and may be specified as: - An int or float in the interval [0, 1] Returns ------- int|float
Epsilon for face normals calculation avoids math issues arising from degenerate geometry. The 'facenormalsepsilon' property is a number and may be specified as: - An int or float in the interval [0, 1]
def facenormalsepsilon(self): """ Epsilon for face normals calculation avoids math issues arising from degenerate geometry. The 'facenormalsepsilon' property is a number and may be specified as: - An int or float in the interval [0, 1] Returns ------- ...
[ "def", "facenormalsepsilon", "(", "self", ")", ":", "return", "self", "[", "\"facenormalsepsilon\"", "]" ]
[ 65, 4 ]
[ 77, 41 ]
python
en
['en', 'error', 'th']
False
Lighting.fresnel
(self)
Represents the reflectance as a dependency of the viewing angle; e.g. paper is reflective when viewing it from the edge of the paper (almost 90 degrees), causing shine. The 'fresnel' property is a number and may be specified as: - An int or float in the interval [0, 5] ...
Represents the reflectance as a dependency of the viewing angle; e.g. paper is reflective when viewing it from the edge of the paper (almost 90 degrees), causing shine. The 'fresnel' property is a number and may be specified as: - An int or float in the interval [0, 5]
def fresnel(self): """ Represents the reflectance as a dependency of the viewing angle; e.g. paper is reflective when viewing it from the edge of the paper (almost 90 degrees), causing shine. The 'fresnel' property is a number and may be specified as: - An int or f...
[ "def", "fresnel", "(", "self", ")", ":", "return", "self", "[", "\"fresnel\"", "]" ]
[ 86, 4 ]
[ 99, 30 ]
python
en
['en', 'error', 'th']
False
Lighting.roughness
(self)
Alters specular reflection; the rougher the surface, the wider and less contrasty the shine. The 'roughness' property is a number and may be specified as: - An int or float in the interval [0, 1] Returns ------- int|float
Alters specular reflection; the rougher the surface, the wider and less contrasty the shine. The 'roughness' property is a number and may be specified as: - An int or float in the interval [0, 1]
def roughness(self): """ Alters specular reflection; the rougher the surface, the wider and less contrasty the shine. The 'roughness' property is a number and may be specified as: - An int or float in the interval [0, 1] Returns ------- int|float ...
[ "def", "roughness", "(", "self", ")", ":", "return", "self", "[", "\"roughness\"", "]" ]
[ 108, 4 ]
[ 120, 32 ]
python
en
['en', 'error', 'th']
False
Lighting.specular
(self)
Represents the level that incident rays are reflected in a single direction, causing shine. The 'specular' property is a number and may be specified as: - An int or float in the interval [0, 2] Returns ------- int|float
Represents the level that incident rays are reflected in a single direction, causing shine. The 'specular' property is a number and may be specified as: - An int or float in the interval [0, 2]
def specular(self): """ Represents the level that incident rays are reflected in a single direction, causing shine. The 'specular' property is a number and may be specified as: - An int or float in the interval [0, 2] Returns ------- int|float ...
[ "def", "specular", "(", "self", ")", ":", "return", "self", "[", "\"specular\"", "]" ]
[ 129, 4 ]
[ 141, 31 ]
python
en
['en', 'error', 'th']
False
Lighting.vertexnormalsepsilon
(self)
Epsilon for vertex normals calculation avoids math issues arising from degenerate geometry. The 'vertexnormalsepsilon' property is a number and may be specified as: - An int or float in the interval [0, 1] Returns ------- int|float
Epsilon for vertex normals calculation avoids math issues arising from degenerate geometry. The 'vertexnormalsepsilon' property is a number and may be specified as: - An int or float in the interval [0, 1]
def vertexnormalsepsilon(self): """ Epsilon for vertex normals calculation avoids math issues arising from degenerate geometry. The 'vertexnormalsepsilon' property is a number and may be specified as: - An int or float in the interval [0, 1] Returns ------...
[ "def", "vertexnormalsepsilon", "(", "self", ")", ":", "return", "self", "[", "\"vertexnormalsepsilon\"", "]" ]
[ 150, 4 ]
[ 162, 43 ]
python
en
['en', 'error', 'th']
False
Lighting.__init__
( self, arg=None, ambient=None, diffuse=None, facenormalsepsilon=None, fresnel=None, roughness=None, specular=None, vertexnormalsepsilon=None, **kwargs )
Construct a new Lighting object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.isosurface.Lighting` ambient Ambient light increases overall color v...
Construct a new Lighting object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.isosurface.Lighting` ambient Ambient light increases overall color v...
def __init__( self, arg=None, ambient=None, diffuse=None, facenormalsepsilon=None, fresnel=None, roughness=None, specular=None, vertexnormalsepsilon=None, **kwargs ): """ Construct a new Lighting object ...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "ambient", "=", "None", ",", "diffuse", "=", "None", ",", "facenormalsepsilon", "=", "None", ",", "fresnel", "=", "None", ",", "roughness", "=", "None", ",", "specular", "=", "None", ",", ...
[ 198, 4 ]
[ 311, 34 ]
python
en
['en', 'error', 'th']
False
RouteQueryResponseHandler.handle
(self, context: RequestContext, responder: BaseResponder)
Message handler implementation.
Message handler implementation.
async def handle(self, context: RequestContext, responder: BaseResponder): """Message handler implementation.""" self._logger.debug( "%s called with context %s", self.__class__.__name__, context ) assert isinstance(context.message, RouteQueryResponse) if not context....
[ "async", "def", "handle", "(", "self", ",", "context", ":", "RequestContext", ",", "responder", ":", "BaseResponder", ")", ":", "self", ".", "_logger", ".", "debug", "(", "\"%s called with context %s\"", ",", "self", ".", "__class__", ".", "__name__", ",", "...
[ 15, 4 ]
[ 25, 13 ]
python
da
['da', 'da', 'en']
True
Stream.maxpoints
(self)
Sets the maximum number of points to keep on the plots from an incoming stream. If `maxpoints` is set to 50, only the newest 50 points will be displayed on the plot. The 'maxpoints' property is a number and may be specified as: - An int or float in the interval [0, 10000]...
Sets the maximum number of points to keep on the plots from an incoming stream. If `maxpoints` is set to 50, only the newest 50 points will be displayed on the plot. The 'maxpoints' property is a number and may be specified as: - An int or float in the interval [0, 10000]
def maxpoints(self): """ Sets the maximum number of points to keep on the plots from an incoming stream. If `maxpoints` is set to 50, only the newest 50 points will be displayed on the plot. The 'maxpoints' property is a number and may be specified as: - An int or ...
[ "def", "maxpoints", "(", "self", ")", ":", "return", "self", "[", "\"maxpoints\"", "]" ]
[ 15, 4 ]
[ 28, 32 ]
python
en
['en', 'error', 'th']
False
Stream.token
(self)
The stream id number links a data trace on a plot with a stream. See https://chart-studio.plotly.com/settings for more details. The 'token' property is a string and must be specified as: - A non-empty string Returns ------- str
The stream id number links a data trace on a plot with a stream. See https://chart-studio.plotly.com/settings for more details. The 'token' property is a string and must be specified as: - A non-empty string
def token(self): """ The stream id number links a data trace on a plot with a stream. See https://chart-studio.plotly.com/settings for more details. The 'token' property is a string and must be specified as: - A non-empty string Returns ------- ...
[ "def", "token", "(", "self", ")", ":", "return", "self", "[", "\"token\"", "]" ]
[ 37, 4 ]
[ 50, 28 ]
python
en
['en', 'error', 'th']
False
Stream.__init__
(self, arg=None, maxpoints=None, token=None, **kwargs)
Construct a new Stream object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.pointcloud.Stream` maxpoints Sets the maximum number of points to keep...
Construct a new Stream object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.pointcloud.Stream` maxpoints Sets the maximum number of points to keep...
def __init__(self, arg=None, maxpoints=None, token=None, **kwargs): """ Construct a new Stream object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.pointcloud....
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "maxpoints", "=", "None", ",", "token", "=", "None", ",", "*", "*", "kwargs", ")", ":", "super", "(", "Stream", ",", "self", ")", ".", "__init__", "(", "\"stream\"", ")", "if", "\"_paren...
[ 72, 4 ]
[ 140, 34 ]
python
en
['en', 'error', 'th']
False
import_cmdset
(path, cmdsetobj, emit_to_obj=None, no_logging=False)
This helper function is used by the cmdsethandler to load a cmdset instance from a python module, given a python_path. It's usually accessed through the cmdsethandler's add() and add_default() methods. path - This is the full path to the cmdset object on python dot-form Args: path (str): T...
This helper function is used by the cmdsethandler to load a cmdset instance from a python module, given a python_path. It's usually accessed through the cmdsethandler's add() and add_default() methods. path - This is the full path to the cmdset object on python dot-form
def import_cmdset(path, cmdsetobj, emit_to_obj=None, no_logging=False): """ This helper function is used by the cmdsethandler to load a cmdset instance from a python module, given a python_path. It's usually accessed through the cmdsethandler's add() and add_default() methods. path - This is the ful...
[ "def", "import_cmdset", "(", "path", ",", "cmdsetobj", ",", "emit_to_obj", "=", "None", ",", "no_logging", "=", "False", ")", ":", "python_paths", "=", "[", "path", "]", "+", "[", "\"%s.%s\"", "%", "(", "prefix", ",", "path", ")", "for", "prefix", "in"...
[ 134, 0 ]
[ 239, 15 ]
python
en
['en', 'error', 'th']
False
CmdSetHandler.__init__
(self, obj, init_true=True)
This method is called whenever an object is recreated. Args: obj (Object): An reference to the game object this handler belongs to. init_true (bool, optional): Set when the handler is initializing and loads the current cmdset.
This method is called whenever an object is recreated.
def __init__(self, obj, init_true=True): """ This method is called whenever an object is recreated. Args: obj (Object): An reference to the game object this handler belongs to. init_true (bool, optional): Set when the handler is initializing ...
[ "def", "__init__", "(", "self", ",", "obj", ",", "init_true", "=", "True", ")", ":", "self", ".", "obj", "=", "obj", "# the id of the \"merged\" current cmdset for easy access.", "self", ".", "key", "=", "None", "# this holds the \"merged\" current command set", "self...
[ 256, 4 ]
[ 282, 39 ]
python
en
['en', 'error', 'th']
False
CmdSetHandler.__str__
(self)
Display current commands
Display current commands
def __str__(self): """ Display current commands """ string = "" mergelist = [] if len(self.cmdset_stack) > 1: # We have more than one cmdset in stack; list them all for snum, cmdset in enumerate(self.cmdset_stack): mergetype = self...
[ "def", "__str__", "(", "self", ")", ":", "string", "=", "\"\"", "mergelist", "=", "[", "]", "if", "len", "(", "self", ".", "cmdset_stack", ")", ">", "1", ":", "# We have more than one cmdset in stack; list them all", "for", "snum", ",", "cmdset", "in", "enum...
[ 284, 4 ]
[ 327, 29 ]
python
en
['en', 'error', 'th']
False
CmdSetHandler._import_cmdset
(self, cmdset_path, emit_to_obj=None)
Method wrapper for import_cmdset; Loads a cmdset from a module. Args: cmdset_path (str): The python path to an cmdset object. emit_to_obj (Object): The object to send error messages to Returns: cmdset (Cmdset): The imported cmdset.
Method wrapper for import_cmdset; Loads a cmdset from a module.
def _import_cmdset(self, cmdset_path, emit_to_obj=None): """ Method wrapper for import_cmdset; Loads a cmdset from a module. Args: cmdset_path (str): The python path to an cmdset object. emit_to_obj (Object): The object to send error messages to Returns:...
[ "def", "_import_cmdset", "(", "self", ",", "cmdset_path", ",", "emit_to_obj", "=", "None", ")", ":", "if", "not", "emit_to_obj", ":", "emit_to_obj", "=", "self", ".", "obj", "return", "import_cmdset", "(", "cmdset_path", ",", "self", ".", "obj", ",", "emit...
[ 329, 4 ]
[ 344, 64 ]
python
en
['en', 'error', 'th']
False
CmdSetHandler.update
(self, init_mode=False)
Re-adds all sets in the handler to have an updated current set. Args: init_mode (bool, optional): Used automatically right after this handler was created; it imports all permanent cmdsets from the database.
Re-adds all sets in the handler to have an updated current set.
def update(self, init_mode=False): """ Re-adds all sets in the handler to have an updated current set. Args: init_mode (bool, optional): Used automatically right after this handler was created; it imports all permanent cmdsets from the databas...
[ "def", "update", "(", "self", ",", "init_mode", "=", "False", ")", ":", "if", "init_mode", ":", "# reimport all permanent cmdsets", "storage", "=", "self", ".", "obj", ".", "cmdset_storage", "if", "storage", ":", "self", ".", "cmdset_stack", "=", "[", "]", ...
[ 346, 4 ]
[ 396, 34 ]
python
en
['en', 'error', 'th']
False
CmdSetHandler.add
(self, cmdset, emit_to_obj=None, permanent=False, default_cmdset=False)
Add a cmdset to the handler, on top of the old ones, unless it is set as the default one (it will then end up at the bottom of the stack) Args: cmdset (CmdSet or str): Can be a cmdset object or the python path to such an object. emit_to_obj (Object, opti...
Add a cmdset to the handler, on top of the old ones, unless it is set as the default one (it will then end up at the bottom of the stack)
def add(self, cmdset, emit_to_obj=None, permanent=False, default_cmdset=False): """ Add a cmdset to the handler, on top of the old ones, unless it is set as the default one (it will then end up at the bottom of the stack) Args: cmdset (CmdSet or str): Can be a cmdset object ...
[ "def", "add", "(", "self", ",", "cmdset", ",", "emit_to_obj", "=", "None", ",", "permanent", "=", "False", ",", "default_cmdset", "=", "False", ")", ":", "if", "not", "(", "isinstance", "(", "cmdset", ",", "basestring", ")", "or", "utils", ".", "inheri...
[ 398, 4 ]
[ 447, 25 ]
python
en
['en', 'error', 'th']
False
CmdSetHandler.add_default
(self, cmdset, emit_to_obj=None, permanent=True)
Shortcut for adding a default cmdset. Args: cmdset (Cmdset): The Cmdset to add. emit_to_obj (Object, optional): Gets error messages permanent (bool, optional): The new Cmdset should survive a server reboot.
Shortcut for adding a default cmdset.
def add_default(self, cmdset, emit_to_obj=None, permanent=True): """ Shortcut for adding a default cmdset. Args: cmdset (Cmdset): The Cmdset to add. emit_to_obj (Object, optional): Gets error messages permanent (bool, optional): The new Cmdset should survive ...
[ "def", "add_default", "(", "self", ",", "cmdset", ",", "emit_to_obj", "=", "None", ",", "permanent", "=", "True", ")", ":", "self", ".", "add", "(", "cmdset", ",", "emit_to_obj", "=", "emit_to_obj", ",", "permanent", "=", "permanent", ",", "default_cmdset"...
[ 449, 4 ]
[ 459, 91 ]
python
en
['en', 'error', 'th']
False
CmdSetHandler.remove
(self, cmdset=None, default_cmdset=False)
Remove a cmdset from the handler. Args: cmdset (CommandSet or str, optional): This can can be supplied either as a cmdset-key, an instance of the CmdSet or a python path to the cmdset. If no key is given, the last cmdset in the stack is remo...
Remove a cmdset from the handler.
def remove(self, cmdset=None, default_cmdset=False): """ Remove a cmdset from the handler. Args: cmdset (CommandSet or str, optional): This can can be supplied either as a cmdset-key, an instance of the CmdSet or a python path to the cmdset. If no ke...
[ "def", "remove", "(", "self", ",", "cmdset", "=", "None", ",", "default_cmdset", "=", "False", ")", ":", "if", "default_cmdset", ":", "# remove the default cmdset only", "if", "self", ".", "cmdset_stack", ":", "cmdset", "=", "self", ".", "cmdset_stack", "[", ...
[ 461, 4 ]
[ 533, 21 ]
python
en
['en', 'error', 'th']
False
CmdSetHandler.remove_default
(self)
This explicitly deletes only the default cmdset.
This explicitly deletes only the default cmdset.
def remove_default(self): """ This explicitly deletes only the default cmdset. """ self.remove(default_cmdset=True)
[ "def", "remove_default", "(", "self", ")", ":", "self", ".", "remove", "(", "default_cmdset", "=", "True", ")" ]
[ 537, 4 ]
[ 542, 40 ]
python
en
['en', 'error', 'th']
False
CmdSetHandler.get
(self)
Get all cmdsets. Returns: cmdsets (list): All the command sets currently in the handler.
Get all cmdsets.
def get(self): """ Get all cmdsets. Returns: cmdsets (list): All the command sets currently in the handler. """ return self.cmdset_stack
[ "def", "get", "(", "self", ")", ":", "return", "self", ".", "cmdset_stack" ]
[ 546, 4 ]
[ 554, 32 ]
python
en
['en', 'error', 'th']
False
CmdSetHandler.clear
(self)
Removes all Command Sets from the handler except the default one (use `self.remove_default` to remove that).
Removes all Command Sets from the handler except the default one (use `self.remove_default` to remove that).
def clear(self): """ Removes all Command Sets from the handler except the default one (use `self.remove_default` to remove that). """ self.cmdset_stack = [self.cmdset_stack[0]] storage = self.obj.cmdset_storage if storage: storage = storage[0] ...
[ "def", "clear", "(", "self", ")", ":", "self", ".", "cmdset_stack", "=", "[", "self", ".", "cmdset_stack", "[", "0", "]", "]", "storage", "=", "self", ".", "obj", ".", "cmdset_storage", "if", "storage", ":", "storage", "=", "storage", "[", "0", "]", ...
[ 559, 4 ]
[ 570, 21 ]
python
en
['en', 'error', 'th']
False
CmdSetHandler.has
(self, cmdset, must_be_default=False)
checks so the cmdsethandler contains a given cmdset Args: cmdset (str or Cmdset): Cmdset key, pythonpath or Cmdset to check the existence for. must_be_default (bool, optional): Only return True if the checked cmdset is the default one. R...
checks so the cmdsethandler contains a given cmdset
def has(self, cmdset, must_be_default=False): """ checks so the cmdsethandler contains a given cmdset Args: cmdset (str or Cmdset): Cmdset key, pythonpath or Cmdset to check the existence for. must_be_default (bool, optional): Only return True if ...
[ "def", "has", "(", "self", ",", "cmdset", ",", "must_be_default", "=", "False", ")", ":", "if", "callable", "(", "cmdset", ")", "and", "hasattr", "(", "cmdset", ",", "'path'", ")", ":", "# try it as a callable", "if", "must_be_default", ":", "return", "sel...
[ 572, 4 ]
[ 601, 74 ]
python
en
['en', 'error', 'th']
False
CmdSetHandler.reset
(self)
Force reload of all cmdsets in handler. This should be called after _CACHED_CMDSETS have been cleared (normally this is handled automatically by @reload).
Force reload of all cmdsets in handler. This should be called after _CACHED_CMDSETS have been cleared (normally this is handled automatically by @reload).
def reset(self): """ Force reload of all cmdsets in handler. This should be called after _CACHED_CMDSETS have been cleared (normally this is handled automatically by @reload). """ new_cmdset_stack = [] for cmdset in self.cmdset_stack: if cmdset.key ==...
[ "def", "reset", "(", "self", ")", ":", "new_cmdset_stack", "=", "[", "]", "for", "cmdset", "in", "self", ".", "cmdset_stack", ":", "if", "cmdset", ".", "key", "==", "\"_EMPTY_CMDSET\"", ":", "new_cmdset_stack", ".", "append", "(", "cmdset", ")", "else", ...
[ 606, 4 ]
[ 620, 21 ]
python
en
['en', 'error', 'th']
False
Tickformatstop.dtickrange
(self)
range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null" The 'dtickrange' property is an info array that may be specified as: * a list or tuple of 2 elements where: (0) The...
range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null" The 'dtickrange' property is an info array that may be specified as: * a list or tuple of 2 elements where: (0) The...
def dtickrange(self): """ range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null" The 'dtickrange' property is an info array that may be specified as: * a list or tuple...
[ "def", "dtickrange", "(", "self", ")", ":", "return", "self", "[", "\"dtickrange\"", "]" ]
[ 15, 4 ]
[ 31, 33 ]
python
en
['en', 'error', 'th']
False
Tickformatstop.enabled
(self)
Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. The 'enabled' property must be specified as a bool (either True, or False) Returns ------- bool
Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. The 'enabled' property must be specified as a bool (either True, or False)
def enabled(self): """ Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. The 'enabled' property must be specified as a bool (either True, or False) Returns ------- bool """ ret...
[ "def", "enabled", "(", "self", ")", ":", "return", "self", "[", "\"enabled\"", "]" ]
[ 40, 4 ]
[ 52, 30 ]
python
en
['en', 'error', 'th']
False
Tickformatstop.name
(self)
When used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications ...
When used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications ...
def name(self): """ When used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` al...
[ "def", "name", "(", "self", ")", ":", "return", "self", "[", "\"name\"", "]" ]
[ 61, 4 ]
[ 79, 27 ]
python
en
['en', 'error', 'th']
False
Tickformatstop.templateitemname
(self)
Used to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (includ...
Used to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (includ...
def templateitemname(self): """ Used to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, ...
[ "def", "templateitemname", "(", "self", ")", ":", "return", "self", "[", "\"templateitemname\"", "]" ]
[ 88, 4 ]
[ 107, 39 ]
python
en
['en', 'error', 'th']
False
Tickformatstop.value
(self)
string - dtickformat for described zoom level, the same as "tickformat" The 'value' property is a string and must be specified as: - A string - A number that will be converted to a string Returns ------- str
string - dtickformat for described zoom level, the same as "tickformat" The 'value' property is a string and must be specified as: - A string - A number that will be converted to a string
def value(self): """ string - dtickformat for described zoom level, the same as "tickformat" The 'value' property is a string and must be specified as: - A string - A number that will be converted to a string Returns ------- str "...
[ "def", "value", "(", "self", ")", ":", "return", "self", "[", "\"value\"", "]" ]
[ 116, 4 ]
[ 129, 28 ]
python
en
['en', 'error', 'th']
False
Tickformatstop.__init__
( self, arg=None, dtickrange=None, enabled=None, name=None, templateitemname=None, value=None, **kwargs )
Construct a new Tickformatstop object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.carpet.baxis.Tickformatstop` dtickrange range [*min*, *max*], ...
Construct a new Tickformatstop object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.carpet.baxis.Tickformatstop` dtickrange range [*min*, *max*], ...
def __init__( self, arg=None, dtickrange=None, enabled=None, name=None, templateitemname=None, value=None, **kwargs ): """ Construct a new Tickformatstop object Parameters ---------- arg dict...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "dtickrange", "=", "None", ",", "enabled", "=", "None", ",", "name", "=", "None", ",", "templateitemname", "=", "None", ",", "value", "=", "None", ",", "*", "*", "kwargs", ")", ":", "sup...
[ 172, 4 ]
[ 282, 34 ]
python
en
['en', 'error', 'th']
False
Dimension.constraintrange
(self)
The domain range to which the filter on the dimension is constrained. Must be an array of `[fromValue, toValue]` with `fromValue <= toValue`, or if `multiselect` is not disabled, you may give an array of arrays, where each inner array is `[fromValue, toValue]`. The ...
The domain range to which the filter on the dimension is constrained. Must be an array of `[fromValue, toValue]` with `fromValue <= toValue`, or if `multiselect` is not disabled, you may give an array of arrays, where each inner array is `[fromValue, toValue]`. The ...
def constraintrange(self): """ The domain range to which the filter on the dimension is constrained. Must be an array of `[fromValue, toValue]` with `fromValue <= toValue`, or if `multiselect` is not disabled, you may give an array of arrays, where each inner array is `[f...
[ "def", "constraintrange", "(", "self", ")", ":", "return", "self", "[", "\"constraintrange\"", "]" ]
[ 30, 4 ]
[ 56, 38 ]
python
en
['en', 'error', 'th']
False
Dimension.label
(self)
The shown name of the dimension. The 'label' property is a string and must be specified as: - A string - A number that will be converted to a string Returns ------- str
The shown name of the dimension. The 'label' property is a string and must be specified as: - A string - A number that will be converted to a string
def label(self): """ The shown name of the dimension. The 'label' property is a string and must be specified as: - A string - A number that will be converted to a string Returns ------- str """ return self["label"]
[ "def", "label", "(", "self", ")", ":", "return", "self", "[", "\"label\"", "]" ]
[ 65, 4 ]
[ 77, 28 ]
python
en
['en', 'error', 'th']
False
Dimension.multiselect
(self)
Do we allow multiple selection ranges or just a single range? The 'multiselect' property must be specified as a bool (either True, or False) Returns ------- bool
Do we allow multiple selection ranges or just a single range? The 'multiselect' property must be specified as a bool (either True, or False)
def multiselect(self): """ Do we allow multiple selection ranges or just a single range? The 'multiselect' property must be specified as a bool (either True, or False) Returns ------- bool """ return self["multiselect"]
[ "def", "multiselect", "(", "self", ")", ":", "return", "self", "[", "\"multiselect\"", "]" ]
[ 86, 4 ]
[ 97, 34 ]
python
en
['en', 'error', 'th']
False
Dimension.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\"", "]" ]
[ 106, 4 ]
[ 124, 27 ]
python
en
['en', 'error', 'th']
False
Dimension.range
(self)
The domain range that represents the full, shown axis extent. Defaults to the `values` extent. Must be an array of `[fromValue, toValue]` with finite numbers as elements. The 'range' property is an info array that may be specified as: * a list or tuple of 2 elements wh...
The domain range that represents the full, shown axis extent. Defaults to the `values` extent. Must be an array of `[fromValue, toValue]` with finite numbers as elements. The 'range' property is an info array that may be specified as: * a list or tuple of 2 elements wh...
def range(self): """ The domain range that represents the full, shown axis extent. Defaults to the `values` extent. Must be an array of `[fromValue, toValue]` with finite numbers as elements. The 'range' property is an info array that may be specified as: * a li...
[ "def", "range", "(", "self", ")", ":", "return", "self", "[", "\"range\"", "]" ]
[ 133, 4 ]
[ 151, 28 ]
python
en
['en', 'error', 'th']
False
Dimension.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\"", "]" ]
[ 160, 4 ]
[ 179, 39 ]
python
en
['en', 'error', 'th']
False
Dimension.tickformat
(self)
Sets the tick label formatting rule using d3 formatting mini- languages which are very similar to those in Python. For numbers, see: https://github.com/d3/d3-3.x-api- reference/blob/master/Formatting.md#d3_format And for dates see: https://github.com/d3/d3-3.x-api- refer...
Sets the tick label formatting rule using d3 formatting mini- languages which are very similar to those in Python. For numbers, see: https://github.com/d3/d3-3.x-api- reference/blob/master/Formatting.md#d3_format And for dates see: https://github.com/d3/d3-3.x-api- refer...
def tickformat(self): """ Sets the tick label formatting rule using d3 formatting mini- languages which are very similar to those in Python. For numbers, see: https://github.com/d3/d3-3.x-api- reference/blob/master/Formatting.md#d3_format And for dates see: https://github...
[ "def", "tickformat", "(", "self", ")", ":", "return", "self", "[", "\"tickformat\"", "]" ]
[ 188, 4 ]
[ 208, 33 ]
python
en
['en', 'error', 'th']
False
Dimension.ticktext
(self)
Sets the text displayed at the ticks position via `tickvals`. The 'ticktext' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- numpy.ndarray
Sets the text displayed at the ticks position via `tickvals`. The 'ticktext' property is an array that may be specified as a tuple, list, numpy array, or pandas Series
def ticktext(self): """ Sets the text displayed at the ticks position via `tickvals`. The 'ticktext' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- numpy.ndarray """ return self["tic...
[ "def", "ticktext", "(", "self", ")", ":", "return", "self", "[", "\"ticktext\"", "]" ]
[ 217, 4 ]
[ 228, 31 ]
python
en
['en', 'error', 'th']
False
Dimension.ticktextsrc
(self)
Sets the source reference on Chart Studio Cloud for ticktext . The 'ticktextsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str
Sets the source reference on Chart Studio Cloud for ticktext . The 'ticktextsrc' property must be specified as a string or as a plotly.grid_objs.Column object
def ticktextsrc(self): """ Sets the source reference on Chart Studio Cloud for ticktext . The 'ticktextsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["ticktextsrc"]
[ "def", "ticktextsrc", "(", "self", ")", ":", "return", "self", "[", "\"ticktextsrc\"", "]" ]
[ 237, 4 ]
[ 248, 34 ]
python
en
['en', 'error', 'th']
False