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
AngularAxis.showline
(self)
Determines whether or not a line bounding this axis is drawn. The 'showline' property must be specified as a bool (either True, or False) Returns ------- bool
Determines whether or not a line bounding this axis is drawn. The 'showline' property must be specified as a bool (either True, or False)
def showline(self): """ Determines whether or not a line bounding this axis is drawn. The 'showline' property must be specified as a bool (either True, or False) Returns ------- bool """ return self["showline"]
[ "def", "showline", "(", "self", ")", ":", "return", "self", "[", "\"showline\"", "]" ]
[ 639, 4 ]
[ 650, 31 ]
python
en
['en', 'error', 'th']
False
AngularAxis.showticklabels
(self)
Determines whether or not the tick labels are drawn. The 'showticklabels' property must be specified as a bool (either True, or False) Returns ------- bool
Determines whether or not the tick labels are drawn. The 'showticklabels' property must be specified as a bool (either True, or False)
def showticklabels(self): """ Determines whether or not the tick labels are drawn. The 'showticklabels' property must be specified as a bool (either True, or False) Returns ------- bool """ return self["showticklabels"]
[ "def", "showticklabels", "(", "self", ")", ":", "return", "self", "[", "\"showticklabels\"", "]" ]
[ 659, 4 ]
[ 670, 37 ]
python
en
['en', 'error', 'th']
False
AngularAxis.showtickprefix
(self)
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden. The 'showtickprefix' property is an enumeration that may be spec...
If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden. The 'showtickprefix' property is an enumeration that may be spec...
def showtickprefix(self): """ If "all", all tick labels are displayed with a prefix. If "first", only the first tick is displayed with a prefix. If "last", only the last tick is displayed with a suffix. If "none", tick prefixes are hidden. The 'showtickprefix' proper...
[ "def", "showtickprefix", "(", "self", ")", ":", "return", "self", "[", "\"showtickprefix\"", "]" ]
[ 679, 4 ]
[ 694, 37 ]
python
en
['en', 'error', 'th']
False
AngularAxis.showticksuffix
(self)
Same as `showtickprefix` but for tick suffixes. The 'showticksuffix' property is an enumeration that may be specified as: - One of the following enumeration values: ['all', 'first', 'last', 'none'] Returns ------- Any
Same as `showtickprefix` but for tick suffixes. The 'showticksuffix' property is an enumeration that may be specified as: - One of the following enumeration values: ['all', 'first', 'last', 'none']
def showticksuffix(self): """ Same as `showtickprefix` but for tick suffixes. The 'showticksuffix' property is an enumeration that may be specified as: - One of the following enumeration values: ['all', 'first', 'last', 'none'] Returns ------- ...
[ "def", "showticksuffix", "(", "self", ")", ":", "return", "self", "[", "\"showticksuffix\"", "]" ]
[ 703, 4 ]
[ 715, 37 ]
python
en
['en', 'error', 'th']
False
AngularAxis.thetaunit
(self)
Sets the format unit of the formatted "theta" values. Has an effect only when `angularaxis.type` is "linear". The 'thetaunit' property is an enumeration that may be specified as: - One of the following enumeration values: ['radians', 'degrees'] Returns ...
Sets the format unit of the formatted "theta" values. Has an effect only when `angularaxis.type` is "linear". The 'thetaunit' property is an enumeration that may be specified as: - One of the following enumeration values: ['radians', 'degrees']
def thetaunit(self): """ Sets the format unit of the formatted "theta" values. Has an effect only when `angularaxis.type` is "linear". The 'thetaunit' property is an enumeration that may be specified as: - One of the following enumeration values: ['radians'...
[ "def", "thetaunit", "(", "self", ")", ":", "return", "self", "[", "\"thetaunit\"", "]" ]
[ 724, 4 ]
[ 737, 32 ]
python
en
['en', 'error', 'th']
False
AngularAxis.tick0
(self)
Sets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`=*L<f>* (see `dtick` for more info). If the axis `ty...
Sets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`=*L<f>* (see `dtick` for more info). If the axis `ty...
def tick0(self): """ Sets the placement of the first tick on this axis. Use with `dtick`. If the axis `type` is "log", then you must take the log of your starting tick (e.g. to set the starting tick to 100, set the `tick0` to 2) except when `dtick`=*L<f>* (see `dtick` for...
[ "def", "tick0", "(", "self", ")", ":", "return", "self", "[", "\"tick0\"", "]" ]
[ 746, 4 ]
[ 764, 28 ]
python
en
['en', 'error', 'th']
False
AngularAxis.tickangle
(self)
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically. The 'tickangle' property is a angle (in degrees) that may be specified as a number between -180 and 180. Numeric values outside this ...
Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically. The 'tickangle' property is a angle (in degrees) that may be specified as a number between -180 and 180. Numeric values outside this ...
def tickangle(self): """ Sets the angle of the tick labels with respect to the horizontal. For example, a `tickangle` of -90 draws the tick labels vertically. The 'tickangle' property is a angle (in degrees) that may be specified as a number between -180 and 180. Num...
[ "def", "tickangle", "(", "self", ")", ":", "return", "self", "[", "\"tickangle\"", "]" ]
[ 773, 4 ]
[ 788, 32 ]
python
en
['en', 'error', 'th']
False
AngularAxis.tickcolor
(self)
Sets the tick color. The 'tickcolor' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') ...
Sets the tick color. The 'tickcolor' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') ...
def tickcolor(self): """ Sets the tick color. The 'tickcolor' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva string (e...
[ "def", "tickcolor", "(", "self", ")", ":", "return", "self", "[", "\"tickcolor\"", "]" ]
[ 797, 4 ]
[ 847, 32 ]
python
en
['en', 'error', 'th']
False
AngularAxis.tickfont
(self)
Sets the tick font. The 'tickfont' property is an instance of Tickfont that may be specified as: - An instance of :class:`plotly.graph_objs.layout.polar.angularaxis.Tickfont` - A dict of string/value properties that will be passed to the Tickfont constructor...
Sets the tick font. The 'tickfont' property is an instance of Tickfont that may be specified as: - An instance of :class:`plotly.graph_objs.layout.polar.angularaxis.Tickfont` - A dict of string/value properties that will be passed to the Tickfont constructor...
def tickfont(self): """ Sets the tick font. The 'tickfont' property is an instance of Tickfont that may be specified as: - An instance of :class:`plotly.graph_objs.layout.polar.angularaxis.Tickfont` - A dict of string/value properties that will be passed ...
[ "def", "tickfont", "(", "self", ")", ":", "return", "self", "[", "\"tickfont\"", "]" ]
[ 856, 4 ]
[ 893, 31 ]
python
en
['en', 'error', 'th']
False
AngularAxis.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\"", "]" ]
[ 902, 4 ]
[ 922, 33 ]
python
en
['en', 'error', 'th']
False
AngularAxis.tickformatstops
(self)
The 'tickformatstops' property is a tuple of instances of Tickformatstop that may be specified as: - A list or tuple of instances of plotly.graph_objs.layout.polar.angularaxis.Tickformatstop - A list or tuple of dicts of string/value properties that will be passed to the...
The 'tickformatstops' property is a tuple of instances of Tickformatstop that may be specified as: - A list or tuple of instances of plotly.graph_objs.layout.polar.angularaxis.Tickformatstop - A list or tuple of dicts of string/value properties that will be passed to the...
def tickformatstops(self): """ The 'tickformatstops' property is a tuple of instances of Tickformatstop that may be specified as: - A list or tuple of instances of plotly.graph_objs.layout.polar.angularaxis.Tickformatstop - A list or tuple of dicts of string/value properties ...
[ "def", "tickformatstops", "(", "self", ")", ":", "return", "self", "[", "\"tickformatstops\"", "]" ]
[ 931, 4 ]
[ 979, 38 ]
python
en
['en', 'error', 'th']
False
AngularAxis.tickformatstopdefaults
(self)
When used in a template (as layout.template.layout.polar.angula raxis.tickformatstopdefaults), sets the default property values to use for elements of layout.polar.angularaxis.tickformatstops The 'tickformatstopdefaults' property is an instance of Tickformatstop that may be...
When used in a template (as layout.template.layout.polar.angula raxis.tickformatstopdefaults), sets the default property values to use for elements of layout.polar.angularaxis.tickformatstops The 'tickformatstopdefaults' property is an instance of Tickformatstop that may be...
def tickformatstopdefaults(self): """ When used in a template (as layout.template.layout.polar.angula raxis.tickformatstopdefaults), sets the default property values to use for elements of layout.polar.angularaxis.tickformatstops The 'tickformatstopdefaults' property is an i...
[ "def", "tickformatstopdefaults", "(", "self", ")", ":", "return", "self", "[", "\"tickformatstopdefaults\"", "]" ]
[ 988, 4 ]
[ 1006, 45 ]
python
en
['en', 'error', 'th']
False
AngularAxis.ticklen
(self)
Sets the tick length (in px). The 'ticklen' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float
Sets the tick length (in px). The 'ticklen' property is a number and may be specified as: - An int or float in the interval [0, inf]
def ticklen(self): """ Sets the tick length (in px). The 'ticklen' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float """ return self["ticklen"]
[ "def", "ticklen", "(", "self", ")", ":", "return", "self", "[", "\"ticklen\"", "]" ]
[ 1015, 4 ]
[ 1026, 30 ]
python
en
['en', 'error', 'th']
False
AngularAxis.tickmode
(self)
Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the...
Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick` are provided). If "array", the...
def tickmode(self): """ Sets the tick mode for this axis. If "auto", the number of ticks is set via `nticks`. If "linear", the placement of the ticks is determined by a starting position `tick0` and a tick step `dtick` ("linear" is the default value if `tick0` and `dtick`...
[ "def", "tickmode", "(", "self", ")", ":", "return", "self", "[", "\"tickmode\"", "]" ]
[ 1035, 4 ]
[ 1053, 31 ]
python
en
['en', 'error', 'th']
False
AngularAxis.tickprefix
(self)
Sets a tick label prefix. The 'tickprefix' property is a string and must be specified as: - A string - A number that will be converted to a string Returns ------- str
Sets a tick label prefix. The 'tickprefix' property is a string and must be specified as: - A string - A number that will be converted to a string
def tickprefix(self): """ Sets a tick label prefix. The 'tickprefix' property is a string and must be specified as: - A string - A number that will be converted to a string Returns ------- str """ return self["tickprefix"]
[ "def", "tickprefix", "(", "self", ")", ":", "return", "self", "[", "\"tickprefix\"", "]" ]
[ 1062, 4 ]
[ 1074, 33 ]
python
en
['en', 'error', 'th']
False
AngularAxis.ticks
(self)
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines. The 'ticks' property is an enumeration that may be specified as: - One of the following enumeration values: ...
Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines. The 'ticks' property is an enumeration that may be specified as: - One of the following enumeration values: ...
def ticks(self): """ Determines whether ticks are drawn or not. If "", this axis' ticks are not drawn. If "outside" ("inside"), this axis' are drawn outside (inside) the axis lines. The 'ticks' property is an enumeration that may be specified as: - One of the follo...
[ "def", "ticks", "(", "self", ")", ":", "return", "self", "[", "\"ticks\"", "]" ]
[ 1083, 4 ]
[ 1097, 28 ]
python
en
['en', 'error', 'th']
False
AngularAxis.ticksuffix
(self)
Sets a tick label suffix. The 'ticksuffix' property is a string and must be specified as: - A string - A number that will be converted to a string Returns ------- str
Sets a tick label suffix. The 'ticksuffix' property is a string and must be specified as: - A string - A number that will be converted to a string
def ticksuffix(self): """ Sets a tick label suffix. The 'ticksuffix' property is a string and must be specified as: - A string - A number that will be converted to a string Returns ------- str """ return self["ticksuffix"]
[ "def", "ticksuffix", "(", "self", ")", ":", "return", "self", "[", "\"ticksuffix\"", "]" ]
[ 1106, 4 ]
[ 1118, 33 ]
python
en
['en', 'error', 'th']
False
AngularAxis.ticktext
(self)
Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`. The 'ticktext' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns -------...
Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`. The 'ticktext' property is an array that may be specified as a tuple, list, numpy array, or pandas Series
def ticktext(self): """ Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`. The 'ticktext' property is an array that may be specified as a tuple, list, numpy array, or pandas Series ...
[ "def", "ticktext", "(", "self", ")", ":", "return", "self", "[", "\"ticktext\"", "]" ]
[ 1127, 4 ]
[ 1140, 31 ]
python
en
['en', 'error', 'th']
False
AngularAxis.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\"", "]" ]
[ 1149, 4 ]
[ 1160, 34 ]
python
en
['en', 'error', 'th']
False
AngularAxis.tickvals
(self)
Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`. The 'tickvals' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- numpy.nda...
Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`. The 'tickvals' property is an array that may be specified as a tuple, list, numpy array, or pandas Series
def tickvals(self): """ Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`. The 'tickvals' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ...
[ "def", "tickvals", "(", "self", ")", ":", "return", "self", "[", "\"tickvals\"", "]" ]
[ 1169, 4 ]
[ 1181, 31 ]
python
en
['en', 'error', 'th']
False
AngularAxis.tickvalssrc
(self)
Sets the source reference on Chart Studio Cloud for tickvals . The 'tickvalssrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str
Sets the source reference on Chart Studio Cloud for tickvals . The 'tickvalssrc' property must be specified as a string or as a plotly.grid_objs.Column object
def tickvalssrc(self): """ Sets the source reference on Chart Studio Cloud for tickvals . The 'tickvalssrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["tickvalssrc"]
[ "def", "tickvalssrc", "(", "self", ")", ":", "return", "self", "[", "\"tickvalssrc\"", "]" ]
[ 1190, 4 ]
[ 1201, 34 ]
python
en
['en', 'error', 'th']
False
AngularAxis.tickwidth
(self)
Sets the tick width (in px). The 'tickwidth' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float
Sets the tick width (in px). The 'tickwidth' property is a number and may be specified as: - An int or float in the interval [0, inf]
def tickwidth(self): """ Sets the tick width (in px). The 'tickwidth' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float """ return self["tickwidth"]
[ "def", "tickwidth", "(", "self", ")", ":", "return", "self", "[", "\"tickwidth\"", "]" ]
[ 1210, 4 ]
[ 1221, 32 ]
python
en
['en', 'error', 'th']
False
AngularAxis.type
(self)
Sets the angular axis type. If "linear", set `thetaunit` to determine the unit in which axis value are shown. If *category, use `period` to set the number of integer coordinates around polar axis. The 'type' property is an enumeration that may be specified as: - O...
Sets the angular axis type. If "linear", set `thetaunit` to determine the unit in which axis value are shown. If *category, use `period` to set the number of integer coordinates around polar axis. The 'type' property is an enumeration that may be specified as: - O...
def type(self): """ Sets the angular axis type. If "linear", set `thetaunit` to determine the unit in which axis value are shown. If *category, use `period` to set the number of integer coordinates around polar axis. The 'type' property is an enumeration that may be ...
[ "def", "type", "(", "self", ")", ":", "return", "self", "[", "\"type\"", "]" ]
[ 1230, 4 ]
[ 1245, 27 ]
python
en
['en', 'error', 'th']
False
AngularAxis.uirevision
(self)
Controls persistence of user-driven changes in axis `rotation`. Defaults to `polar<N>.uirevision`. The 'uirevision' property accepts values of any type Returns ------- Any
Controls persistence of user-driven changes in axis `rotation`. Defaults to `polar<N>.uirevision`. The 'uirevision' property accepts values of any type
def uirevision(self): """ Controls persistence of user-driven changes in axis `rotation`. Defaults to `polar<N>.uirevision`. The 'uirevision' property accepts values of any type Returns ------- Any """ return self["uirevision"]
[ "def", "uirevision", "(", "self", ")", ":", "return", "self", "[", "\"uirevision\"", "]" ]
[ 1254, 4 ]
[ 1265, 33 ]
python
en
['en', 'error', 'th']
False
AngularAxis.visible
(self)
A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false The 'visible' property must be specified as a bool (either True, or False) Returns ------- bool ...
A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false The 'visible' property must be specified as a bool (either True, or False)
def visible(self): """ A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false The 'visible' property must be specified as a bool (either True, or False) Returns...
[ "def", "visible", "(", "self", ")", ":", "return", "self", "[", "\"visible\"", "]" ]
[ 1274, 4 ]
[ 1287, 30 ]
python
en
['en', 'error', 'th']
False
AngularAxis.__init__
( self, arg=None, categoryarray=None, categoryarraysrc=None, categoryorder=None, color=None, direction=None, dtick=None, exponentformat=None, gridcolor=None, gridwidth=None, hoverformat=None, layer=None, line...
Construct a new AngularAxis object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.layout.polar.AngularAxis` categoryarray Sets the order in which c...
Construct a new AngularAxis object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.layout.polar.AngularAxis` categoryarray Sets the order in which c...
def __init__( self, arg=None, categoryarray=None, categoryarraysrc=None, categoryorder=None, color=None, direction=None, dtick=None, exponentformat=None, gridcolor=None, gridwidth=None, hoverformat=None, layer=None, ...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "categoryarray", "=", "None", ",", "categoryarraysrc", "=", "None", ",", "categoryorder", "=", "None", ",", "color", "=", "None", ",", "direction", "=", "None", ",", "dtick", "=", "None", ",...
[ 1518, 4 ]
[ 2011, 34 ]
python
en
['en', 'error', 'th']
False
Tickfont.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 ]
[ 63, 28 ]
python
en
['en', 'error', 'th']
False
Tickfont.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\"", "]" ]
[ 72, 4 ]
[ 94, 29 ]
python
en
['en', 'error', 'th']
False
Tickfont.size
(self)
The 'size' property is a number and may be specified as: - An int or float in the interval [1, inf] Returns ------- int|float
The 'size' property is a number and may be specified as: - An int or float in the interval [1, inf]
def size(self): """ The 'size' property is a number and may be specified as: - An int or float in the interval [1, inf] Returns ------- int|float """ return self["size"]
[ "def", "size", "(", "self", ")", ":", "return", "self", "[", "\"size\"", "]" ]
[ 103, 4 ]
[ 112, 27 ]
python
en
['en', 'error', 'th']
False
Tickfont.__init__
(self, arg=None, color=None, family=None, size=None, **kwargs)
Construct a new Tickfont object Sets the color bar's tick label font Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.scatter3d.line .colorbar.Tickfont` ...
Construct a new Tickfont object Sets the color bar's tick label font
def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): """ Construct a new Tickfont object Sets the color bar's tick label font Parameters ---------- arg dict of properties compatible with this constructor or an insta...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "color", "=", "None", ",", "family", "=", "None", ",", "size", "=", "None", ",", "*", "*", "kwargs", ")", ":", "super", "(", "Tickfont", ",", "self", ")", ".", "__init__", "(", "\"tick...
[ 143, 4 ]
[ 226, 34 ]
python
en
['en', 'error', 'th']
False
GetRevocRegDeltaHandler.get_result
(self, request: Request)
For getting reply we need: 1. Get REVOC_REG_ENTRY by "TO" timestamp from state 2. If FROM is given in request, then Get REVOC_REG_ENTRY by "FROM" timestamp from state 3. Get ISSUANCE_TYPE for REVOC_REG_DEF (revoked/issued strategy) 4. Compute issued and revoked indices by corres...
For getting reply we need: 1. Get REVOC_REG_ENTRY by "TO" timestamp from state 2. If FROM is given in request, then Get REVOC_REG_ENTRY by "FROM" timestamp from state 3. Get ISSUANCE_TYPE for REVOC_REG_DEF (revoked/issued strategy) 4. Compute issued and revoked indices by corres...
def get_result(self, request: Request): """ For getting reply we need: 1. Get REVOC_REG_ENTRY by "TO" timestamp from state 2. If FROM is given in request, then Get REVOC_REG_ENTRY by "FROM" timestamp from state 3. Get ISSUANCE_TYPE for REVOC_REG_DEF (revoked/issued strategy) ...
[ "def", "get_result", "(", "self", ",", "request", ":", "Request", ")", ":", "self", ".", "_validate_request_type", "(", "request", ")", "req_ts_from", "=", "request", ".", "operation", ".", "get", "(", "FROM", ",", "None", ")", "req_ts_to", "=", "request",...
[ 33, 4 ]
[ 125, 44 ]
python
en
['en', 'error', 'th']
False
Hoverlabel.align
(self)
Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines The 'align' property is an enumeration that may be specified as: - One of the following enumeration values: ['...
Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines The 'align' property is an enumeration that may be specified as: - One of the following enumeration values: ['...
def align(self): """ Sets the horizontal alignment of the text content within hover label box. Has an effect only if the hover label text spans more two or more lines The 'align' property is an enumeration that may be specified as: - One of the following enumeratio...
[ "def", "align", "(", "self", ")", ":", "return", "self", "[", "\"align\"", "]" ]
[ 26, 4 ]
[ 41, 28 ]
python
en
['en', 'error', 'th']
False
Hoverlabel.alignsrc
(self)
Sets the source reference on Chart Studio Cloud for align . The 'alignsrc' 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 align . The 'alignsrc' property must be specified as a string or as a plotly.grid_objs.Column object
def alignsrc(self): """ Sets the source reference on Chart Studio Cloud for align . The 'alignsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["alignsrc"]
[ "def", "alignsrc", "(", "self", ")", ":", "return", "self", "[", "\"alignsrc\"", "]" ]
[ 50, 4 ]
[ 61, 31 ]
python
en
['en', 'error', 'th']
False
Hoverlabel.bgcolor
(self)
Sets the background color of the hover labels for this trace The 'bgcolor' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva str...
Sets the background color of the hover labels for this trace The 'bgcolor' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva str...
def bgcolor(self): """ Sets the background color of the hover labels for this trace 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%)...
[ "def", "bgcolor", "(", "self", ")", ":", "return", "self", "[", "\"bgcolor\"", "]" ]
[ 70, 4 ]
[ 121, 30 ]
python
en
['en', 'error', 'th']
False
Hoverlabel.bgcolorsrc
(self)
Sets the source reference on Chart Studio Cloud for bgcolor . The 'bgcolorsrc' 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 bgcolor . The 'bgcolorsrc' property must be specified as a string or as a plotly.grid_objs.Column object
def bgcolorsrc(self): """ Sets the source reference on Chart Studio Cloud for bgcolor . The 'bgcolorsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["bgcolorsrc"]
[ "def", "bgcolorsrc", "(", "self", ")", ":", "return", "self", "[", "\"bgcolorsrc\"", "]" ]
[ 130, 4 ]
[ 141, 33 ]
python
en
['en', 'error', 'th']
False
Hoverlabel.bordercolor
(self)
Sets the border color of the hover labels for this trace. The 'bordercolor' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva st...
Sets the border color of the hover labels for this trace. The 'bordercolor' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva st...
def bordercolor(self): """ Sets the border color of the hover labels for this trace. The 'bordercolor' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%...
[ "def", "bordercolor", "(", "self", ")", ":", "return", "self", "[", "\"bordercolor\"", "]" ]
[ 150, 4 ]
[ 201, 34 ]
python
en
['en', 'error', 'th']
False
Hoverlabel.bordercolorsrc
(self)
Sets the source reference on Chart Studio Cloud for bordercolor . The 'bordercolorsrc' 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 bordercolor . The 'bordercolorsrc' property must be specified as a string or as a plotly.grid_objs.Column object
def bordercolorsrc(self): """ Sets the source reference on Chart Studio Cloud for bordercolor . The 'bordercolorsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["bo...
[ "def", "bordercolorsrc", "(", "self", ")", ":", "return", "self", "[", "\"bordercolorsrc\"", "]" ]
[ 210, 4 ]
[ 222, 37 ]
python
en
['en', 'error', 'th']
False
Hoverlabel.font
(self)
Sets the font used in hover labels. The 'font' property is an instance of Font that may be specified as: - An instance of :class:`plotly.graph_objs.ohlc.hoverlabel.Font` - A dict of string/value properties that will be passed to the Font constructor ...
Sets the font used in hover labels. The 'font' property is an instance of Font that may be specified as: - An instance of :class:`plotly.graph_objs.ohlc.hoverlabel.Font` - A dict of string/value properties that will be passed to the Font constructor ...
def font(self): """ Sets the font used in hover labels. The 'font' property is an instance of Font that may be specified as: - An instance of :class:`plotly.graph_objs.ohlc.hoverlabel.Font` - A dict of string/value properties that will be passed to th...
[ "def", "font", "(", "self", ")", ":", "return", "self", "[", "\"font\"", "]" ]
[ 231, 4 ]
[ 278, 27 ]
python
en
['en', 'error', 'th']
False
Hoverlabel.namelength
(self)
Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it...
Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it...
def namelength(self): """ Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than ...
[ "def", "namelength", "(", "self", ")", ":", "return", "self", "[", "\"namelength\"", "]" ]
[ 287, 4 ]
[ 305, 33 ]
python
en
['en', 'error', 'th']
False
Hoverlabel.namelengthsrc
(self)
Sets the source reference on Chart Studio Cloud for namelength . The 'namelengthsrc' 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 namelength . The 'namelengthsrc' property must be specified as a string or as a plotly.grid_objs.Column object
def namelengthsrc(self): """ Sets the source reference on Chart Studio Cloud for namelength . The 'namelengthsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["name...
[ "def", "namelengthsrc", "(", "self", ")", ":", "return", "self", "[", "\"namelengthsrc\"", "]" ]
[ 314, 4 ]
[ 326, 36 ]
python
en
['en', 'error', 'th']
False
Hoverlabel.split
(self)
Show hover information (open, close, high, low) in separate labels. The 'split' property must be specified as a bool (either True, or False) Returns ------- bool
Show hover information (open, close, high, low) in separate labels. The 'split' property must be specified as a bool (either True, or False)
def split(self): """ Show hover information (open, close, high, low) in separate labels. The 'split' property must be specified as a bool (either True, or False) Returns ------- bool """ return self["split"]
[ "def", "split", "(", "self", ")", ":", "return", "self", "[", "\"split\"", "]" ]
[ 335, 4 ]
[ 347, 28 ]
python
en
['en', 'error', 'th']
False
Hoverlabel.__init__
( self, arg=None, align=None, alignsrc=None, bgcolor=None, bgcolorsrc=None, bordercolor=None, bordercolorsrc=None, font=None, namelength=None, namelengthsrc=None, split=None, **kwargs )
Construct a new Hoverlabel object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.ohlc.Hoverlabel` align Sets the horizontal alignment of the text c...
Construct a new Hoverlabel object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.ohlc.Hoverlabel` align Sets the horizontal alignment of the text c...
def __init__( self, arg=None, align=None, alignsrc=None, bgcolor=None, bgcolorsrc=None, bordercolor=None, bordercolorsrc=None, font=None, namelength=None, namelengthsrc=None, split=None, **kwargs ): """ ...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "align", "=", "None", ",", "alignsrc", "=", "None", ",", "bgcolor", "=", "None", ",", "bgcolorsrc", "=", "None", ",", "bordercolor", "=", "None", ",", "bordercolorsrc", "=", "None", ",", "...
[ 395, 4 ]
[ 535, 34 ]
python
en
['en', 'error', 'th']
False
Title.font
(self)
Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. The 'font' property is an instance of Font that may be specified as: - An instance of :class:`plotly.graph_objs.barpolar.marker.colorbar.title.Font` ...
Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. The 'font' property is an instance of Font that may be specified as: - An instance of :class:`plotly.graph_objs.barpolar.marker.colorbar.title.Font` ...
def font(self): """ Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. The 'font' property is an instance of Font that may be specified as: - An instance of :class:`plotly.graph_objs.barpolar.mar...
[ "def", "font", "(", "self", ")", ":", "return", "self", "[", "\"font\"", "]" ]
[ 15, 4 ]
[ 53, 27 ]
python
en
['en', 'error', 'th']
False
Title.side
(self)
Determines the location of color bar's title with respect to the color bar. Note that the title's location used to be set by the now deprecated `titleside` attribute. The 'side' property is an enumeration that may be specified as: - One of the following enumeration values...
Determines the location of color bar's title with respect to the color bar. Note that the title's location used to be set by the now deprecated `titleside` attribute. The 'side' property is an enumeration that may be specified as: - One of the following enumeration values...
def side(self): """ Determines the location of color bar's title with respect to the color bar. Note that the title's location used to be set by the now deprecated `titleside` attribute. The 'side' property is an enumeration that may be specified as: - One of the f...
[ "def", "side", "(", "self", ")", ":", "return", "self", "[", "\"side\"", "]" ]
[ 62, 4 ]
[ 76, 27 ]
python
en
['en', 'error', 'th']
False
Title.text
(self)
Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated. The 'text' property is a string and must be specified as: - A string - A ...
Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated. The 'text' property is a string and must be specified as: - A string - A ...
def text(self): """ Sets the title of the color bar. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated. The 'text' property is a string and must be specified as: ...
[ "def", "text", "(", "self", ")", ":", "return", "self", "[", "\"text\"", "]" ]
[ 85, 4 ]
[ 99, 27 ]
python
en
['en', 'error', 'th']
False
Title.__init__
(self, arg=None, font=None, side=None, text=None, **kwargs)
Construct a new Title object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.barpolar.marke r.colorbar.Title` font Sets this color bar's title font....
Construct a new Title object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.barpolar.marke r.colorbar.Title` font Sets this color bar's title font....
def __init__(self, arg=None, font=None, side=None, text=None, **kwargs): """ Construct a new Title object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.barpolar.marke ...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "font", "=", "None", ",", "side", "=", "None", ",", "text", "=", "None", ",", "*", "*", "kwargs", ")", ":", "super", "(", "Title", ",", "self", ")", ".", "__init__", "(", "\"title\"", ...
[ 126, 4 ]
[ 203, 34 ]
python
en
['en', 'error', 'th']
False
MuxAccountLookCommand.parse
(self)
Custom parsing
Custom parsing
def parse(self): """Custom parsing""" super(MuxAccountLookCommand, self).parse() if _MULTISESSION_MODE < 2: # only one character allowed - not used in this mode self.playable = None return playable = self.account.db._playable_characters if p...
[ "def", "parse", "(", "self", ")", ":", "super", "(", "MuxAccountLookCommand", ",", "self", ")", ".", "parse", "(", ")", "if", "_MULTISESSION_MODE", "<", "2", ":", "# only one character allowed - not used in this mode", "self", ".", "playable", "=", "None", "retu...
[ 45, 4 ]
[ 66, 36 ]
python
en
['en', 'hi-Latn', 'en']
False
CmdOOCLook.func
(self)
implement the ooc look command
implement the ooc look command
def func(self): """implement the ooc look command""" if _MULTISESSION_MODE < 2: # only one character allowed self.msg("You are out-of-character (OOC).\nUse |w@ic|n to get back into the game.") return # call on-account look helper method self.msg(self...
[ "def", "func", "(", "self", ")", ":", "if", "_MULTISESSION_MODE", "<", "2", ":", "# only one character allowed", "self", ".", "msg", "(", "\"You are out-of-character (OOC).\\nUse |w@ic|n to get back into the game.\"", ")", "return", "# call on-account look helper method", "se...
[ 98, 4 ]
[ 107, 82 ]
python
en
['en', 'en', 'en']
True
CmdCharCreate.func
(self)
create the new character
create the new character
def func(self): """create the new character""" account = self.account if not self.args: self.msg("Usage: @charcreate <charname> [= description]") return key = self.lhs desc = self.rhs charmax = _MAX_NR_CHARACTERS if not account.is_superus...
[ "def", "func", "(", "self", ")", ":", "account", "=", "self", ".", "account", "if", "not", "self", ".", "args", ":", "self", ".", "msg", "(", "\"Usage: @charcreate <charname> [= description]\"", ")", "return", "key", "=", "self", ".", "lhs", "desc", "=", ...
[ 129, 4 ]
[ 172, 58 ]
python
en
['en', 'en', 'en']
True
CmdCharDelete.func
(self)
delete the character
delete the character
def func(self): """delete the character""" account = self.account if not self.args: self.msg("Usage: @chardelete <charactername>") return # use the playable_characters list to search match = [char for char in utils.make_iter(account.db._playable_characte...
[ "def", "func", "(", "self", ")", ":", "account", "=", "self", ".", "account", "if", "not", "self", ".", "args", ":", "self", ".", "msg", "(", "\"Usage: @chardelete <charactername>\"", ")", "return", "# use the playable_characters list to search", "match", "=", "...
[ 188, 4 ]
[ 223, 61 ]
python
en
['en', 'en', 'en']
True
CmdIC.func
(self)
Main puppet method
Main puppet method
def func(self): """ Main puppet method """ account = self.account session = self.session new_character = None if not self.args: new_character = account.db._last_puppet if not new_character: self.msg("Usage: @ic <character>"...
[ "def", "func", "(", "self", ")", ":", "account", "=", "self", ".", "account", "session", "=", "self", ".", "session", "new_character", "=", "None", "if", "not", "self", ".", "args", ":", "new_character", "=", "account", ".", "db", ".", "_last_puppet", ...
[ 253, 4 ]
[ 282, 82 ]
python
en
['en', 'error', 'th']
False
CmdOOC.func
(self)
Implement function
Implement function
def func(self): """Implement function""" account = self.account session = self.session old_char = account.get_puppet(session) if not old_char: string = "You are already OOC." self.msg(string) return account.db._last_puppet = old_char...
[ "def", "func", "(", "self", ")", ":", "account", "=", "self", ".", "account", "session", "=", "self", ".", "session", "old_char", "=", "account", ".", "get_puppet", "(", "session", ")", "if", "not", "old_char", ":", "string", "=", "\"You are already OOC.\"...
[ 307, 4 ]
[ 334, 78 ]
python
en
['en', 'en', 'en']
False
CmdSessions.func
(self)
Implement function
Implement function
def func(self): """Implement function""" account = self.account sessions = account.sessions.all() table = evtable.EvTable("|wsessid", "|wprotocol", "|whost", "|wpuppet/character", ...
[ "def", "func", "(", "self", ")", ":", "account", "=", "self", ".", "account", "sessions", "=", "account", ".", "sessions", ".", "all", "(", ")", "table", "=", "evtable", ".", "EvTable", "(", "\"|wsessid\"", ",", "\"|wprotocol\"", ",", "\"|whost\"", ",", ...
[ 354, 4 ]
[ 369, 64 ]
python
en
['en', 'en', 'en']
False
CmdWho.func
(self)
Get all connected accounts by polling session.
Get all connected accounts by polling session.
def func(self): """ Get all connected accounts by polling session. """ account = self.account session_list = SESSIONS.get_sessions() session_list = sorted(session_list, key=lambda o: o.account.key) if self.cmdstring == "doing": show_session_data = F...
[ "def", "func", "(", "self", ")", ":", "account", "=", "self", ".", "account", "session_list", "=", "SESSIONS", ".", "get_sessions", "(", ")", "session_list", "=", "sorted", "(", "session_list", ",", "key", "=", "lambda", "o", ":", "o", ".", "account", ...
[ 391, 4 ]
[ 447, 82 ]
python
en
['en', 'error', 'th']
False
CmdOption.func
(self)
Implements the command
Implements the command
def func(self): """ Implements the command """ if self.session is None: return flags = self.session.protocol_flags # Display current options if not self.args: # list the option settings if "save" in self.switches: ...
[ "def", "func", "(", "self", ")", ":", "if", "self", ".", "session", "is", "None", ":", "return", "flags", "=", "self", ".", "session", ".", "protocol_flags", "# Display current options", "if", "not", "self", ".", "args", ":", "# list the option settings", "i...
[ 475, 4 ]
[ 602, 51 ]
python
en
['en', 'error', 'th']
False
CmdPassword.func
(self)
hook function.
hook function.
def func(self): """hook function.""" account = self.account if not self.rhs: self.msg("Usage: @password <oldpass> = <newpass>") return oldpass = self.lhslist[0] # Both of these are newpass = self.rhslist[0] # already stripped by parse() # Valid...
[ "def", "func", "(", "self", ")", ":", "account", "=", "self", ".", "account", "if", "not", "self", ".", "rhs", ":", "self", ".", "msg", "(", "\"Usage: @password <oldpass> = <newpass>\"", ")", "return", "oldpass", "=", "self", ".", "lhslist", "[", "0", "]...
[ 620, 4 ]
[ 642, 41 ]
python
en
['en', 'af', 'en']
False
CmdQuit.func
(self)
hook function
hook function
def func(self): """hook function""" account = self.account if 'all' in self.switches: account.msg("|RQuitting|n all sessions. Hope to see you soon again.", session=self.session) reason = "quit/all" for session in account.sessions.all(): accoun...
[ "def", "func", "(", "self", ")", ":", "account", "=", "self", ".", "account", "if", "'all'", "in", "self", ".", "switches", ":", "account", ".", "msg", "(", "\"|RQuitting|n all sessions. Hope to see you soon again.\"", ",", "session", "=", "self", ".", "sessio...
[ 665, 4 ]
[ 684, 73 ]
python
en
['en', 'af', 'en']
False
CmdColorTest.table_format
(self, table)
Helper method to format the ansi/xterm256 tables. Takes a table of columns [[val,val,...],[val,val,...],...]
Helper method to format the ansi/xterm256 tables. Takes a table of columns [[val,val,...],[val,val,...],...]
def table_format(self, table): """ Helper method to format the ansi/xterm256 tables. Takes a table of columns [[val,val,...],[val,val,...],...] """ if not table: return [[]] extra_space = 1 max_widths = [max([len(str(val)) for val in col]) for col in ...
[ "def", "table_format", "(", "self", ",", "table", ")", ":", "if", "not", "table", ":", "return", "[", "[", "]", "]", "extra_space", "=", "1", "max_widths", "=", "[", "max", "(", "[", "len", "(", "str", "(", "val", ")", ")", "for", "val", "in", ...
[ 715, 4 ]
[ 729, 21 ]
python
en
['en', 'error', 'th']
False
CmdColorTest.func
(self)
Show color tables
Show color tables
def func(self): """Show color tables""" if self.args.startswith("a"): # show ansi 16-color table from evennia.utils import ansi ap = ansi.ANSI_PARSER # ansi colors # show all ansi color-related codes bright_fg = ["%s%s|n" % (code, ...
[ "def", "func", "(", "self", ")", ":", "if", "self", ".", "args", ".", "startswith", "(", "\"a\"", ")", ":", "# show ansi 16-color table", "from", "evennia", ".", "utils", "import", "ansi", "ap", "=", "ansi", ".", "ANSI_PARSER", "# ansi colors", "# show all a...
[ 731, 4 ]
[ 795, 52 ]
python
en
['en', 'fr', 'en']
True
CmdQuell._recache_locks
(self, account)
Helper method to reset the lockhandler on an already puppeted object
Helper method to reset the lockhandler on an already puppeted object
def _recache_locks(self, account): """Helper method to reset the lockhandler on an already puppeted object""" if self.session: char = self.session.puppet if char: # we are already puppeting an object. We need to reset # the lock caches (otherwise t...
[ "def", "_recache_locks", "(", "self", ",", "account", ")", ":", "if", "self", ".", "session", ":", "char", "=", "self", ".", "session", ".", "puppet", "if", "char", ":", "# we are already puppeting an object. We need to reset", "# the lock caches (otherwise the superu...
[ 823, 4 ]
[ 832, 29 ]
python
en
['en', 'en', 'en']
True
CmdQuell.func
(self)
Perform the command
Perform the command
def func(self): """Perform the command""" account = self.account permstr = account.is_superuser and " (superuser)" or "(%s)" % (", ".join(account.permissions.all())) if self.cmdstring in ('unquell', '@unquell'): if not account.attributes.get('_quell'): self.ms...
[ "def", "func", "(", "self", ")", ":", "account", "=", "self", ".", "account", "permstr", "=", "account", ".", "is_superuser", "and", "\" (superuser)\"", "or", "\"(%s)\"", "%", "(", "\", \"", ".", "join", "(", "account", ".", "permissions", ".", "all", "(...
[ 834, 4 ]
[ 859, 36 ]
python
en
['en', 'en', 'en']
True
start_plugin_services
(portal)
This hook is called by Evennia, last in the Portal startup process. portal - a reference to the main portal application.
This hook is called by Evennia, last in the Portal startup process.
def start_plugin_services(portal): """ This hook is called by Evennia, last in the Portal startup process. portal - a reference to the main portal application. """ pass
[ "def", "start_plugin_services", "(", "portal", ")", ":", "pass" ]
[ 17, 0 ]
[ 23, 8 ]
python
en
['en', 'error', 'th']
False
test_batch_rejected_on_catchup_start_can_be_ordered_before_ledgers_sync
( looper, tdirWithPoolTxns, tdirWithDomainTxns, nodeSet, sdk_pool_handle, sdk_wallet_endorser, allPluginsPath, tconf, disable_transport_batching)
Verifies that a batch rejected due to catch-up start can be successfully ordered later before ledgers synchronization without any warnings. In the test we perform stashing / unstashing messages and patching / unpatching methods to ensure the desired order of events for the following scenario: ...
Verifies that a batch rejected due to catch-up start can be successfully ordered later before ledgers synchronization without any warnings.
def test_batch_rejected_on_catchup_start_can_be_ordered_before_ledgers_sync( looper, tdirWithPoolTxns, tdirWithDomainTxns, nodeSet, sdk_pool_handle, sdk_wallet_endorser, allPluginsPath, tconf, disable_transport_batching): """ Verifies that ...
[ "def", "test_batch_rejected_on_catchup_start_can_be_ordered_before_ledgers_sync", "(", "looper", ",", "tdirWithPoolTxns", ",", "tdirWithDomainTxns", ",", "nodeSet", ",", "sdk_pool_handle", ",", "sdk_wallet_endorser", ",", "allPluginsPath", ",", "tconf", ",", "disable_transport_...
[ 44, 0 ]
[ 126, 49 ]
python
en
['en', 'error', 'th']
False
Title.font
(self)
Sets the font used for `title`. Note that the title's font used to be set by the now deprecated `titlefont` attribute. The 'font' property is an instance of Font that may be specified as: - An instance of :class:`plotly.graph_objs.pie.title.Font` - A dict of str...
Sets the font used for `title`. Note that the title's font used to be set by the now deprecated `titlefont` attribute. The 'font' property is an instance of Font that may be specified as: - An instance of :class:`plotly.graph_objs.pie.title.Font` - A dict of str...
def font(self): """ Sets the font used for `title`. Note that the title's font used to be set by the now deprecated `titlefont` attribute. The 'font' property is an instance of Font that may be specified as: - An instance of :class:`plotly.graph_objs.pie.title.Font...
[ "def", "font", "(", "self", ")", ":", "return", "self", "[", "\"font\"", "]" ]
[ 15, 4 ]
[ 63, 27 ]
python
en
['en', 'error', 'th']
False
Title.position
(self)
Specifies the location of the `title`. Note that the title's position used to be set by the now deprecated `titleposition` attribute. The 'position' property is an enumeration that may be specified as: - One of the following enumeration values: ['top left'...
Specifies the location of the `title`. Note that the title's position used to be set by the now deprecated `titleposition` attribute. The 'position' property is an enumeration that may be specified as: - One of the following enumeration values: ['top left'...
def position(self): """ Specifies the location of the `title`. Note that the title's position used to be set by the now deprecated `titleposition` attribute. The 'position' property is an enumeration that may be specified as: - One of the following enumeration valu...
[ "def", "position", "(", "self", ")", ":", "return", "self", "[", "\"position\"", "]" ]
[ 72, 4 ]
[ 87, 31 ]
python
en
['en', 'error', 'th']
False
Title.text
(self)
Sets the title of the chart. If it is empty, no title is displayed. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated. The 'text' property is a string and must be specif...
Sets the title of the chart. If it is empty, no title is displayed. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated. The 'text' property is a string and must be specif...
def text(self): """ Sets the title of the chart. If it is empty, no title is displayed. Note that before the existence of `title.text`, the title's contents used to be defined as the `title` attribute itself. This behavior has been deprecated. The 'text' property is ...
[ "def", "text", "(", "self", ")", ":", "return", "self", "[", "\"text\"", "]" ]
[ 96, 4 ]
[ 111, 27 ]
python
en
['en', 'error', 'th']
False
Title.__init__
(self, arg=None, font=None, position=None, text=None, **kwargs)
Construct a new Title object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.pie.Title` font Sets the font used for `title`. Note that the title's f...
Construct a new Title object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.pie.Title` font Sets the font used for `title`. Note that the title's f...
def __init__(self, arg=None, font=None, position=None, text=None, **kwargs): """ Construct a new Title object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.pie.Title` ...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "font", "=", "None", ",", "position", "=", "None", ",", "text", "=", "None", ",", "*", "*", "kwargs", ")", ":", "super", "(", "Title", ",", "self", ")", ".", "__init__", "(", "\"title\...
[ 138, 4 ]
[ 214, 34 ]
python
en
['en', 'error', 'th']
False
multiclass_nms
(multi_bboxes, multi_scores, score_thr, nms_cfg, max_num=-1, score_factors=None)
NMS for multi-class bboxes. Args: multi_bboxes (Tensor): shape (n, #class*4) or (n, 4) multi_scores (Tensor): shape (n, #class), where the last column contains scores of the background class, but this will be ignored. score_thr (float): bbox threshold, bboxes with scores lower t...
NMS for multi-class bboxes.
def multiclass_nms(multi_bboxes, multi_scores, score_thr, nms_cfg, max_num=-1, score_factors=None): """NMS for multi-class bboxes. Args: multi_bboxes (Tensor): shape (n, #class*4) or (n, 4) multi_scor...
[ "def", "multiclass_nms", "(", "multi_bboxes", ",", "multi_scores", ",", "score_thr", ",", "nms_cfg", ",", "max_num", "=", "-", "1", ",", "score_factors", "=", "None", ")", ":", "num_classes", "=", "multi_scores", ".", "size", "(", "1", ")", "-", "1", "# ...
[ 4, 0 ]
[ 55, 29 ]
python
en
['en', 'en', 'en']
True
BatchSampler._sample
(self, num)
Sample specific number of ground truths and return indices. Args: num (int): Sampled number. Returns: list[int]: Indices of sampled ground truths.
Sample specific number of ground truths and return indices.
def _sample(self, num): """Sample specific number of ground truths and return indices. Args: num (int): Sampled number. Returns: list[int]: Indices of sampled ground truths. """ if self._idx + num >= self._example_num: ret = self._indices[sel...
[ "def", "_sample", "(", "self", ",", "num", ")", ":", "if", "self", ".", "_idx", "+", "num", ">=", "self", ".", "_example_num", ":", "ret", "=", "self", ".", "_indices", "[", "self", ".", "_idx", ":", "]", ".", "copy", "(", ")", "self", ".", "_r...
[ 40, 4 ]
[ 55, 18 ]
python
en
['en', 'en', 'en']
True
BatchSampler._reset
(self)
Reset the index of batchsampler to zero.
Reset the index of batchsampler to zero.
def _reset(self): """Reset the index of batchsampler to zero.""" assert self._name is not None # print("reset", self._name) if self._shuffle: np.random.shuffle(self._indices) self._idx = 0
[ "def", "_reset", "(", "self", ")", ":", "assert", "self", ".", "_name", "is", "not", "None", "# print(\"reset\", self._name)", "if", "self", ".", "_shuffle", ":", "np", ".", "random", ".", "shuffle", "(", "self", ".", "_indices", ")", "self", ".", "_idx"...
[ 57, 4 ]
[ 63, 21 ]
python
en
['en', 'nl', 'en']
True
BatchSampler.sample
(self, num)
Sample specific number of ground truths. Args: num (int): Sampled number. Returns: list[dict]: Sampled ground truths.
Sample specific number of ground truths.
def sample(self, num): """Sample specific number of ground truths. Args: num (int): Sampled number. Returns: list[dict]: Sampled ground truths. """ indices = self._sample(num) return [self._sampled_list[i] for i in indices]
[ "def", "sample", "(", "self", ",", "num", ")", ":", "indices", "=", "self", ".", "_sample", "(", "num", ")", "return", "[", "self", ".", "_sampled_list", "[", "i", "]", "for", "i", "in", "indices", "]" ]
[ 65, 4 ]
[ 75, 55 ]
python
en
['en', 'en', 'en']
True
gen_convo_ul
(conversations)
Generate the ul section of the HTML for the conversations. :param conversation: The conversation to be rendered (after pre-processing) :return: The string generating the list in HTML
Generate the ul section of the HTML for the conversations.
def gen_convo_ul(conversations): """ Generate the ul section of the HTML for the conversations. :param conversation: The conversation to be rendered (after pre-processing) :return: The string generating the list in HTML """ ul_str = f"\t<ul>\n" for speaker, speech in conversations: ...
[ "def", "gen_convo_ul", "(", "conversations", ")", ":", "ul_str", "=", "f\"\\t<ul>\\n\"", "for", "speaker", ",", "speech", "in", "conversations", ":", "if", "speaker", "==", "END_OF_CONVO", ":", "ul_str", "+=", "f\"\\n\\t <li class=\\\"breaker\\\"><hr/></li>\\n\"", "e...
[ 23, 0 ]
[ 49, 17 ]
python
en
['en', 'error', 'th']
False
gen_html
( conversations, height, width, title, other_speaker, human_speaker, user_icon, alt_icon, )
Generate HTML string for the given conversation. :param conversation: The conversation to be rendered (after pre-processing) :param height: Height of the HTML page :param width: Width of the HTML page :param title: Title of the HTML page :param other_speaker: ...
Generate HTML string for the given conversation.
def gen_html( conversations, height, width, title, other_speaker, human_speaker, user_icon, alt_icon, ): """ Generate HTML string for the given conversation. :param conversation: The conversation to be rendered (after pre-processing) :param height: Height...
[ "def", "gen_html", "(", "conversations", ",", "height", ",", "width", ",", "title", ",", "other_speaker", ",", "human_speaker", ",", "user_icon", ",", "alt_icon", ",", ")", ":", "html_str", "=", "f\"\"\"<html>\n<head>\n <meta http-equiv=\"content-type\" content=\"tex...
[ 52, 0 ]
[ 153, 19 ]
python
en
['en', 'error', 'th']
False
pre_process
(fname, num_ex, alt_speaker)
Pre-process the given file to bring the conversation in a certain format. :param fname: File name to be processed :param num_ex: Number of conversations to be used :param alt_speaker: Name of other speaker to be used :return: List of tuples of the form: (speaker, speech)
Pre-process the given file to bring the conversation in a certain format.
def pre_process(fname, num_ex, alt_speaker): """ Pre-process the given file to bring the conversation in a certain format. :param fname: File name to be processed :param num_ex: Number of conversations to be used :param alt_speaker: Name of other speaker to be used :return: List of tuples of t...
[ "def", "pre_process", "(", "fname", ",", "num_ex", ",", "alt_speaker", ")", ":", "conversation", "=", "[", "]", "with", "PathManager", ".", "open", "(", "fname", ")", "as", "f", ":", "lines", "=", "f", ".", "readlines", "(", ")", "random", ".", "shuf...
[ 156, 0 ]
[ 180, 23 ]
python
en
['en', 'error', 'th']
False
prBlueBG
(text)
Print given in text with a blue background. :param text: The text to be printed
Print given in text with a blue background.
def prBlueBG(text): """ Print given in text with a blue background. :param text: The text to be printed """ print("\033[44m{}\033[0m".format(text), sep="")
[ "def", "prBlueBG", "(", "text", ")", ":", "print", "(", "\"\\033[44m{}\\033[0m\"", ".", "format", "(", "text", ")", ",", "sep", "=", "\"\"", ")" ]
[ 183, 0 ]
[ 189, 51 ]
python
en
['en', 'error', 'th']
False
display_cli
(conversations, alt_speaker, human_speaker)
Display the conversations on the Command Line. :param conversations: The dialogs to be displayed :param alt_speaker: Name of other speaker to be used :param human_speaker: Name of human speaker to be used
Display the conversations on the Command Line.
def display_cli(conversations, alt_speaker, human_speaker): """ Display the conversations on the Command Line. :param conversations: The dialogs to be displayed :param alt_speaker: Name of other speaker to be used :param human_speaker: Name of human speaker to be used """ for speaker, speec...
[ "def", "display_cli", "(", "conversations", ",", "alt_speaker", ",", "human_speaker", ")", ":", "for", "speaker", ",", "speech", "in", "conversations", ":", "if", "speaker", "==", "END_OF_CONVO", ":", "print", "(", "\"-\"", "*", "20", "+", "\"END OF CONVERSATI...
[ 192, 0 ]
[ 206, 58 ]
python
en
['en', 'error', 'th']
False
setup_args
()
Creates a parser object with some pre-determined arguments.
Creates a parser object with some pre-determined arguments.
def setup_args(): """ Creates a parser object with some pre-determined arguments. """ parser = ParlaiParser(add_parlai_args=True, description="Render data as HTML") conv_render = parser.add_argument_group('Conversation Rendering Arguments') conv_render.add_argument( "--input", "-i", help...
[ "def", "setup_args", "(", ")", ":", "parser", "=", "ParlaiParser", "(", "add_parlai_args", "=", "True", ",", "description", "=", "\"Render data as HTML\"", ")", "conv_render", "=", "parser", ".", "add_argument_group", "(", "'Conversation Rendering Arguments'", ")", ...
[ 209, 0 ]
[ 249, 17 ]
python
en
['en', 'error', 'th']
False
check_icon_arg
(src, default)
Checks if icon arguments are valid: either a URL or an absolute path. :param src: Source of the icon :param default: default value of the icon :return: src (possibly pre-pended with "file://")
Checks if icon arguments are valid: either a URL or an absolute path.
def check_icon_arg(src, default): """ Checks if icon arguments are valid: either a URL or an absolute path. :param src: Source of the icon :param default: default value of the icon :return: src (possibly pre-pended with "file://") """ if src != default: # check if URl if no...
[ "def", "check_icon_arg", "(", "src", ",", "default", ")", ":", "if", "src", "!=", "default", ":", "# check if URl", "if", "not", "src", ".", "startswith", "(", "'https://'", ")", "and", "not", "src", ".", "startswith", "(", "'http://'", ")", ":", "# Eith...
[ 252, 0 ]
[ 271, 14 ]
python
en
['en', 'error', 'th']
False
validate_args
(opt)
Validate the cmdline args passed into the script. :param opt: The arguments of te parser :return: Returns extension of output file. None if no output file
Validate the cmdline args passed into the script.
def validate_args(opt): """ Validate the cmdline args passed into the script. :param opt: The arguments of te parser :return: Returns extension of output file. None if no output file """ if not PathManager.exists(opt['input']): raise IOError("Input File does not exist") if opt['out...
[ "def", "validate_args", "(", "opt", ")", ":", "if", "not", "PathManager", ".", "exists", "(", "opt", "[", "'input'", "]", ")", ":", "raise", "IOError", "(", "\"Input File does not exist\"", ")", "if", "opt", "[", "'output'", "]", "is", "None", ":", "retu...
[ 274, 0 ]
[ 293, 20 ]
python
en
['en', 'error', 'th']
False
Tickfont.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 ]
[ 63, 28 ]
python
en
['en', 'error', 'th']
False
Tickfont.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\"", "]" ]
[ 72, 4 ]
[ 94, 29 ]
python
en
['en', 'error', 'th']
False
Tickfont.size
(self)
The 'size' property is a number and may be specified as: - An int or float in the interval [1, inf] Returns ------- int|float
The 'size' property is a number and may be specified as: - An int or float in the interval [1, inf]
def size(self): """ The 'size' property is a number and may be specified as: - An int or float in the interval [1, inf] Returns ------- int|float """ return self["size"]
[ "def", "size", "(", "self", ")", ":", "return", "self", "[", "\"size\"", "]" ]
[ 103, 4 ]
[ 112, 27 ]
python
en
['en', 'error', 'th']
False
Tickfont.__init__
(self, arg=None, color=None, family=None, size=None, **kwargs)
Construct a new Tickfont object Sets the color bar's tick label font Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.scatter.marker .colorbar.Tickfont` ...
Construct a new Tickfont object Sets the color bar's tick label font
def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): """ Construct a new Tickfont object Sets the color bar's tick label font Parameters ---------- arg dict of properties compatible with this constructor or an insta...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "color", "=", "None", ",", "family", "=", "None", ",", "size", "=", "None", ",", "*", "*", "kwargs", ")", ":", "super", "(", "Tickfont", ",", "self", ")", ".", "__init__", "(", "\"tick...
[ 143, 4 ]
[ 226, 34 ]
python
en
['en', 'error', 'th']
False
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.parcoords.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.parcoords.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.parcoords.S...
[ "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
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.streamtube.col orbar.Tickformatstop` dtickrange range [*min*, ...
Construct a new Tickformatstop object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.streamtube.col orbar.Tickformatstop` dtickrange range [*min*, ...
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
ErrorX.array
(self)
Sets the data corresponding the length of each error bar. Values are plotted relative to the underlying data. The 'array' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- numpy.ndarray
Sets the data corresponding the length of each error bar. Values are plotted relative to the underlying data. The 'array' property is an array that may be specified as a tuple, list, numpy array, or pandas Series
def array(self): """ Sets the data corresponding the length of each error bar. Values are plotted relative to the underlying data. The 'array' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ------- ...
[ "def", "array", "(", "self", ")", ":", "return", "self", "[", "\"array\"", "]" ]
[ 31, 4 ]
[ 43, 28 ]
python
en
['en', 'error', 'th']
False
ErrorX.arrayminus
(self)
Sets the data corresponding the length of each error bar in the bottom (left) direction for vertical (horizontal) bars Values are plotted relative to the underlying data. The 'arrayminus' property is an array that may be specified as a tuple, list, numpy array, or pandas Se...
Sets the data corresponding the length of each error bar in the bottom (left) direction for vertical (horizontal) bars Values are plotted relative to the underlying data. The 'arrayminus' property is an array that may be specified as a tuple, list, numpy array, or pandas Se...
def arrayminus(self): """ Sets the data corresponding the length of each error bar in the bottom (left) direction for vertical (horizontal) bars Values are plotted relative to the underlying data. The 'arrayminus' property is an array that may be specified as a tuple, ...
[ "def", "arrayminus", "(", "self", ")", ":", "return", "self", "[", "\"arrayminus\"", "]" ]
[ 52, 4 ]
[ 65, 33 ]
python
en
['en', 'error', 'th']
False
ErrorX.arrayminussrc
(self)
Sets the source reference on Chart Studio Cloud for arrayminus . The 'arrayminussrc' 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 arrayminus . The 'arrayminussrc' property must be specified as a string or as a plotly.grid_objs.Column object
def arrayminussrc(self): """ Sets the source reference on Chart Studio Cloud for arrayminus . The 'arrayminussrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["arra...
[ "def", "arrayminussrc", "(", "self", ")", ":", "return", "self", "[", "\"arrayminussrc\"", "]" ]
[ 74, 4 ]
[ 86, 36 ]
python
en
['en', 'error', 'th']
False
ErrorX.arraysrc
(self)
Sets the source reference on Chart Studio Cloud for array . The 'arraysrc' 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 array . The 'arraysrc' property must be specified as a string or as a plotly.grid_objs.Column object
def arraysrc(self): """ Sets the source reference on Chart Studio Cloud for array . The 'arraysrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["arraysrc"]
[ "def", "arraysrc", "(", "self", ")", ":", "return", "self", "[", "\"arraysrc\"", "]" ]
[ 95, 4 ]
[ 106, 31 ]
python
en
['en', 'error', 'th']
False
ErrorX.color
(self)
Sets the stoke color of the error bars. 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%,1...
Sets the stoke color of the error bars. 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%,1...
def color(self): """ Sets the stoke color of the error bars. 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/hsv...
[ "def", "color", "(", "self", ")", ":", "return", "self", "[", "\"color\"", "]" ]
[ 115, 4 ]
[ 165, 28 ]
python
en
['en', 'error', 'th']
False
ErrorX.copy_zstyle
(self)
The 'copy_zstyle' property must be specified as a bool (either True, or False) Returns ------- bool
The 'copy_zstyle' property must be specified as a bool (either True, or False)
def copy_zstyle(self): """ The 'copy_zstyle' property must be specified as a bool (either True, or False) Returns ------- bool """ return self["copy_zstyle"]
[ "def", "copy_zstyle", "(", "self", ")", ":", "return", "self", "[", "\"copy_zstyle\"", "]" ]
[ 174, 4 ]
[ 183, 34 ]
python
en
['en', 'error', 'th']
False
ErrorX.symmetric
(self)
Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. The 'symmetric' property must be specified as a bool (either True, or False) Returns ------- bool
Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. The 'symmetric' property must be specified as a bool (either True, or False)
def symmetric(self): """ Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. The 'symmetric' property must be specified as a bool (either True, or False) Returns ...
[ "def", "symmetric", "(", "self", ")", ":", "return", "self", "[", "\"symmetric\"", "]" ]
[ 192, 4 ]
[ 205, 32 ]
python
en
['en', 'error', 'th']
False
ErrorX.thickness
(self)
Sets the thickness (in px) of the error bars. The 'thickness' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float
Sets the thickness (in px) of the error bars. The 'thickness' property is a number and may be specified as: - An int or float in the interval [0, inf]
def thickness(self): """ Sets the thickness (in px) of the error bars. The 'thickness' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float """ return self["thickness"]
[ "def", "thickness", "(", "self", ")", ":", "return", "self", "[", "\"thickness\"", "]" ]
[ 214, 4 ]
[ 225, 32 ]
python
en
['en', 'error', 'th']
False