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
automargin
(self)
Determines whether long tick labels automatically grow the figure margins. The 'automargin' property must be specified as a bool (either True, or False) Returns ------- bool
Determines whether long tick labels automatically grow the figure margins. The 'automargin' property must be specified as a bool (either True, or False)
def automargin(self): """ Determines whether long tick labels automatically grow the figure margins. The 'automargin' property must be specified as a bool (either True, or False) Returns ------- bool """ return self["automargin"]
[ "def", "automargin", "(", "self", ")", ":", "return", "self", "[", "\"automargin\"", "]" ]
[ 117, 4 ]
[ 129, 33 ]
python
en
['en', 'error', 'th']
False
autorange
(self)
Determines whether or not the range of this axis is computed in relation to the input data. See `rangemode` for more info. If `range` is provided, then `autorange` is set to False. The 'autorange' property is an enumeration that may be specified as: - One of the following...
Determines whether or not the range of this axis is computed in relation to the input data. See `rangemode` for more info. If `range` is provided, then `autorange` is set to False. The 'autorange' property is an enumeration that may be specified as: - One of the following...
def autorange(self): """ Determines whether or not the range of this axis is computed in relation to the input data. See `rangemode` for more info. If `range` is provided, then `autorange` is set to False. The 'autorange' property is an enumeration that may be specified as: ...
[ "def", "autorange", "(", "self", ")", ":", "return", "self", "[", "\"autorange\"", "]" ]
[ 138, 4 ]
[ 152, 32 ]
python
en
['en', 'error', 'th']
False
calendar
(self)
Sets the calendar system to use for `range` and `tick0` if this is a date axis. This does not set the calendar for interpreting data on this axis, that's specified in the trace or via the global `layout.calendar` The 'calendar' property is an enumeration that may be specifi...
Sets the calendar system to use for `range` and `tick0` if this is a date axis. This does not set the calendar for interpreting data on this axis, that's specified in the trace or via the global `layout.calendar` The 'calendar' property is an enumeration that may be specifi...
def calendar(self): """ Sets the calendar system to use for `range` and `tick0` if this is a date axis. This does not set the calendar for interpreting data on this axis, that's specified in the trace or via the global `layout.calendar` The 'calendar' property is an ...
[ "def", "calendar", "(", "self", ")", ":", "return", "self", "[", "\"calendar\"", "]" ]
[ 161, 4 ]
[ 179, 31 ]
python
en
['en', 'error', 'th']
False
categoryarray
(self)
Sets the order in which categories on this axis appear. Only has an effect if `categoryorder` is set to "array". Used with `categoryorder`. The 'categoryarray' property is an array that may be specified as a tuple, list, numpy array, or pandas Series Returns ...
Sets the order in which categories on this axis appear. Only has an effect if `categoryorder` is set to "array". Used with `categoryorder`. The 'categoryarray' property is an array that may be specified as a tuple, list, numpy array, or pandas Series
def categoryarray(self): """ Sets the order in which categories on this axis appear. Only has an effect if `categoryorder` is set to "array". Used with `categoryorder`. The 'categoryarray' property is an array that may be specified as a tuple, list, numpy array, or p...
[ "def", "categoryarray", "(", "self", ")", ":", "return", "self", "[", "\"categoryarray\"", "]" ]
[ 188, 4 ]
[ 201, 36 ]
python
en
['en', 'error', 'th']
False
categoryarraysrc
(self)
Sets the source reference on Chart Studio Cloud for categoryarray . The 'categoryarraysrc' 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 categoryarray . The 'categoryarraysrc' property must be specified as a string or as a plotly.grid_objs.Column object
def categoryarraysrc(self): """ Sets the source reference on Chart Studio Cloud for categoryarray . The 'categoryarraysrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return se...
[ "def", "categoryarraysrc", "(", "self", ")", ":", "return", "self", "[", "\"categoryarraysrc\"", "]" ]
[ 210, 4 ]
[ 222, 39 ]
python
en
['en', 'error', 'th']
False
categoryorder
(self)
Specifies the ordering logic for the case of categorical variables. By default, plotly uses "trace", which specifies the order that is present in the data supplied. Set `categoryorder` to *category ascending* or *category descending* if order should be determined by the alphanum...
Specifies the ordering logic for the case of categorical variables. By default, plotly uses "trace", which specifies the order that is present in the data supplied. Set `categoryorder` to *category ascending* or *category descending* if order should be determined by the alphanum...
def categoryorder(self): """ Specifies the ordering logic for the case of categorical variables. By default, plotly uses "trace", which specifies the order that is present in the data supplied. Set `categoryorder` to *category ascending* or *category descending* if order ...
[ "def", "categoryorder", "(", "self", ")", ":", "return", "self", "[", "\"categoryorder\"", "]" ]
[ 231, 4 ]
[ 262, 36 ]
python
en
['en', 'error', 'th']
False
color
(self)
Sets default for all colors associated with this axis all at once: line, font, tick, and grid colors. Grid color is lightened by blending this with the plot background Individual pieces can override this. The 'color' property is a color and may be specified as: - ...
Sets default for all colors associated with this axis all at once: line, font, tick, and grid colors. Grid color is lightened by blending this with the plot background Individual pieces can override this. The 'color' property is a color and may be specified as: - ...
def color(self): """ Sets default for all colors associated with this axis all at once: line, font, tick, and grid colors. Grid color is lightened by blending this with the plot background Individual pieces can override this. The 'color' property is a color and may b...
[ "def", "color", "(", "self", ")", ":", "return", "self", "[", "\"color\"", "]" ]
[ 271, 4 ]
[ 324, 28 ]
python
en
['en', 'error', 'th']
False
constrain
(self)
If this axis needs to be compressed (either due to its own `scaleanchor` and `scaleratio` or those of the other axis), determines how that happens: by increasing the "range" (default), or by decreasing the "domain". The 'constrain' property is an enumeration that may be spe...
If this axis needs to be compressed (either due to its own `scaleanchor` and `scaleratio` or those of the other axis), determines how that happens: by increasing the "range" (default), or by decreasing the "domain". The 'constrain' property is an enumeration that may be spe...
def constrain(self): """ If this axis needs to be compressed (either due to its own `scaleanchor` and `scaleratio` or those of the other axis), determines how that happens: by increasing the "range" (default), or by decreasing the "domain". The 'constrain' property i...
[ "def", "constrain", "(", "self", ")", ":", "return", "self", "[", "\"constrain\"", "]" ]
[ 333, 4 ]
[ 348, 32 ]
python
en
['en', 'error', 'th']
False
constraintoward
(self)
If this axis needs to be compressed (either due to its own `scaleanchor` and `scaleratio` or those of the other axis), determines which direction we push the originally specified plot area. Options are "left", "center" (default), and "right" for x axes, and "top", "middle" (defa...
If this axis needs to be compressed (either due to its own `scaleanchor` and `scaleratio` or those of the other axis), determines which direction we push the originally specified plot area. Options are "left", "center" (default), and "right" for x axes, and "top", "middle" (defa...
def constraintoward(self): """ If this axis needs to be compressed (either due to its own `scaleanchor` and `scaleratio` or those of the other axis), determines which direction we push the originally specified plot area. Options are "left", "center" (default), and "right" ...
[ "def", "constraintoward", "(", "self", ")", ":", "return", "self", "[", "\"constraintoward\"", "]" ]
[ 357, 4 ]
[ 374, 38 ]
python
en
['en', 'error', 'th']
False
dividercolor
(self)
Sets the color of the dividers Only has an effect on "multicategory" axes. The 'dividercolor' 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%)') ...
Sets the color of the dividers Only has an effect on "multicategory" axes. The 'dividercolor' 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 dividercolor(self): """ Sets the color of the dividers Only has an effect on "multicategory" axes. The 'dividercolor' 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/hs...
[ "def", "dividercolor", "(", "self", ")", ":", "return", "self", "[", "\"dividercolor\"", "]" ]
[ 383, 4 ]
[ 434, 35 ]
python
en
['en', 'error', 'th']
False
dividerwidth
(self)
Sets the width (in px) of the dividers Only has an effect on "multicategory" axes. The 'dividerwidth' property is a number and may be specified as: - An int or float Returns ------- int|float
Sets the width (in px) of the dividers Only has an effect on "multicategory" axes. The 'dividerwidth' property is a number and may be specified as: - An int or float
def dividerwidth(self): """ Sets the width (in px) of the dividers Only has an effect on "multicategory" axes. The 'dividerwidth' property is a number and may be specified as: - An int or float Returns ------- int|float """ return s...
[ "def", "dividerwidth", "(", "self", ")", ":", "return", "self", "[", "\"dividerwidth\"", "]" ]
[ 443, 4 ]
[ 455, 35 ]
python
en
['en', 'error', 'th']
False
domain
(self)
Sets the domain of this axis (in plot fraction). The 'domain' property is an info array that may be specified as: * a list or tuple of 2 elements where: (0) The 'domain[0]' property is a number and may be specified as: - An int or float in the interval [0, 1] (1) The...
Sets the domain of this axis (in plot fraction). The 'domain' property is an info array that may be specified as: * a list or tuple of 2 elements where: (0) The 'domain[0]' property is a number and may be specified as: - An int or float in the interval [0, 1] (1) The...
def domain(self): """ Sets the domain of this axis (in plot fraction). The 'domain' property is an info array that may be specified as: * a list or tuple of 2 elements where: (0) The 'domain[0]' property is a number and may be specified as: - An int or float in th...
[ "def", "domain", "(", "self", ")", ":", "return", "self", "[", "\"domain\"", "]" ]
[ 464, 4 ]
[ 480, 29 ]
python
en
['en', 'error', 'th']
False
dtick
(self)
Sets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n*dtick) where n is the tick number. For example, to set a tick mark at 1, 1...
Sets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n*dtick) where n is the tick number. For example, to set a tick mark at 1, 1...
def dtick(self): """ Sets the step in-between ticks on this axis. Use with `tick0`. Must be a positive number, or special strings available to "log" and "date" axes. If the axis `type` is "log", then ticks are set every 10^(n*dtick) where n is the tick number. For example...
[ "def", "dtick", "(", "self", ")", ":", "return", "self", "[", "\"dtick\"", "]" ]
[ 489, 4 ]
[ 518, 28 ]
python
en
['en', 'error', 'th']
False
exponentformat
(self)
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B. The 'exponentformat' prop...
Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B. The 'exponentformat' prop...
def exponentformat(self): """ Determines a formatting rule for the tick exponents. For example, consider the number 1,000,000,000. If "none", it appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If "B", 1B. ...
[ "def", "exponentformat", "(", "self", ")", ":", "return", "self", "[", "\"exponentformat\"", "]" ]
[ 527, 4 ]
[ 543, 37 ]
python
en
['en', 'error', 'th']
False
fixedrange
(self)
Determines whether or not this axis is zoom-able. If true, then zoom is disabled. The 'fixedrange' property must be specified as a bool (either True, or False) Returns ------- bool
Determines whether or not this axis is zoom-able. If true, then zoom is disabled. The 'fixedrange' property must be specified as a bool (either True, or False)
def fixedrange(self): """ Determines whether or not this axis is zoom-able. If true, then zoom is disabled. The 'fixedrange' property must be specified as a bool (either True, or False) Returns ------- bool """ return self["fixedrange...
[ "def", "fixedrange", "(", "self", ")", ":", "return", "self", "[", "\"fixedrange\"", "]" ]
[ 552, 4 ]
[ 564, 33 ]
python
en
['en', 'error', 'th']
False
gridcolor
(self)
Sets the color of the grid lines. The 'gridcolor' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva string (e.g. 'hsv(0,100%,100...
Sets the color of the grid lines. The 'gridcolor' 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 gridcolor(self): """ Sets the color of the grid lines. The 'gridcolor' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/h...
[ "def", "gridcolor", "(", "self", ")", ":", "return", "self", "[", "\"gridcolor\"", "]" ]
[ 573, 4 ]
[ 623, 32 ]
python
en
['en', 'error', 'th']
False
gridwidth
(self)
Sets the width (in px) of the grid lines. The 'gridwidth' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float
Sets the width (in px) of the grid lines. The 'gridwidth' property is a number and may be specified as: - An int or float in the interval [0, inf]
def gridwidth(self): """ Sets the width (in px) of the grid lines. The 'gridwidth' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float """ return self["gridwidth"]
[ "def", "gridwidth", "(", "self", ")", ":", "return", "self", "[", "\"gridwidth\"", "]" ]
[ 632, 4 ]
[ 643, 32 ]
python
en
['en', 'error', 'th']
False
hoverformat
(self)
Sets the hover text 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 hover text 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 hoverformat(self): """ Sets the hover text 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://githu...
[ "def", "hoverformat", "(", "self", ")", ":", "return", "self", "[", "\"hoverformat\"", "]" ]
[ 652, 4 ]
[ 672, 34 ]
python
en
['en', 'error', 'th']
False
layer
(self)
Sets the layer on which this axis is displayed. If *above traces*, this axis is displayed above all the subplot's traces If *below traces*, this axis is displayed below all the subplot's traces, but above the grid lines. Useful when used together with scatter-like traces with `c...
Sets the layer on which this axis is displayed. If *above traces*, this axis is displayed above all the subplot's traces If *below traces*, this axis is displayed below all the subplot's traces, but above the grid lines. Useful when used together with scatter-like traces with `c...
def layer(self): """ Sets the layer on which this axis is displayed. If *above traces*, this axis is displayed above all the subplot's traces If *below traces*, this axis is displayed below all the subplot's traces, but above the grid lines. Useful when used together with...
[ "def", "layer", "(", "self", ")", ":", "return", "self", "[", "\"layer\"", "]" ]
[ 681, 4 ]
[ 698, 28 ]
python
en
['en', 'error', 'th']
False
linecolor
(self)
Sets the axis line color. The 'linecolor' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') ...
Sets the axis line color. The 'linecolor' 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 linecolor(self): """ Sets the axis line color. The 'linecolor' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva stri...
[ "def", "linecolor", "(", "self", ")", ":", "return", "self", "[", "\"linecolor\"", "]" ]
[ 707, 4 ]
[ 757, 32 ]
python
en
['en', 'error', 'th']
False
linewidth
(self)
Sets the width (in px) of the axis line. The 'linewidth' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float
Sets the width (in px) of the axis line. The 'linewidth' property is a number and may be specified as: - An int or float in the interval [0, inf]
def linewidth(self): """ Sets the width (in px) of the axis line. The 'linewidth' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float """ return self["linewidth"]
[ "def", "linewidth", "(", "self", ")", ":", "return", "self", "[", "\"linewidth\"", "]" ]
[ 766, 4 ]
[ 777, 32 ]
python
en
['en', 'error', 'th']
False
matches
(self)
If set to another axis id (e.g. `x2`, `y`), the range of this axis will match the range of the corresponding axis in data- coordinates space. Moreover, matching axes share auto-range values, category lists and histogram auto-bins. Note that setting axes simultaneously in both a ...
If set to another axis id (e.g. `x2`, `y`), the range of this axis will match the range of the corresponding axis in data- coordinates space. Moreover, matching axes share auto-range values, category lists and histogram auto-bins. Note that setting axes simultaneously in both a ...
def matches(self): """ If set to another axis id (e.g. `x2`, `y`), the range of this axis will match the range of the corresponding axis in data- coordinates space. Moreover, matching axes share auto-range values, category lists and histogram auto-bins. Note that setting ...
[ "def", "matches", "(", "self", ")", ":", "return", "self", "[", "\"matches\"", "]" ]
[ 786, 4 ]
[ 804, 30 ]
python
en
['en', 'error', 'th']
False
mirror
(self)
Determines if the axis lines or/and ticks are mirrored to the opposite side of the plotting area. If True, the axis lines are mirrored. If "ticks", the axis lines and ticks are mirrored. If False, mirroring is disable. If "all", axis lines are mirrored on all shared-axes subplot...
Determines if the axis lines or/and ticks are mirrored to the opposite side of the plotting area. If True, the axis lines are mirrored. If "ticks", the axis lines and ticks are mirrored. If False, mirroring is disable. If "all", axis lines are mirrored on all shared-axes subplot...
def mirror(self): """ Determines if the axis lines or/and ticks are mirrored to the opposite side of the plotting area. If True, the axis lines are mirrored. If "ticks", the axis lines and ticks are mirrored. If False, mirroring is disable. If "all", axis lines are mirrored ...
[ "def", "mirror", "(", "self", ")", ":", "return", "self", "[", "\"mirror\"", "]" ]
[ 813, 4 ]
[ 830, 29 ]
python
en
['en', 'error', 'th']
False
nticks
(self)
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto". The 'nticks' property is a integer and may be specified as: ...
Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto". The 'nticks' property is a integer and may be specified as: ...
def nticks(self): """ Specifies the maximum number of ticks for the particular axis. The actual number of ticks will be chosen automatically to be less than or equal to `nticks`. Has an effect only if `tickmode` is set to "auto". The 'nticks' property is a integer an...
[ "def", "nticks", "(", "self", ")", ":", "return", "self", "[", "\"nticks\"", "]" ]
[ 839, 4 ]
[ 854, 29 ]
python
en
['en', 'error', 'th']
False
overlaying
(self)
If set a same-letter axis id, this axis is overlaid on top of the corresponding same-letter axis, with traces and axes visible for both axes. If False, this axis does not overlay any same-letter axes. In this case, for axes with overlapping domains only the highest-numbered axis...
If set a same-letter axis id, this axis is overlaid on top of the corresponding same-letter axis, with traces and axes visible for both axes. If False, this axis does not overlay any same-letter axes. In this case, for axes with overlapping domains only the highest-numbered axis...
def overlaying(self): """ If set a same-letter axis id, this axis is overlaid on top of the corresponding same-letter axis, with traces and axes visible for both axes. If False, this axis does not overlay any same-letter axes. In this case, for axes with overlapping domai...
[ "def", "overlaying", "(", "self", ")", ":", "return", "self", "[", "\"overlaying\"", "]" ]
[ 863, 4 ]
[ 881, 33 ]
python
en
['en', 'error', 'th']
False
position
(self)
Sets the position of this axis in the plotting space (in normalized coordinates). Only has an effect if `anchor` is set to "free". The 'position' property is a number and may be specified as: - An int or float in the interval [0, 1] Returns ------- ...
Sets the position of this axis in the plotting space (in normalized coordinates). Only has an effect if `anchor` is set to "free". The 'position' property is a number and may be specified as: - An int or float in the interval [0, 1]
def position(self): """ Sets the position of this axis in the plotting space (in normalized coordinates). Only has an effect if `anchor` is set to "free". The 'position' property is a number and may be specified as: - An int or float in the interval [0, 1] ...
[ "def", "position", "(", "self", ")", ":", "return", "self", "[", "\"position\"", "]" ]
[ 890, 4 ]
[ 903, 31 ]
python
en
['en', 'error', 'th']
False
range
(self)
Sets the range of this axis. If the axis `type` is "log", then you must take the log of your desired range (e.g. to set the range from 1 to 100, set the range from 0 to 2). If the axis `type` is "date", it should be date strings, like date data, though Date objects and unix mill...
Sets the range of this axis. If the axis `type` is "log", then you must take the log of your desired range (e.g. to set the range from 1 to 100, set the range from 0 to 2). If the axis `type` is "date", it should be date strings, like date data, though Date objects and unix mill...
def range(self): """ Sets the range of this axis. If the axis `type` is "log", then you must take the log of your desired range (e.g. to set the range from 1 to 100, set the range from 0 to 2). If the axis `type` is "date", it should be date strings, like date data, thoug...
[ "def", "range", "(", "self", ")", ":", "return", "self", "[", "\"range\"", "]" ]
[ 912, 4 ]
[ 933, 28 ]
python
en
['en', 'error', 'th']
False
rangebreaks
(self)
The 'rangebreaks' property is a tuple of instances of Rangebreak that may be specified as: - A list or tuple of instances of plotly.graph_objs.layout.xaxis.Rangebreak - A list or tuple of dicts of string/value properties that will be passed to the Rangebreak constructor ...
The 'rangebreaks' property is a tuple of instances of Rangebreak that may be specified as: - A list or tuple of instances of plotly.graph_objs.layout.xaxis.Rangebreak - A list or tuple of dicts of string/value properties that will be passed to the Rangebreak constructor ...
def rangebreaks(self): """ The 'rangebreaks' property is a tuple of instances of Rangebreak that may be specified as: - A list or tuple of instances of plotly.graph_objs.layout.xaxis.Rangebreak - A list or tuple of dicts of string/value properties that will be pas...
[ "def", "rangebreaks", "(", "self", ")", ":", "return", "self", "[", "\"rangebreaks\"", "]" ]
[ 942, 4 ]
[ 1008, 34 ]
python
en
['en', 'error', 'th']
False
rangebreakdefaults
(self)
When used in a template (as layout.template.layout.xaxis.rangebreakdefaults), sets the default property values to use for elements of layout.xaxis.rangebreaks The 'rangebreakdefaults' property is an instance of Rangebreak that may be specified as: - An ins...
When used in a template (as layout.template.layout.xaxis.rangebreakdefaults), sets the default property values to use for elements of layout.xaxis.rangebreaks The 'rangebreakdefaults' property is an instance of Rangebreak that may be specified as: - An ins...
def rangebreakdefaults(self): """ When used in a template (as layout.template.layout.xaxis.rangebreakdefaults), sets the default property values to use for elements of layout.xaxis.rangebreaks The 'rangebreakdefaults' property is an instance of Rangebreak tha...
[ "def", "rangebreakdefaults", "(", "self", ")", ":", "return", "self", "[", "\"rangebreakdefaults\"", "]" ]
[ 1017, 4 ]
[ 1036, 41 ]
python
en
['en', 'error', 'th']
False
rangemode
(self)
If "normal", the range is computed in relation to the extrema of the input data. If *tozero*`, the range extends to 0, regardless of the input data If "nonnegative", the range is non-negative, regardless of the input data. Applies only to linear axes. The 'rangemode...
If "normal", the range is computed in relation to the extrema of the input data. If *tozero*`, the range extends to 0, regardless of the input data If "nonnegative", the range is non-negative, regardless of the input data. Applies only to linear axes. The 'rangemode...
def rangemode(self): """ If "normal", the range is computed in relation to the extrema of the input data. If *tozero*`, the range extends to 0, regardless of the input data If "nonnegative", the range is non-negative, regardless of the input data. Applies only to linear a...
[ "def", "rangemode", "(", "self", ")", ":", "return", "self", "[", "\"rangemode\"", "]" ]
[ 1045, 4 ]
[ 1061, 32 ]
python
en
['en', 'error', 'th']
False
rangeselector
(self)
The 'rangeselector' property is an instance of Rangeselector that may be specified as: - An instance of :class:`plotly.graph_objs.layout.xaxis.Rangeselector` - A dict of string/value properties that will be passed to the Rangeselector constructor Support...
The 'rangeselector' property is an instance of Rangeselector that may be specified as: - An instance of :class:`plotly.graph_objs.layout.xaxis.Rangeselector` - A dict of string/value properties that will be passed to the Rangeselector constructor Support...
def rangeselector(self): """ The 'rangeselector' property is an instance of Rangeselector that may be specified as: - An instance of :class:`plotly.graph_objs.layout.xaxis.Rangeselector` - A dict of string/value properties that will be passed to the Rangeselector ...
[ "def", "rangeselector", "(", "self", ")", ":", "return", "self", "[", "\"rangeselector\"", "]" ]
[ 1070, 4 ]
[ 1130, 36 ]
python
en
['en', 'error', 'th']
False
rangeslider
(self)
The 'rangeslider' property is an instance of Rangeslider that may be specified as: - An instance of :class:`plotly.graph_objs.layout.xaxis.Rangeslider` - A dict of string/value properties that will be passed to the Rangeslider constructor Supported dict ...
The 'rangeslider' property is an instance of Rangeslider that may be specified as: - An instance of :class:`plotly.graph_objs.layout.xaxis.Rangeslider` - A dict of string/value properties that will be passed to the Rangeslider constructor Supported dict ...
def rangeslider(self): """ The 'rangeslider' property is an instance of Rangeslider that may be specified as: - An instance of :class:`plotly.graph_objs.layout.xaxis.Rangeslider` - A dict of string/value properties that will be passed to the Rangeslider constructo...
[ "def", "rangeslider", "(", "self", ")", ":", "return", "self", "[", "\"rangeslider\"", "]" ]
[ 1139, 4 ]
[ 1188, 34 ]
python
en
['en', 'error', 'th']
False
scaleanchor
(self)
If set to another axis id (e.g. `x2`, `y`), the range of this axis changes together with the range of the corresponding axis such that the scale of pixels per unit is in a constant ratio. Both axes are still zoomable, but when you zoom one, the other will zoom the same amount, k...
If set to another axis id (e.g. `x2`, `y`), the range of this axis changes together with the range of the corresponding axis such that the scale of pixels per unit is in a constant ratio. Both axes are still zoomable, but when you zoom one, the other will zoom the same amount, k...
def scaleanchor(self): """ If set to another axis id (e.g. `x2`, `y`), the range of this axis changes together with the range of the corresponding axis such that the scale of pixels per unit is in a constant ratio. Both axes are still zoomable, but when you zoom one, the other ...
[ "def", "scaleanchor", "(", "self", ")", ":", "return", "self", "[", "\"scaleanchor\"", "]" ]
[ 1197, 4 ]
[ 1224, 34 ]
python
en
['en', 'error', 'th']
False
scaleratio
(self)
If this axis is linked to another by `scaleanchor`, this determines the pixel to unit scale ratio. For example, if this value is 10, then every unit on this axis spans 10 times the number of pixels as a unit on the linked axis. Use this for example to create an elevation profile...
If this axis is linked to another by `scaleanchor`, this determines the pixel to unit scale ratio. For example, if this value is 10, then every unit on this axis spans 10 times the number of pixels as a unit on the linked axis. Use this for example to create an elevation profile...
def scaleratio(self): """ If this axis is linked to another by `scaleanchor`, this determines the pixel to unit scale ratio. For example, if this value is 10, then every unit on this axis spans 10 times the number of pixels as a unit on the linked axis. Use this for examp...
[ "def", "scaleratio", "(", "self", ")", ":", "return", "self", "[", "\"scaleratio\"", "]" ]
[ 1233, 4 ]
[ 1249, 33 ]
python
en
['en', 'error', 'th']
False
separatethousands
(self)
If "true", even 4-digit integers are separated The 'separatethousands' property must be specified as a bool (either True, or False) Returns ------- bool
If "true", even 4-digit integers are separated The 'separatethousands' property must be specified as a bool (either True, or False)
def separatethousands(self): """ If "true", even 4-digit integers are separated The 'separatethousands' property must be specified as a bool (either True, or False) Returns ------- bool """ return self["separatethousands"]
[ "def", "separatethousands", "(", "self", ")", ":", "return", "self", "[", "\"separatethousands\"", "]" ]
[ 1258, 4 ]
[ 1269, 40 ]
python
en
['en', 'error', 'th']
False
showdividers
(self)
Determines whether or not a dividers are drawn between the category levels of this axis. Only has an effect on "multicategory" axes. The 'showdividers' property must be specified as a bool (either True, or False) Returns ------- bool
Determines whether or not a dividers are drawn between the category levels of this axis. Only has an effect on "multicategory" axes. The 'showdividers' property must be specified as a bool (either True, or False)
def showdividers(self): """ Determines whether or not a dividers are drawn between the category levels of this axis. Only has an effect on "multicategory" axes. The 'showdividers' property must be specified as a bool (either True, or False) Returns -...
[ "def", "showdividers", "(", "self", ")", ":", "return", "self", "[", "\"showdividers\"", "]" ]
[ 1278, 4 ]
[ 1291, 35 ]
python
en
['en', 'error', 'th']
False
showexponent
(self)
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear. The 'showexponent' property is an enumeration that may be specifie...
If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear. The 'showexponent' property is an enumeration that may be specifie...
def showexponent(self): """ If "all", all exponents are shown besides their significands. If "first", only the exponent of the first tick is shown. If "last", only the exponent of the last tick is shown. If "none", no exponents appear. The 'showexponent' property is ...
[ "def", "showexponent", "(", "self", ")", ":", "return", "self", "[", "\"showexponent\"", "]" ]
[ 1300, 4 ]
[ 1315, 35 ]
python
en
['en', 'error', 'th']
False
showgrid
(self)
Determines whether or not grid lines are drawn. If True, the grid lines are drawn at every tick mark. The 'showgrid' property must be specified as a bool (either True, or False) Returns ------- bool
Determines whether or not grid lines are drawn. If True, the grid lines are drawn at every tick mark. The 'showgrid' property must be specified as a bool (either True, or False)
def showgrid(self): """ Determines whether or not grid lines are drawn. If True, the grid lines are drawn at every tick mark. The 'showgrid' property must be specified as a bool (either True, or False) Returns ------- bool """ return ...
[ "def", "showgrid", "(", "self", ")", ":", "return", "self", "[", "\"showgrid\"", "]" ]
[ 1324, 4 ]
[ 1336, 31 ]
python
en
['en', 'error', 'th']
False
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\"", "]" ]
[ 1345, 4 ]
[ 1356, 31 ]
python
en
['en', 'error', 'th']
False
showspikes
(self)
Determines whether or not spikes (aka droplines) are drawn for this axis. Note: This only takes affect when hovermode = closest The 'showspikes' property must be specified as a bool (either True, or False) Returns ------- bool
Determines whether or not spikes (aka droplines) are drawn for this axis. Note: This only takes affect when hovermode = closest The 'showspikes' property must be specified as a bool (either True, or False)
def showspikes(self): """ Determines whether or not spikes (aka droplines) are drawn for this axis. Note: This only takes affect when hovermode = closest The 'showspikes' property must be specified as a bool (either True, or False) Returns ------- ...
[ "def", "showspikes", "(", "self", ")", ":", "return", "self", "[", "\"showspikes\"", "]" ]
[ 1365, 4 ]
[ 1378, 33 ]
python
en
['en', 'error', 'th']
False
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\"", "]" ]
[ 1387, 4 ]
[ 1398, 37 ]
python
en
['en', 'error', 'th']
False
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\"", "]" ]
[ 1407, 4 ]
[ 1422, 37 ]
python
en
['en', 'error', 'th']
False
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\"", "]" ]
[ 1431, 4 ]
[ 1443, 37 ]
python
en
['en', 'error', 'th']
False
side
(self)
Determines whether a x (y) axis is positioned at the "bottom" ("left") or "top" ("right") of the plotting area. The 'side' property is an enumeration that may be specified as: - One of the following enumeration values: ['top', 'bottom', 'left', 'right'] R...
Determines whether a x (y) axis is positioned at the "bottom" ("left") or "top" ("right") of the plotting area. The 'side' property is an enumeration that may be specified as: - One of the following enumeration values: ['top', 'bottom', 'left', 'right']
def side(self): """ Determines whether a x (y) axis is positioned at the "bottom" ("left") or "top" ("right") of the plotting area. The 'side' property is an enumeration that may be specified as: - One of the following enumeration values: ['top', 'bottom', ...
[ "def", "side", "(", "self", ")", ":", "return", "self", "[", "\"side\"", "]" ]
[ 1452, 4 ]
[ 1465, 27 ]
python
en
['en', 'error', 'th']
False
spikecolor
(self)
Sets the spike color. If undefined, will use the series color The 'spikecolor' 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...
Sets the spike color. If undefined, will use the series color The 'spikecolor' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva...
def spikecolor(self): """ Sets the spike color. If undefined, will use the series color The 'spikecolor' 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,10...
[ "def", "spikecolor", "(", "self", ")", ":", "return", "self", "[", "\"spikecolor\"", "]" ]
[ 1474, 4 ]
[ 1524, 33 ]
python
en
['en', 'error', 'th']
False
spikedash
(self)
Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px"). The 'spikedash' property is a string and must be specified as: - One of the following str...
Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px"). The 'spikedash' property is a string and must be specified as: - One of the following str...
def spikedash(self): """ Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px"). The 'spikedash' property is a string and must be specified as: ...
[ "def", "spikedash", "(", "self", ")", ":", "return", "self", "[", "\"spikedash\"", "]" ]
[ 1533, 4 ]
[ 1550, 32 ]
python
en
['en', 'error', 'th']
False
spikemode
(self)
Determines the drawing mode for the spike line If "toaxis", the line is drawn from the data point to the axis the series is plotted on. If "across", the line is drawn across the entire plot area, and supercedes "toaxis". If "marker", then a marker dot is drawn on the axis the s...
Determines the drawing mode for the spike line If "toaxis", the line is drawn from the data point to the axis the series is plotted on. If "across", the line is drawn across the entire plot area, and supercedes "toaxis". If "marker", then a marker dot is drawn on the axis the s...
def spikemode(self): """ Determines the drawing mode for the spike line If "toaxis", the line is drawn from the data point to the axis the series is plotted on. If "across", the line is drawn across the entire plot area, and supercedes "toaxis". If "marker", then a marker ...
[ "def", "spikemode", "(", "self", ")", ":", "return", "self", "[", "\"spikemode\"", "]" ]
[ 1559, 4 ]
[ 1576, 32 ]
python
en
['en', 'error', 'th']
False
spikesnap
(self)
Determines whether spikelines are stuck to the cursor or to the closest datapoints. The 'spikesnap' property is an enumeration that may be specified as: - One of the following enumeration values: ['data', 'cursor', 'hovered data'] Returns ------- ...
Determines whether spikelines are stuck to the cursor or to the closest datapoints. The 'spikesnap' property is an enumeration that may be specified as: - One of the following enumeration values: ['data', 'cursor', 'hovered data']
def spikesnap(self): """ Determines whether spikelines are stuck to the cursor or to the closest datapoints. The 'spikesnap' property is an enumeration that may be specified as: - One of the following enumeration values: ['data', 'cursor', 'hovered data'] ...
[ "def", "spikesnap", "(", "self", ")", ":", "return", "self", "[", "\"spikesnap\"", "]" ]
[ 1585, 4 ]
[ 1598, 32 ]
python
en
['en', 'error', 'th']
False
spikethickness
(self)
Sets the width (in px) of the zero line. The 'spikethickness' property is a number and may be specified as: - An int or float Returns ------- int|float
Sets the width (in px) of the zero line. The 'spikethickness' property is a number and may be specified as: - An int or float
def spikethickness(self): """ Sets the width (in px) of the zero line. The 'spikethickness' property is a number and may be specified as: - An int or float Returns ------- int|float """ return self["spikethickness"]
[ "def", "spikethickness", "(", "self", ")", ":", "return", "self", "[", "\"spikethickness\"", "]" ]
[ 1607, 4 ]
[ 1618, 37 ]
python
en
['en', 'error', 'th']
False
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\"", "]" ]
[ 1627, 4 ]
[ 1645, 28 ]
python
en
['en', 'error', 'th']
False
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\"", "]" ]
[ 1654, 4 ]
[ 1669, 32 ]
python
en
['en', 'error', 'th']
False
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\"", "]" ]
[ 1678, 4 ]
[ 1728, 32 ]
python
en
['en', 'error', 'th']
False
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.xaxis.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.xaxis.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.xaxis.Tickfont` - A dict of string/value properties that will be passed to the T...
[ "def", "tickfont", "(", "self", ")", ":", "return", "self", "[", "\"tickfont\"", "]" ]
[ 1737, 4 ]
[ 1774, 31 ]
python
en
['en', 'error', 'th']
False
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\"", "]" ]
[ 1783, 4 ]
[ 1803, 33 ]
python
en
['en', 'error', 'th']
False
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.xaxis.Tickformatstop - A list or tuple of dicts of string/value properties that will be passed to the Tickformats...
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.xaxis.Tickformatstop - A list or tuple of dicts of string/value properties that will be passed to the Tickformats...
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.xaxis.Tickformatstop - A list or tuple of dicts of string/value properties that ...
[ "def", "tickformatstops", "(", "self", ")", ":", "return", "self", "[", "\"tickformatstops\"", "]" ]
[ 1812, 4 ]
[ 1860, 38 ]
python
en
['en', 'error', 'th']
False
tickformatstopdefaults
(self)
When used in a template (as layout.template.layout.xaxis.tickformatstopdefaults), sets the default property values to use for elements of layout.xaxis.tickformatstops The 'tickformatstopdefaults' property is an instance of Tickformatstop that may be specified as: ...
When used in a template (as layout.template.layout.xaxis.tickformatstopdefaults), sets the default property values to use for elements of layout.xaxis.tickformatstops The 'tickformatstopdefaults' property is an instance of Tickformatstop that may be specified as: ...
def tickformatstopdefaults(self): """ When used in a template (as layout.template.layout.xaxis.tickformatstopdefaults), sets the default property values to use for elements of layout.xaxis.tickformatstops The 'tickformatstopdefaults' property is an instance of Tickfo...
[ "def", "tickformatstopdefaults", "(", "self", ")", ":", "return", "self", "[", "\"tickformatstopdefaults\"", "]" ]
[ 1869, 4 ]
[ 1888, 45 ]
python
en
['en', 'error', 'th']
False
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\"", "]" ]
[ 1897, 4 ]
[ 1908, 30 ]
python
en
['en', 'error', 'th']
False
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\"", "]" ]
[ 1917, 4 ]
[ 1935, 31 ]
python
en
['en', 'error', 'th']
False
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\"", "]" ]
[ 1944, 4 ]
[ 1956, 33 ]
python
en
['en', 'error', 'th']
False
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\"", "]" ]
[ 1965, 4 ]
[ 1979, 28 ]
python
en
['en', 'error', 'th']
False
tickson
(self)
Determines where ticks and grid lines are drawn with respect to their corresponding tick labels. Only has an effect for axes of `type` "category" or "multicategory". When set to "boundaries", ticks and grid lines are drawn half a category to the left/bottom of labels. ...
Determines where ticks and grid lines are drawn with respect to their corresponding tick labels. Only has an effect for axes of `type` "category" or "multicategory". When set to "boundaries", ticks and grid lines are drawn half a category to the left/bottom of labels. ...
def tickson(self): """ Determines where ticks and grid lines are drawn with respect to their corresponding tick labels. Only has an effect for axes of `type` "category" or "multicategory". When set to "boundaries", ticks and grid lines are drawn half a category to the lef...
[ "def", "tickson", "(", "self", ")", ":", "return", "self", "[", "\"tickson\"", "]" ]
[ 1988, 4 ]
[ 2004, 30 ]
python
en
['en', 'error', 'th']
False
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\"", "]" ]
[ 2013, 4 ]
[ 2025, 33 ]
python
en
['en', 'error', 'th']
False
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\"", "]" ]
[ 2034, 4 ]
[ 2047, 31 ]
python
en
['en', 'error', 'th']
False
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\"", "]" ]
[ 2056, 4 ]
[ 2067, 34 ]
python
en
['en', 'error', 'th']
False
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\"", "]" ]
[ 2076, 4 ]
[ 2088, 31 ]
python
en
['en', 'error', 'th']
False
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\"", "]" ]
[ 2097, 4 ]
[ 2108, 34 ]
python
en
['en', 'error', 'th']
False
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\"", "]" ]
[ 2117, 4 ]
[ 2128, 32 ]
python
en
['en', 'error', 'th']
False
title
(self)
The 'title' property is an instance of Title that may be specified as: - An instance of :class:`plotly.graph_objs.layout.xaxis.Title` - A dict of string/value properties that will be passed to the Title constructor Supported dict properties: ...
The 'title' property is an instance of Title that may be specified as: - An instance of :class:`plotly.graph_objs.layout.xaxis.Title` - A dict of string/value properties that will be passed to the Title constructor Supported dict properties: ...
def title(self): """ The 'title' property is an instance of Title that may be specified as: - An instance of :class:`plotly.graph_objs.layout.xaxis.Title` - A dict of string/value properties that will be passed to the Title constructor Supported d...
[ "def", "title", "(", "self", ")", ":", "return", "self", "[", "\"title\"", "]" ]
[ 2137, 4 ]
[ 2174, 28 ]
python
en
['en', 'error', 'th']
False
titlefont
(self)
Deprecated: Please use layout.xaxis.title.font instead. Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute. The 'font' property is an instance of Font that may be specified as: - An instance of ...
Deprecated: Please use layout.xaxis.title.font instead. Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute. The 'font' property is an instance of Font that may be specified as: - An instance of ...
def titlefont(self): """ Deprecated: Please use layout.xaxis.title.font instead. Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute. The 'font' property is an instance of Font that may be specified...
[ "def", "titlefont", "(", "self", ")", ":", "return", "self", "[", "\"titlefont\"", "]" ]
[ 2183, 4 ]
[ 2222, 32 ]
python
en
['en', 'error', 'th']
False
type
(self)
Sets the axis type. By default, plotly attempts to determined the axis type by looking into the data of the traces that referenced the axis in question. The 'type' property is an enumeration that may be specified as: - One of the following enumeration values: ...
Sets the axis type. By default, plotly attempts to determined the axis type by looking into the data of the traces that referenced the axis in question. The 'type' property is an enumeration that may be specified as: - One of the following enumeration values: ...
def type(self): """ Sets the axis type. By default, plotly attempts to determined the axis type by looking into the data of the traces that referenced the axis in question. The 'type' property is an enumeration that may be specified as: - One of the following enume...
[ "def", "type", "(", "self", ")", ":", "return", "self", "[", "\"type\"", "]" ]
[ 2231, 4 ]
[ 2246, 27 ]
python
en
['en', 'error', 'th']
False
uirevision
(self)
Controls persistence of user-driven changes in axis `range`, `autorange`, and `title` if in `editable: true` configuration. Defaults to `layout.uirevision`. The 'uirevision' property accepts values of any type Returns ------- Any
Controls persistence of user-driven changes in axis `range`, `autorange`, and `title` if in `editable: true` configuration. Defaults to `layout.uirevision`. The 'uirevision' property accepts values of any type
def uirevision(self): """ Controls persistence of user-driven changes in axis `range`, `autorange`, and `title` if in `editable: true` configuration. Defaults to `layout.uirevision`. The 'uirevision' property accepts values of any type Returns ------- ...
[ "def", "uirevision", "(", "self", ")", ":", "return", "self", "[", "\"uirevision\"", "]" ]
[ 2255, 4 ]
[ 2267, 33 ]
python
en
['en', 'error', 'th']
False
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\"", "]" ]
[ 2276, 4 ]
[ 2289, 30 ]
python
en
['en', 'error', 'th']
False
zeroline
(self)
Determines whether or not a line is drawn at along the 0 value of this axis. If True, the zero line is drawn on top of the grid lines. The 'zeroline' property must be specified as a bool (either True, or False) Returns ------- bool
Determines whether or not a line is drawn at along the 0 value of this axis. If True, the zero line is drawn on top of the grid lines. The 'zeroline' property must be specified as a bool (either True, or False)
def zeroline(self): """ Determines whether or not a line is drawn at along the 0 value of this axis. If True, the zero line is drawn on top of the grid lines. The 'zeroline' property must be specified as a bool (either True, or False) Returns -------...
[ "def", "zeroline", "(", "self", ")", ":", "return", "self", "[", "\"zeroline\"", "]" ]
[ 2298, 4 ]
[ 2311, 31 ]
python
en
['en', 'error', 'th']
False
zerolinecolor
(self)
Sets the line color of the zero line. The 'zerolinecolor' 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,...
Sets the line color of the zero line. The 'zerolinecolor' 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,...
def zerolinecolor(self): """ Sets the line color of the zero line. The 'zerolinecolor' 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", "zerolinecolor", "(", "self", ")", ":", "return", "self", "[", "\"zerolinecolor\"", "]" ]
[ 2320, 4 ]
[ 2370, 36 ]
python
en
['en', 'error', 'th']
False
zerolinewidth
(self)
Sets the width (in px) of the zero line. The 'zerolinewidth' property is a number and may be specified as: - An int or float Returns ------- int|float
Sets the width (in px) of the zero line. The 'zerolinewidth' property is a number and may be specified as: - An int or float
def zerolinewidth(self): """ Sets the width (in px) of the zero line. The 'zerolinewidth' property is a number and may be specified as: - An int or float Returns ------- int|float """ return self["zerolinewidth"]
[ "def", "zerolinewidth", "(", "self", ")", ":", "return", "self", "[", "\"zerolinewidth\"", "]" ]
[ 2379, 4 ]
[ 2390, 36 ]
python
en
['en', 'error', 'th']
False
test_forced_upgrade_handled_once_if_request_received_after_propagate
( looper, nodeSet, sdk_pool_handle, sdk_wallet_trustee, validUpgradeExpForceTrue)
Verifies that POOL_UPGRADE force=true request is handled one time in case the node commits the transaction to the ledger but during the 3PC-process receives the request directly from the client after a PROPAGATE from some other node
Verifies that POOL_UPGRADE force=true request is handled one time in case the node commits the transaction to the ledger but during the 3PC-process receives the request directly from the client after a PROPAGATE from some other node
def test_forced_upgrade_handled_once_if_request_received_after_propagate( looper, nodeSet, sdk_pool_handle, sdk_wallet_trustee, validUpgradeExpForceTrue): """ Verifies that POOL_UPGRADE force=true request is handled one time in case the node commits the transaction to the ledger but during t...
[ "def", "test_forced_upgrade_handled_once_if_request_received_after_propagate", "(", "looper", ",", "nodeSet", ",", "sdk_pool_handle", ",", "sdk_wallet_trustee", ",", "validUpgradeExpForceTrue", ")", ":", "slow_node", "=", "getNonPrimaryReplicas", "(", "nodeSet", ",", "instId"...
[ 10, 0 ]
[ 56, 90 ]
python
en
['en', 'error', 'th']
False
Domain.column
(self)
If there is a layout grid, use the domain for this column in the grid for this geo subplot . Note that geo subplots are constrained by domain. In general, when `projection.scale` is set to 1. a map will fit either its x or y domain, but not both. The 'column' proper...
If there is a layout grid, use the domain for this column in the grid for this geo subplot . Note that geo subplots are constrained by domain. In general, when `projection.scale` is set to 1. a map will fit either its x or y domain, but not both. The 'column' proper...
def column(self): """ If there is a layout grid, use the domain for this column in the grid for this geo subplot . Note that geo subplots are constrained by domain. In general, when `projection.scale` is set to 1. a map will fit either its x or y domain, but not both. ...
[ "def", "column", "(", "self", ")", ":", "return", "self", "[", "\"column\"", "]" ]
[ 15, 4 ]
[ 31, 29 ]
python
en
['en', 'error', 'th']
False
Domain.row
(self)
If there is a layout grid, use the domain for this row in the grid for this geo subplot . Note that geo subplots are constrained by domain. In general, when `projection.scale` is set to 1. a map will fit either its x or y domain, but not both. The 'row' property is ...
If there is a layout grid, use the domain for this row in the grid for this geo subplot . Note that geo subplots are constrained by domain. In general, when `projection.scale` is set to 1. a map will fit either its x or y domain, but not both. The 'row' property is ...
def row(self): """ If there is a layout grid, use the domain for this row in the grid for this geo subplot . Note that geo subplots are constrained by domain. In general, when `projection.scale` is set to 1. a map will fit either its x or y domain, but not both. ...
[ "def", "row", "(", "self", ")", ":", "return", "self", "[", "\"row\"", "]" ]
[ 40, 4 ]
[ 56, 26 ]
python
en
['en', 'error', 'th']
False
Domain.x
(self)
Sets the horizontal domain of this geo subplot (in plot fraction). Note that geo subplots are constrained by domain. In general, when `projection.scale` is set to 1. a map will fit either its x or y domain, but not both. The 'x' property is an info array that may be specifi...
Sets the horizontal domain of this geo subplot (in plot fraction). Note that geo subplots are constrained by domain. In general, when `projection.scale` is set to 1. a map will fit either its x or y domain, but not both. The 'x' property is an info array that may be specifi...
def x(self): """ Sets the horizontal domain of this geo subplot (in plot fraction). Note that geo subplots are constrained by domain. In general, when `projection.scale` is set to 1. a map will fit either its x or y domain, but not both. The 'x' property is an info a...
[ "def", "x", "(", "self", ")", ":", "return", "self", "[", "\"x\"", "]" ]
[ 65, 4 ]
[ 84, 24 ]
python
en
['en', 'error', 'th']
False
Domain.y
(self)
Sets the vertical domain of this geo subplot (in plot fraction). Note that geo subplots are constrained by domain. In general, when `projection.scale` is set to 1. a map will fit either its x or y domain, but not both. The 'y' property is an info array that may be specified...
Sets the vertical domain of this geo subplot (in plot fraction). Note that geo subplots are constrained by domain. In general, when `projection.scale` is set to 1. a map will fit either its x or y domain, but not both. The 'y' property is an info array that may be specified...
def y(self): """ Sets the vertical domain of this geo subplot (in plot fraction). Note that geo subplots are constrained by domain. In general, when `projection.scale` is set to 1. a map will fit either its x or y domain, but not both. The 'y' property is an info arr...
[ "def", "y", "(", "self", ")", ":", "return", "self", "[", "\"y\"", "]" ]
[ 93, 4 ]
[ 112, 24 ]
python
en
['en', 'error', 'th']
False
Domain.__init__
(self, arg=None, column=None, row=None, x=None, y=None, **kwargs)
Construct a new Domain object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.layout.geo.Domain` column If there is a layout grid, use the domain fo...
Construct a new Domain object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.layout.geo.Domain` column If there is a layout grid, use the domain fo...
def __init__(self, arg=None, column=None, row=None, x=None, y=None, **kwargs): """ Construct a new Domain object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs....
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "column", "=", "None", ",", "row", "=", "None", ",", "x", "=", "None", ",", "y", "=", "None", ",", "*", "*", "kwargs", ")", ":", "super", "(", "Domain", ",", "self", ")", ".", "__i...
[ 149, 4 ]
[ 240, 34 ]
python
en
['en', 'error', 'th']
False
get_word_stats
(text, agent_dict, bins=(0, 100, 1000, 100000))
Function which takes text sequence and dict, returns word freq and length statistics. :param sequence: text sequence :param agent_dict: can be external dict or dict from the model :param bins: list with range boundaries :return: freqs dictionary, num words, avg word length, avg char length ...
Function which takes text sequence and dict, returns word freq and length statistics.
def get_word_stats(text, agent_dict, bins=(0, 100, 1000, 100000)): """ Function which takes text sequence and dict, returns word freq and length statistics. :param sequence: text sequence :param agent_dict: can be external dict or dict from the model :param bins: list with range boundaries ...
[ "def", "get_word_stats", "(", "text", ",", "agent_dict", ",", "bins", "=", "(", "0", ",", "100", ",", "1000", ",", "100000", ")", ")", ":", "pred_list", "=", "agent_dict", ".", "tokenize", "(", "text", ")", "pred_freq", "=", "[", "agent_dict", ".", "...
[ 83, 0 ]
[ 104, 50 ]
python
en
['en', 'error', 'th']
False
eval_wordstat
(opt)
Evaluates a model. :param opt: tells the evaluation function how to run
Evaluates a model.
def eval_wordstat(opt): """ Evaluates a model. :param opt: tells the evaluation function how to run """ random.seed(42) # Create model and assign it to the specified task agent = create_agent(opt, requireModelExists=True) world = create_task(opt, agent) agent.opt.log() if opt....
[ "def", "eval_wordstat", "(", "opt", ")", ":", "random", ".", "seed", "(", "42", ")", "# Create model and assign it to the specified task", "agent", "=", "create_agent", "(", "opt", ",", "requireModelExists", "=", "True", ")", "world", "=", "create_task", "(", "o...
[ 107, 0 ]
[ 273, 17 ]
python
en
['en', 'error', 'th']
False
TestInheritence.test_subclassA
(self)
Verify that class A does contain the super args.
Verify that class A does contain the super args.
def test_subclassA(self): """ Verify that class A does contain the super args. """ parser = ParlaiParser(add_model_args=True) opt = parser.parse_args(args=['--model', 'tests.test_ta_inheritence:SubClassA']) self.assertEqual('a', opt.get('withclassinheritence')) # ...
[ "def", "test_subclassA", "(", "self", ")", ":", "parser", "=", "ParlaiParser", "(", "add_model_args", "=", "True", ")", "opt", "=", "parser", ".", "parse_args", "(", "args", "=", "[", "'--model'", ",", "'tests.test_ta_inheritence:SubClassA'", "]", ")", "self",...
[ 52, 4 ]
[ 64, 39 ]
python
en
['en', 'error', 'th']
False
TestInheritence.test_subclassB
(self)
Verify that class B does not contain the super args.
Verify that class B does not contain the super args.
def test_subclassB(self): """ Verify that class B does not contain the super args. """ parser = ParlaiParser(add_model_args=True) opt = parser.parse_args(args=['--model', 'tests.test_ta_inheritence:SubClassB']) self.assertEqual('b', opt.get('withoutclassinheritence')) ...
[ "def", "test_subclassB", "(", "self", ")", ":", "parser", "=", "ParlaiParser", "(", "add_model_args", "=", "True", ")", "opt", "=", "parser", ".", "parse_args", "(", "args", "=", "[", "'--model'", ",", "'tests.test_ta_inheritence:SubClassB'", "]", ")", "self",...
[ 66, 4 ]
[ 80, 42 ]
python
en
['en', 'error', 'th']
False
bbox_overlaps_nearest_3d
(bboxes1, bboxes2, mode='iou', is_aligned=False, coordinate='lidar')
Calculate nearest 3D IoU. Note: This function first finds the nearest 2D boxes in bird eye view (BEV), and then calculates the 2D IoU using :meth:`bbox_overlaps`. Ths IoU calculator :class:`BboxOverlapsNearest3D` uses this function to calculate IoUs of boxes. If ``is_aligne...
Calculate nearest 3D IoU.
def bbox_overlaps_nearest_3d(bboxes1, bboxes2, mode='iou', is_aligned=False, coordinate='lidar'): """Calculate nearest 3D IoU. Note: This function first finds the nearest 2D boxes in bird...
[ "def", "bbox_overlaps_nearest_3d", "(", "bboxes1", ",", "bboxes2", ",", "mode", "=", "'iou'", ",", "is_aligned", "=", "False", ",", "coordinate", "=", "'lidar'", ")", ":", "assert", "bboxes1", ".", "size", "(", "-", "1", ")", "==", "bboxes2", ".", "size"...
[ 93, 0 ]
[ 137, 14 ]
python
en
['en', 'co', 'en']
True
bbox_overlaps_3d
(bboxes1, bboxes2, mode='iou', coordinate='camera')
Calculate 3D IoU using cuda implementation. Note: This function calculates the IoU of 3D boxes based on their volumes. IoU calculator :class:`BboxOverlaps3D` uses this function to calculate the actual IoUs of boxes. Args: bboxes1 (torch.Tensor): shape (N, 7+C) [x, y, z, h, w, l...
Calculate 3D IoU using cuda implementation.
def bbox_overlaps_3d(bboxes1, bboxes2, mode='iou', coordinate='camera'): """Calculate 3D IoU using cuda implementation. Note: This function calculates the IoU of 3D boxes based on their volumes. IoU calculator :class:`BboxOverlaps3D` uses this function to calculate the actual IoUs of bo...
[ "def", "bbox_overlaps_3d", "(", "bboxes1", ",", "bboxes2", ",", "mode", "=", "'iou'", ",", "coordinate", "=", "'camera'", ")", ":", "assert", "bboxes1", ".", "size", "(", "-", "1", ")", "==", "bboxes2", ".", "size", "(", "-", "1", ")", ">=", "7", "...
[ 140, 0 ]
[ 166, 56 ]
python
en
['en', 'co', 'en']
True
axis_aligned_bbox_overlaps_3d
(bboxes1, bboxes2, mode='iou', is_aligned=False, eps=1e-6)
Calculate overlap between two set of axis aligned 3D bboxes. If ``is_aligned `` is ``False``, then calculate the overlaps between each bbox of bboxes1 and bboxes2, otherwise the overlaps between each aligned pair of bboxes1 and bboxes2. Args: bboxes1 (Tensor): shape (B, m, 6) in <x1, y1, z1, x2...
Calculate overlap between two set of axis aligned 3D bboxes. If ``is_aligned `` is ``False``, then calculate the overlaps between each bbox of bboxes1 and bboxes2, otherwise the overlaps between each aligned pair of bboxes1 and bboxes2.
def axis_aligned_bbox_overlaps_3d(bboxes1, bboxes2, mode='iou', is_aligned=False, eps=1e-6): """Calculate overlap between two set of axis aligned 3D bboxes. If ``is_aligned `` ...
[ "def", "axis_aligned_bbox_overlaps_3d", "(", "bboxes1", ",", "bboxes2", ",", "mode", "=", "'iou'", ",", "is_aligned", "=", "False", ",", "eps", "=", "1e-6", ")", ":", "assert", "mode", "in", "[", "'iou'", ",", "'giou'", "]", ",", "f'Unsupported mode {mode}'"...
[ 200, 0 ]
[ 319, 16 ]
python
en
['en', 'en', 'en']
True
Tickformatstop.dtickrange
(self)
range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null" The 'dtickrange' property is an info array that may be specified as: * a list or tuple of 2 elements where: (0) The...
range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null" The 'dtickrange' property is an info array that may be specified as: * a list or tuple of 2 elements where: (0) The...
def dtickrange(self): """ range [*min*, *max*], where "min", "max" - dtick values which describe some zoom level, it is possible to omit "min" or "max" value by passing "null" The 'dtickrange' property is an info array that may be specified as: * a list or tuple...
[ "def", "dtickrange", "(", "self", ")", ":", "return", "self", "[", "\"dtickrange\"", "]" ]
[ 15, 4 ]
[ 31, 33 ]
python
en
['en', 'error', 'th']
False
Tickformatstop.enabled
(self)
Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. The 'enabled' property must be specified as a bool (either True, or False) Returns ------- bool
Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. The 'enabled' property must be specified as a bool (either True, or False)
def enabled(self): """ Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. The 'enabled' property must be specified as a bool (either True, or False) Returns ------- bool """ ret...
[ "def", "enabled", "(", "self", ")", ":", "return", "self", "[", "\"enabled\"", "]" ]
[ 40, 4 ]
[ 52, 30 ]
python
en
['en', 'error', 'th']
False
Tickformatstop.name
(self)
When used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications ...
When used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications ...
def name(self): """ When used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` al...
[ "def", "name", "(", "self", ")", ":", "return", "self", "[", "\"name\"", "]" ]
[ 61, 4 ]
[ 79, 27 ]
python
en
['en', 'error', 'th']
False
Tickformatstop.templateitemname
(self)
Used to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (includ...
Used to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (includ...
def templateitemname(self): """ Used to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, ...
[ "def", "templateitemname", "(", "self", ")", ":", "return", "self", "[", "\"templateitemname\"", "]" ]
[ 88, 4 ]
[ 107, 39 ]
python
en
['en', 'error', 'th']
False
Tickformatstop.value
(self)
string - dtickformat for described zoom level, the same as "tickformat" The 'value' property is a string and must be specified as: - A string - A number that will be converted to a string Returns ------- str
string - dtickformat for described zoom level, the same as "tickformat" The 'value' property is a string and must be specified as: - A string - A number that will be converted to a string
def value(self): """ string - dtickformat for described zoom level, the same as "tickformat" The 'value' property is a string and must be specified as: - A string - A number that will be converted to a string Returns ------- str "...
[ "def", "value", "(", "self", ")", ":", "return", "self", "[", "\"value\"", "]" ]
[ 116, 4 ]
[ 129, 28 ]
python
en
['en', 'error', 'th']
False
Tickformatstop.__init__
( self, arg=None, dtickrange=None, enabled=None, name=None, templateitemname=None, value=None, **kwargs )
Construct a new Tickformatstop object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.contour.colorb ar.Tickformatstop` dtickrange range [*min*, *ma...
Construct a new Tickformatstop object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.contour.colorb ar.Tickformatstop` dtickrange range [*min*, *ma...
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
Marker.opacity
(self)
Sets the marker opacity of selected points. The 'opacity' property is a number and may be specified as: - An int or float in the interval [0, 1] Returns ------- int|float
Sets the marker opacity of selected points. The 'opacity' property is a number and may be specified as: - An int or float in the interval [0, 1]
def opacity(self): """ Sets the marker opacity of selected points. The 'opacity' property is a number and may be specified as: - An int or float in the interval [0, 1] Returns ------- int|float """ return self["opacity"]
[ "def", "opacity", "(", "self", ")", ":", "return", "self", "[", "\"opacity\"", "]" ]
[ 15, 4 ]
[ 26, 30 ]
python
en
['en', 'error', 'th']
False
Marker.__init__
(self, arg=None, opacity=None, **kwargs)
Construct a new Marker object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.choroplethmapb ox.selected.Marker` opacity Sets the marker opacity of ...
Construct a new Marker object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.choroplethmapb ox.selected.Marker` opacity Sets the marker opacity of ...
def __init__(self, arg=None, opacity=None, **kwargs): """ Construct a new Marker object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.choroplethmapb ox.selecte...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "opacity", "=", "None", ",", "*", "*", "kwargs", ")", ":", "super", "(", "Marker", ",", "self", ")", ".", "__init__", "(", "\"marker\"", ")", "if", "\"_parent\"", "in", "kwargs", ":", "s...
[ 41, 4 ]
[ 98, 34 ]
python
en
['en', 'error', 'th']
False
http_headers
(s)
Create a dictionary of data from raw HTTP headers.
Create a dictionary of data from raw HTTP headers.
def http_headers(s): """ Create a dictionary of data from raw HTTP headers. """ d = {} for line in s.split("\r\n"): try: key, value = [i.strip() for i in line.split(":", 1)] d[key] = value except ValueError: # malformed header, skip it ...
[ "def", "http_headers", "(", "s", ")", ":", "d", "=", "{", "}", "for", "line", "in", "s", ".", "split", "(", "\"\\r\\n\"", ")", ":", "try", ":", "key", ",", "value", "=", "[", "i", ".", "strip", "(", ")", "for", "i", "in", "line", ".", "split"...
[ 92, 0 ]
[ 107, 12 ]
python
en
['en', 'error', 'th']
False
is_websocket
(headers)
Determine whether a given set of headers is asking for WebSockets.
Determine whether a given set of headers is asking for WebSockets.
def is_websocket(headers): """ Determine whether a given set of headers is asking for WebSockets. """ return ("upgrade" in headers.get("Connection", "").lower() and headers.get("Upgrade").lower() == "websocket")
[ "def", "is_websocket", "(", "headers", ")", ":", "return", "(", "\"upgrade\"", "in", "headers", ".", "get", "(", "\"Connection\"", ",", "\"\"", ")", ".", "lower", "(", ")", "and", "headers", ".", "get", "(", "\"Upgrade\"", ")", ".", "lower", "(", ")", ...
[ 110, 0 ]
[ 116, 58 ]
python
en
['en', 'error', 'th']
False
is_hybi00
(headers)
Determine whether a given set of headers is HyBi-00-compliant. Hixie-76 and HyBi-00 use a pair of keys in the headers to handshake with servers.
Determine whether a given set of headers is HyBi-00-compliant.
def is_hybi00(headers): """ Determine whether a given set of headers is HyBi-00-compliant. Hixie-76 and HyBi-00 use a pair of keys in the headers to handshake with servers. """ return "Sec-WebSocket-Key1" in headers and "Sec-WebSocket-Key2" in headers
[ "def", "is_hybi00", "(", "headers", ")", ":", "return", "\"Sec-WebSocket-Key1\"", "in", "headers", "and", "\"Sec-WebSocket-Key2\"", "in", "headers" ]
[ 119, 0 ]
[ 127, 78 ]
python
en
['en', 'error', 'th']
False
complete_hybi00
(headers, challenge)
Generate the response for a HyBi-00 challenge.
Generate the response for a HyBi-00 challenge.
def complete_hybi00(headers, challenge): """ Generate the response for a HyBi-00 challenge. """ key1 = headers["Sec-WebSocket-Key1"] key2 = headers["Sec-WebSocket-Key2"] first = int("".join(i for i in key1 if i in digits)) // key1.count(" ") second = int("".join(i for i in key2 if i in dig...
[ "def", "complete_hybi00", "(", "headers", ",", "challenge", ")", ":", "key1", "=", "headers", "[", "\"Sec-WebSocket-Key1\"", "]", "key2", "=", "headers", "[", "\"Sec-WebSocket-Key2\"", "]", "first", "=", "int", "(", "\"\"", ".", "join", "(", "i", "for", "i...
[ 132, 0 ]
[ 145, 30 ]
python
en
['en', 'error', 'th']
False