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
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 font for the `dimension` tick values. Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.parcoords.Tickfont` colo...
Construct a new Tickfont object Sets the font for the `dimension` tick values.
def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): """ Construct a new Tickfont object Sets the font for the `dimension` tick values. Parameters ---------- arg dict of properties compatible with this constructor or ...
[ "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
DefaultTeacher._setup_data
(self, path)
Overriding to limit num train exs.
Overriding to limit num train exs.
def _setup_data(self, path): """ Overriding to limit num train exs. """ super()._setup_data(path) if self.training and self.pct_train_exs <= 1.0: random.seed(42) self.episodes = random.sample( self.episodes, int(self.num_episodes() * self.p...
[ "def", "_setup_data", "(", "self", ",", "path", ")", ":", "super", "(", ")", ".", "_setup_data", "(", "path", ")", "if", "self", ".", "training", "and", "self", ".", "pct_train_exs", "<=", "1.0", ":", "random", ".", "seed", "(", "42", ")", "self", ...
[ 141, 4 ]
[ 151, 61 ]
python
en
['en', 'error', 'th']
False
main
(config)
Creates .identity files from .sliced files. input: a .sliced file of logs (in ParlaiDialog format) from Mturk task 1, each of which starts with an initial prompt or topic request, and ends with a y_exp output: an .identity file (in self-feeding format) with y_exps used as though they were ...
Creates .identity files from .sliced files.
def main(config): """ Creates .identity files from .sliced files. input: a .sliced file of logs (in ParlaiDialog format) from Mturk task 1, each of which starts with an initial prompt or topic request, and ends with a y_exp output: an .identity file (in self-feeding format) with y_exps used as ...
[ "def", "main", "(", "config", ")", ":", "examples", "=", "[", "]", "episodes", "=", "[", "e", "for", "e", "in", "extract_parlai_episodes", "(", "config", "[", "'infile'", "]", ")", "]", "for", "episode", "in", "episodes", ":", "history", "=", "[", "]...
[ 25, 0 ]
[ 66, 5 ]
python
en
['en', 'error', 'th']
False
Font.color
(self)
The 'color' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - A named CSS color: ...
The 'color' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - A named CSS color: ...
def color(self): """ The 'color' property is a color and may be specified as: - A hex string (e.g. '#ff0000') - An rgb/rgba string (e.g. 'rgb(255,0,0)') - An hsl/hsla string (e.g. 'hsl(0,100%,50%)') - An hsv/hsva string (e.g. 'hsv(0,100%,100%)') - A name...
[ "def", "color", "(", "self", ")", ":", "return", "self", "[", "\"color\"", "]" ]
[ 15, 4 ]
[ 63, 28 ]
python
en
['en', 'error', 'th']
False
Font.family
(self)
HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts ...
HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts ...
def family(self): """ HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the prefer...
[ "def", "family", "(", "self", ")", ":", "return", "self", "[", "\"family\"", "]" ]
[ 72, 4 ]
[ 94, 29 ]
python
en
['en', 'error', 'th']
False
Font.size
(self)
The 'size' property is a number and may be specified as: - An int or float in the interval [1, inf] 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
Font.__init__
(self, arg=None, color=None, family=None, size=None, **kwargs)
Construct a new Font object Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute. Parameters ---------- arg dict of properties compatible with this constructor or an ins...
Construct a new Font object Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute.
def __init__(self, arg=None, color=None, family=None, size=None, **kwargs): """ Construct a new Font object Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute. Parameters ---------- ar...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "color", "=", "None", ",", "family", "=", "None", ",", "size", "=", "None", ",", "*", "*", "kwargs", ")", ":", "super", "(", "Font", ",", "self", ")", ".", "__init__", "(", "\"font\"",...
[ 143, 4 ]
[ 227, 34 ]
python
en
['en', 'error', 'th']
False
YAxis.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\"", "]" ]
[ 71, 4 ]
[ 85, 32 ]
python
en
['en', 'error', 'th']
False
YAxis.backgroundcolor
(self)
Sets the background color of this axis' wall. The 'backgroundcolor' 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....
Sets the background color of this axis' wall. The 'backgroundcolor' 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 backgroundcolor(self): """ Sets the background color of this axis' wall. The 'backgroundcolor' 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", "backgroundcolor", "(", "self", ")", ":", "return", "self", "[", "\"backgroundcolor\"", "]" ]
[ 94, 4 ]
[ 144, 38 ]
python
en
['en', 'error', 'th']
False
YAxis.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\"", "]" ]
[ 153, 4 ]
[ 171, 31 ]
python
en
['en', 'error', 'th']
False
YAxis.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\"", "]" ]
[ 180, 4 ]
[ 193, 36 ]
python
en
['en', 'error', 'th']
False
YAxis.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\"", "]" ]
[ 202, 4 ]
[ 214, 39 ]
python
en
['en', 'error', 'th']
False
YAxis.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\"", "]" ]
[ 223, 4 ]
[ 254, 36 ]
python
en
['en', 'error', 'th']
False
YAxis.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\"", "]" ]
[ 263, 4 ]
[ 316, 28 ]
python
en
['en', 'error', 'th']
False
YAxis.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\"", "]" ]
[ 325, 4 ]
[ 354, 28 ]
python
en
['en', 'error', 'th']
False
YAxis.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\"", "]" ]
[ 363, 4 ]
[ 379, 37 ]
python
en
['en', 'error', 'th']
False
YAxis.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\"", "]" ]
[ 388, 4 ]
[ 438, 32 ]
python
en
['en', 'error', 'th']
False
YAxis.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\"", "]" ]
[ 447, 4 ]
[ 458, 32 ]
python
en
['en', 'error', 'th']
False
YAxis.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\"", "]" ]
[ 467, 4 ]
[ 487, 34 ]
python
en
['en', 'error', 'th']
False
YAxis.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\"", "]" ]
[ 496, 4 ]
[ 546, 32 ]
python
en
['en', 'error', 'th']
False
YAxis.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\"", "]" ]
[ 555, 4 ]
[ 566, 32 ]
python
en
['en', 'error', 'th']
False
YAxis.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\"", "]" ]
[ 575, 4 ]
[ 592, 29 ]
python
en
['en', 'error', 'th']
False
YAxis.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\"", "]" ]
[ 601, 4 ]
[ 616, 29 ]
python
en
['en', 'error', 'th']
False
YAxis.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\"", "]" ]
[ 625, 4 ]
[ 646, 28 ]
python
en
['en', 'error', 'th']
False
YAxis.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\"", "]" ]
[ 655, 4 ]
[ 671, 32 ]
python
en
['en', 'error', 'th']
False
YAxis.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\"", "]" ]
[ 680, 4 ]
[ 691, 40 ]
python
en
['en', 'error', 'th']
False
YAxis.showaxeslabels
(self)
Sets whether or not this axis is labeled The 'showaxeslabels' property must be specified as a bool (either True, or False) Returns ------- bool
Sets whether or not this axis is labeled The 'showaxeslabels' property must be specified as a bool (either True, or False)
def showaxeslabels(self): """ Sets whether or not this axis is labeled The 'showaxeslabels' property must be specified as a bool (either True, or False) Returns ------- bool """ return self["showaxeslabels"]
[ "def", "showaxeslabels", "(", "self", ")", ":", "return", "self", "[", "\"showaxeslabels\"", "]" ]
[ 700, 4 ]
[ 711, 37 ]
python
en
['en', 'error', 'th']
False
YAxis.showbackground
(self)
Sets whether or not this axis' wall has a background color. The 'showbackground' property must be specified as a bool (either True, or False) Returns ------- bool
Sets whether or not this axis' wall has a background color. The 'showbackground' property must be specified as a bool (either True, or False)
def showbackground(self): """ Sets whether or not this axis' wall has a background color. The 'showbackground' property must be specified as a bool (either True, or False) Returns ------- bool """ return self["showbackground"]
[ "def", "showbackground", "(", "self", ")", ":", "return", "self", "[", "\"showbackground\"", "]" ]
[ 720, 4 ]
[ 731, 37 ]
python
en
['en', 'error', 'th']
False
YAxis.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\"", "]" ]
[ 740, 4 ]
[ 755, 35 ]
python
en
['en', 'error', 'th']
False
YAxis.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\"", "]" ]
[ 764, 4 ]
[ 776, 31 ]
python
en
['en', 'error', 'th']
False
YAxis.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\"", "]" ]
[ 785, 4 ]
[ 796, 31 ]
python
en
['en', 'error', 'th']
False
YAxis.showspikes
(self)
Sets whether or not spikes starting from data points to this axis' wall are shown on hover. The 'showspikes' property must be specified as a bool (either True, or False) Returns ------- bool
Sets whether or not spikes starting from data points to this axis' wall are shown on hover. The 'showspikes' property must be specified as a bool (either True, or False)
def showspikes(self): """ Sets whether or not spikes starting from data points to this axis' wall are shown on hover. The 'showspikes' property must be specified as a bool (either True, or False) Returns ------- bool """ return self["...
[ "def", "showspikes", "(", "self", ")", ":", "return", "self", "[", "\"showspikes\"", "]" ]
[ 805, 4 ]
[ 817, 33 ]
python
en
['en', 'error', 'th']
False
YAxis.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\"", "]" ]
[ 826, 4 ]
[ 837, 37 ]
python
en
['en', 'error', 'th']
False
YAxis.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\"", "]" ]
[ 846, 4 ]
[ 861, 37 ]
python
en
['en', 'error', 'th']
False
YAxis.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\"", "]" ]
[ 870, 4 ]
[ 882, 37 ]
python
en
['en', 'error', 'th']
False
YAxis.spikecolor
(self)
Sets the color of the spikes. 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 string (e.g. 'hsv(0,100%,100%)'...
Sets the color of the spikes. 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 string (e.g. 'hsv(0,100%,100%)'...
def spikecolor(self): """ Sets the color of the spikes. 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/hsv...
[ "def", "spikecolor", "(", "self", ")", ":", "return", "self", "[", "\"spikecolor\"", "]" ]
[ 891, 4 ]
[ 941, 33 ]
python
en
['en', 'error', 'th']
False
YAxis.spikesides
(self)
Sets whether or not spikes extending from the projection data points to this axis' wall boundaries are shown on hover. The 'spikesides' property must be specified as a bool (either True, or False) Returns ------- bool
Sets whether or not spikes extending from the projection data points to this axis' wall boundaries are shown on hover. The 'spikesides' property must be specified as a bool (either True, or False)
def spikesides(self): """ Sets whether or not spikes extending from the projection data points to this axis' wall boundaries are shown on hover. The 'spikesides' property must be specified as a bool (either True, or False) Returns ------- bool ...
[ "def", "spikesides", "(", "self", ")", ":", "return", "self", "[", "\"spikesides\"", "]" ]
[ 950, 4 ]
[ 962, 33 ]
python
en
['en', 'error', 'th']
False
YAxis.spikethickness
(self)
Sets the thickness (in px) of the spikes. The 'spikethickness' 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 spikes. The 'spikethickness' property is a number and may be specified as: - An int or float in the interval [0, inf]
def spikethickness(self): """ Sets the thickness (in px) of the spikes. The 'spikethickness' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- int|float """ return self["spikethickness"...
[ "def", "spikethickness", "(", "self", ")", ":", "return", "self", "[", "\"spikethickness\"", "]" ]
[ 971, 4 ]
[ 982, 37 ]
python
en
['en', 'error', 'th']
False
YAxis.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\"", "]" ]
[ 991, 4 ]
[ 1009, 28 ]
python
en
['en', 'error', 'th']
False
YAxis.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\"", "]" ]
[ 1018, 4 ]
[ 1033, 32 ]
python
en
['en', 'error', 'th']
False
YAxis.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\"", "]" ]
[ 1042, 4 ]
[ 1092, 32 ]
python
en
['en', 'error', 'th']
False
YAxis.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.scene.yaxis.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.scene.yaxis.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.scene.yaxis.Tickfont` - A dict of string/value properties that will be passed to...
[ "def", "tickfont", "(", "self", ")", ":", "return", "self", "[", "\"tickfont\"", "]" ]
[ 1101, 4 ]
[ 1138, 31 ]
python
en
['en', 'error', 'th']
False
YAxis.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\"", "]" ]
[ 1147, 4 ]
[ 1167, 33 ]
python
en
['en', 'error', 'th']
False
YAxis.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.scene.yaxis.Tickformatstop - A list or tuple of dicts of string/value properties that will be passed to the Tickf...
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.scene.yaxis.Tickformatstop - A list or tuple of dicts of string/value properties that will be passed to the Tickf...
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.scene.yaxis.Tickformatstop - A list or tuple of dicts of string/value properties that ...
[ "def", "tickformatstops", "(", "self", ")", ":", "return", "self", "[", "\"tickformatstops\"", "]" ]
[ 1176, 4 ]
[ 1224, 38 ]
python
en
['en', 'error', 'th']
False
YAxis.tickformatstopdefaults
(self)
When used in a template (as layout.template.layout.scene.yaxis.tickformatstopdefaults), sets the default property values to use for elements of layout.scene.yaxis.tickformatstops The 'tickformatstopdefaults' property is an instance of Tickformatstop that may be spec...
When used in a template (as layout.template.layout.scene.yaxis.tickformatstopdefaults), sets the default property values to use for elements of layout.scene.yaxis.tickformatstops The 'tickformatstopdefaults' property is an instance of Tickformatstop that may be spec...
def tickformatstopdefaults(self): """ When used in a template (as layout.template.layout.scene.yaxis.tickformatstopdefaults), sets the default property values to use for elements of layout.scene.yaxis.tickformatstops The 'tickformatstopdefaults' property is an instan...
[ "def", "tickformatstopdefaults", "(", "self", ")", ":", "return", "self", "[", "\"tickformatstopdefaults\"", "]" ]
[ 1233, 4 ]
[ 1252, 45 ]
python
en
['en', 'error', 'th']
False
YAxis.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\"", "]" ]
[ 1261, 4 ]
[ 1272, 30 ]
python
en
['en', 'error', 'th']
False
YAxis.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\"", "]" ]
[ 1281, 4 ]
[ 1299, 31 ]
python
en
['en', 'error', 'th']
False
YAxis.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\"", "]" ]
[ 1308, 4 ]
[ 1320, 33 ]
python
en
['en', 'error', 'th']
False
YAxis.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\"", "]" ]
[ 1329, 4 ]
[ 1343, 28 ]
python
en
['en', 'error', 'th']
False
YAxis.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\"", "]" ]
[ 1352, 4 ]
[ 1364, 33 ]
python
en
['en', 'error', 'th']
False
YAxis.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\"", "]" ]
[ 1373, 4 ]
[ 1386, 31 ]
python
en
['en', 'error', 'th']
False
YAxis.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\"", "]" ]
[ 1395, 4 ]
[ 1406, 34 ]
python
en
['en', 'error', 'th']
False
YAxis.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\"", "]" ]
[ 1415, 4 ]
[ 1427, 31 ]
python
en
['en', 'error', 'th']
False
YAxis.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\"", "]" ]
[ 1436, 4 ]
[ 1447, 34 ]
python
en
['en', 'error', 'th']
False
YAxis.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\"", "]" ]
[ 1456, 4 ]
[ 1467, 32 ]
python
en
['en', 'error', 'th']
False
YAxis.title
(self)
The 'title' property is an instance of Title that may be specified as: - An instance of :class:`plotly.graph_objs.layout.scene.yaxis.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.scene.yaxis.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.scene.yaxis.Title` - A dict of string/value properties that will be passed to the Title constructor Suppo...
[ "def", "title", "(", "self", ")", ":", "return", "self", "[", "\"title\"", "]" ]
[ 1476, 4 ]
[ 1501, 28 ]
python
en
['en', 'error', 'th']
False
YAxis.titlefont
(self)
Deprecated: Please use layout.scene.yaxis.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 instan...
Deprecated: Please use layout.scene.yaxis.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 instan...
def titlefont(self): """ Deprecated: Please use layout.scene.yaxis.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 spe...
[ "def", "titlefont", "(", "self", ")", ":", "return", "self", "[", "\"titlefont\"", "]" ]
[ 1510, 4 ]
[ 1549, 32 ]
python
en
['en', 'error', 'th']
False
YAxis.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\"", "]" ]
[ 1558, 4 ]
[ 1572, 27 ]
python
en
['en', 'error', 'th']
False
YAxis.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\"", "]" ]
[ 1581, 4 ]
[ 1594, 30 ]
python
en
['en', 'error', 'th']
False
YAxis.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\"", "]" ]
[ 1603, 4 ]
[ 1616, 31 ]
python
en
['en', 'error', 'th']
False
YAxis.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\"", "]" ]
[ 1625, 4 ]
[ 1675, 36 ]
python
en
['en', 'error', 'th']
False
YAxis.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\"", "]" ]
[ 1684, 4 ]
[ 1695, 36 ]
python
en
['en', 'error', 'th']
False
YAxis.__init__
( self, arg=None, autorange=None, backgroundcolor=None, calendar=None, categoryarray=None, categoryarraysrc=None, categoryorder=None, color=None, dtick=None, exponentformat=None, gridcolor=None, gridwidth=None, ...
Construct a new YAxis object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.layout.scene.YAxis` autorange Determines whether or not the range of th...
Construct a new YAxis object Parameters ---------- arg dict of properties compatible with this constructor or an instance of :class:`plotly.graph_objs.layout.scene.YAxis` autorange Determines whether or not the range of th...
def __init__( self, arg=None, autorange=None, backgroundcolor=None, calendar=None, categoryarray=None, categoryarraysrc=None, categoryorder=None, color=None, dtick=None, exponentformat=None, gridcolor=None, gridwidth...
[ "def", "__init__", "(", "self", ",", "arg", "=", "None", ",", "autorange", "=", "None", ",", "backgroundcolor", "=", "None", ",", "calendar", "=", "None", ",", "categoryarray", "=", "None", ",", "categoryarraysrc", "=", "None", ",", "categoryorder", "=", ...
[ 1969, 4 ]
[ 2558, 34 ]
python
en
['en', 'error', 'th']
False
AssignResult.num_preds
(self)
int: the number of predictions in this assignment
int: the number of predictions in this assignment
def num_preds(self): """int: the number of predictions in this assignment""" return len(self.gt_inds)
[ "def", "num_preds", "(", "self", ")", ":", "return", "len", "(", "self", ".", "gt_inds", ")" ]
[ 50, 4 ]
[ 52, 32 ]
python
en
['en', 'en', 'en']
True
AssignResult.set_extra_property
(self, key, value)
Set user-defined new property.
Set user-defined new property.
def set_extra_property(self, key, value): """Set user-defined new property.""" assert key not in self.info self._extra_properties[key] = value
[ "def", "set_extra_property", "(", "self", ",", "key", ",", "value", ")", ":", "assert", "key", "not", "in", "self", ".", "info", "self", ".", "_extra_properties", "[", "key", "]", "=", "value" ]
[ 54, 4 ]
[ 57, 43 ]
python
en
['en', 'en', 'en']
True
AssignResult.get_extra_property
(self, key)
Get user-defined property.
Get user-defined property.
def get_extra_property(self, key): """Get user-defined property.""" return self._extra_properties.get(key, None)
[ "def", "get_extra_property", "(", "self", ",", "key", ")", ":", "return", "self", ".", "_extra_properties", ".", "get", "(", "key", ",", "None", ")" ]
[ 59, 4 ]
[ 61, 52 ]
python
en
['en', 'da', 'en']
True
AssignResult.info
(self)
dict: a dictionary of info about the object
dict: a dictionary of info about the object
def info(self): """dict: a dictionary of info about the object""" basic_info = { 'num_gts': self.num_gts, 'num_preds': self.num_preds, 'gt_inds': self.gt_inds, 'max_overlaps': self.max_overlaps, 'labels': self.labels, } basic_in...
[ "def", "info", "(", "self", ")", ":", "basic_info", "=", "{", "'num_gts'", ":", "self", ".", "num_gts", ",", "'num_preds'", ":", "self", ".", "num_preds", ",", "'gt_inds'", ":", "self", ".", "gt_inds", ",", "'max_overlaps'", ":", "self", ".", "max_overla...
[ 64, 4 ]
[ 74, 25 ]
python
en
['en', 'en', 'en']
True
AssignResult.__nice__
(self)
str: a "nice" summary string describing this assign result
str: a "nice" summary string describing this assign result
def __nice__(self): """str: a "nice" summary string describing this assign result""" parts = [] parts.append(f'num_gts={self.num_gts!r}') if self.gt_inds is None: parts.append(f'gt_inds={self.gt_inds!r}') else: parts.append(f'gt_inds.shape={tuple(self.gt_i...
[ "def", "__nice__", "(", "self", ")", ":", "parts", "=", "[", "]", "parts", ".", "append", "(", "f'num_gts={self.num_gts!r}'", ")", "if", "self", ".", "gt_inds", "is", "None", ":", "parts", ".", "append", "(", "f'gt_inds={self.gt_inds!r}'", ")", "else", ":"...
[ 76, 4 ]
[ 93, 31 ]
python
en
['en', 'en', 'en']
True
AssignResult.random
(cls, **kwargs)
Create random AssignResult for tests or debugging. Args: num_preds: number of predicted boxes num_gts: number of true boxes p_ignore (float): probability of a predicted box assinged to an ignored truth p_assigned (float): probability of a predicte...
Create random AssignResult for tests or debugging.
def random(cls, **kwargs): """Create random AssignResult for tests or debugging. Args: num_preds: number of predicted boxes num_gts: number of true boxes p_ignore (float): probability of a predicted box assinged to an ignored truth p_assig...
[ "def", "random", "(", "cls", ",", "*", "*", "kwargs", ")", ":", "from", "mmdet", ".", "core", ".", "bbox", "import", "demodata", "rng", "=", "demodata", ".", "ensure_rng", "(", "kwargs", ".", "get", "(", "'rng'", ",", "None", ")", ")", "num_gts", "...
[ 96, 4 ]
[ 187, 19 ]
python
en
['en', 'da', 'en']
True
AssignResult.add_gt_
(self, gt_labels)
Add ground truth as assigned results. Args: gt_labels (torch.Tensor): Labels of gt boxes
Add ground truth as assigned results.
def add_gt_(self, gt_labels): """Add ground truth as assigned results. Args: gt_labels (torch.Tensor): Labels of gt boxes """ self_inds = torch.arange( 1, len(gt_labels) + 1, dtype=torch.long, device=gt_labels.device) self.gt_inds = torch.cat([self_inds, ...
[ "def", "add_gt_", "(", "self", ",", "gt_labels", ")", ":", "self_inds", "=", "torch", ".", "arange", "(", "1", ",", "len", "(", "gt_labels", ")", "+", "1", ",", "dtype", "=", "torch", ".", "long", ",", "device", "=", "gt_labels", ".", "device", ")"...
[ 189, 4 ]
[ 203, 61 ]
python
en
['en', 'en', 'en']
True
get_finegrained_count
(text, gender_dct)
Count the number of female, male, and neutral gendered words in a string, given the gender dict.
Count the number of female, male, and neutral gendered words in a string, given the gender dict.
def get_finegrained_count(text, gender_dct): """ Count the number of female, male, and neutral gendered words in a string, given the gender dict. """ text = text.lower() f_count = 0 m_count = 0 n_count = 0 for line in text.split('\n'): words = line.split(' ') for word...
[ "def", "get_finegrained_count", "(", "text", ",", "gender_dct", ")", ":", "text", "=", "text", ".", "lower", "(", ")", "f_count", "=", "0", "m_count", "=", "0", "n_count", "=", "0", "for", "line", "in", "text", ".", "split", "(", "'\\n'", ")", ":", ...
[ 54, 0 ]
[ 74, 36 ]
python
en
['en', 'error', 'th']
False
read_gender_tsv
(path, remove_verbs=True)
Load TSV of gendered word lists and return a dict.
Load TSV of gendered word lists and return a dict.
def read_gender_tsv(path, remove_verbs=True): """ Load TSV of gendered word lists and return a dict. """ gender_dct = {} with PathManager.open(path) as tsvfile: reader = list(csv.reader(tsvfile, delimiter='\t')) title_lst = reader[0] title_dict = {} for idx, title in ...
[ "def", "read_gender_tsv", "(", "path", ",", "remove_verbs", "=", "True", ")", ":", "gender_dct", "=", "{", "}", "with", "PathManager", ".", "open", "(", "path", ")", "as", "tsvfile", ":", "reader", "=", "list", "(", "csv", ".", "reader", "(", "tsvfile"...
[ 92, 0 ]
[ 114, 21 ]
python
en
['en', 'error', 'th']
False
flatten
(episode, context_length, include_labels=True, delimiter='\n')
Flatten the data into single example episodes. This is used to make conditional training easier and for a fair comparison of methods.
Flatten the data into single example episodes.
def flatten(episode, context_length, include_labels=True, delimiter='\n'): """ Flatten the data into single example episodes. This is used to make conditional training easier and for a fair comparison of methods. """ context = deque(maxlen=context_length if context_length > 0 else None) new...
[ "def", "flatten", "(", "episode", ",", "context_length", ",", "include_labels", "=", "True", ",", "delimiter", "=", "'\\n'", ")", ":", "context", "=", "deque", "(", "maxlen", "=", "context_length", "if", "context_length", ">", "0", "else", "None", ")", "ne...
[ 117, 0 ]
[ 140, 22 ]
python
en
['en', 'error', 'th']
False
LightGenderTeacher.get_bucket
(self, text)
Get the bin or "bucket" that a string falls into. The bucket is determined based on the presence of male or femael gendered words in the text.
Get the bin or "bucket" that a string falls into.
def get_bucket(self, text): """ Get the bin or "bucket" that a string falls into. The bucket is determined based on the presence of male or femael gendered words in the text. """ text = format_text(text) # we're bucketing based on the number of gendered words ...
[ "def", "get_bucket", "(", "self", ",", "text", ")", ":", "text", "=", "format_text", "(", "text", ")", "# we're bucketing based on the number of gendered words", "f_count", ",", "m_count", ",", "n_count", "=", "get_finegrained_count", "(", "text", ",", "self", "."...
[ 241, 4 ]
[ 265, 25 ]
python
en
['en', 'error', 'th']
False
LightGenderTeacher._flip_ex
(self, ex)
Return the counterfactual example for a given example (i.e. swap 'he' --> 'she')
Return the counterfactual example for a given example (i.e. swap 'he' --> 'she')
def _flip_ex(self, ex): """ Return the counterfactual example for a given example (i.e. swap 'he' --> 'she') """ new_ex = deepcopy(ex) text = ex['text'] labels = 'labels' if 'labels' in ex else 'eval_labels' label = ex[labels][0] new_ex.force_set('text', s...
[ "def", "_flip_ex", "(", "self", ",", "ex", ")", ":", "new_ex", "=", "deepcopy", "(", "ex", ")", "text", "=", "ex", "[", "'text'", "]", "labels", "=", "'labels'", "if", "'labels'", "in", "ex", "else", "'eval_labels'", "label", "=", "ex", "[", "labels"...
[ 294, 4 ]
[ 304, 21 ]
python
en
['en', 'error', 'th']
False
LightGenderTeacher._get_new_data
(self, opt)
Load extra positive dialogue data IFF datatype==train.
Load extra positive dialogue data IFF datatype==train.
def _get_new_data(self, opt): """ Load extra positive dialogue data IFF datatype==train. """ dt = opt['datatype'].split(':')[0] if dt == 'train': with PathManager.open(os.path.join(_path(opt), NEW_DATA), 'r') as f: data = json.load(f) new_d...
[ "def", "_get_new_data", "(", "self", ",", "opt", ")", ":", "dt", "=", "opt", "[", "'datatype'", "]", ".", "split", "(", "':'", ")", "[", "0", "]", "if", "dt", "==", "'train'", ":", "with", "PathManager", ".", "open", "(", "os", ".", "path", ".", ...
[ 306, 4 ]
[ 323, 17 ]
python
en
['en', 'error', 'th']
False
LightGenderTeacher._setup_data
(self, opt)
Load original LIGHT dataset.
Load original LIGHT dataset.
def _setup_data(self, opt): """ Load original LIGHT dataset. """ # Add new data? dt = opt['datatype'].split(':')[0] orig_episodes = OrigLightTeacher(opt).episodes if self.add_new_data: new_data = self._get_new_data(opt) total_data = orig_e...
[ "def", "_setup_data", "(", "self", ",", "opt", ")", ":", "# Add new data?", "dt", "=", "opt", "[", "'datatype'", "]", ".", "split", "(", "':'", ")", "[", "0", "]", "orig_episodes", "=", "OrigLightTeacher", "(", "opt", ")", ".", "episodes", "if", "self"...
[ 325, 4 ]
[ 398, 27 ]
python
en
['en', 'error', 'th']
False
Marker.allowoverlap
(self)
Flag to draw all symbols, even if they overlap. The 'allowoverlap' property must be specified as a bool (either True, or False) Returns ------- bool
Flag to draw all symbols, even if they overlap. The 'allowoverlap' property must be specified as a bool (either True, or False)
def allowoverlap(self): """ Flag to draw all symbols, even if they overlap. The 'allowoverlap' property must be specified as a bool (either True, or False) Returns ------- bool """ return self["allowoverlap"]
[ "def", "allowoverlap", "(", "self", ")", ":", "return", "self", "[", "\"allowoverlap\"", "]" ]
[ 40, 4 ]
[ 51, 35 ]
python
en
['en', 'error', 'th']
False
Marker.angle
(self)
Sets the marker orientation from true North, in degrees clockwise. When using the "auto" default, no rotation would be applied in perspective views which is different from using a zero angle. The 'angle' property is a number and may be specified as: - An int or fl...
Sets the marker orientation from true North, in degrees clockwise. When using the "auto" default, no rotation would be applied in perspective views which is different from using a zero angle. The 'angle' property is a number and may be specified as: - An int or fl...
def angle(self): """ Sets the marker orientation from true North, in degrees clockwise. When using the "auto" default, no rotation would be applied in perspective views which is different from using a zero angle. The 'angle' property is a number and may be specified ...
[ "def", "angle", "(", "self", ")", ":", "return", "self", "[", "\"angle\"", "]" ]
[ 60, 4 ]
[ 75, 28 ]
python
en
['en', 'error', 'th']
False
Marker.anglesrc
(self)
Sets the source reference on Chart Studio Cloud for angle . The 'anglesrc' 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 angle . The 'anglesrc' property must be specified as a string or as a plotly.grid_objs.Column object
def anglesrc(self): """ Sets the source reference on Chart Studio Cloud for angle . The 'anglesrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["anglesrc"]
[ "def", "anglesrc", "(", "self", ")", ":", "return", "self", "[", "\"anglesrc\"", "]" ]
[ 84, 4 ]
[ 95, 31 ]
python
en
['en', 'error', 'th']
False
Marker.autocolorscale
(self)
Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.color`is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is true, the default pal...
Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.color`is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is true, the default pal...
def autocolorscale(self): """ Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.color`is set to a numerical array. In case `colorscale` is unspecified or `auto...
[ "def", "autocolorscale", "(", "self", ")", ":", "return", "self", "[", "\"autocolorscale\"", "]" ]
[ 104, 4 ]
[ 121, 37 ]
python
en
['en', 'error', 'th']
False
Marker.cauto
(self)
Determines whether or not the color domain is computed with respect to the input data (here in `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color`is set to a numerical array. Defaults to `false` when `marker.cmin` and `ma...
Determines whether or not the color domain is computed with respect to the input data (here in `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color`is set to a numerical array. Defaults to `false` when `marker.cmin` and `ma...
def cauto(self): """ Determines whether or not the color domain is computed with respect to the input data (here in `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color`is set to a numerical array. Defaults to `false...
[ "def", "cauto", "(", "self", ")", ":", "return", "self", "[", "\"cauto\"", "]" ]
[ 130, 4 ]
[ 146, 28 ]
python
en
['en', 'error', 'th']
False
Marker.cmax
(self)
Sets the upper bound of the color domain. Has an effect only if in `marker.color`is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. The 'cmax' property is a number and may be specified as: ...
Sets the upper bound of the color domain. Has an effect only if in `marker.color`is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. The 'cmax' property is a number and may be specified as: ...
def cmax(self): """ Sets the upper bound of the color domain. Has an effect only if in `marker.color`is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. The 'cmax' property is a number and ...
[ "def", "cmax", "(", "self", ")", ":", "return", "self", "[", "\"cmax\"", "]" ]
[ 155, 4 ]
[ 169, 27 ]
python
en
['en', 'error', 'th']
False
Marker.cmid
(self)
Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color`is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `...
Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color`is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `...
def cmid(self): """ Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color`is set to a numerical array. Value should have the same units as in `marker.color`. Has no effe...
[ "def", "cmid", "(", "self", ")", ":", "return", "self", "[", "\"cmid\"", "]" ]
[ 178, 4 ]
[ 193, 27 ]
python
en
['en', 'error', 'th']
False
Marker.cmin
(self)
Sets the lower bound of the color domain. Has an effect only if in `marker.color`is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. The 'cmin' property is a number and may be specified as: ...
Sets the lower bound of the color domain. Has an effect only if in `marker.color`is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. The 'cmin' property is a number and may be specified as: ...
def cmin(self): """ Sets the lower bound of the color domain. Has an effect only if in `marker.color`is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. The 'cmin' property is a number and ...
[ "def", "cmin", "(", "self", ")", ":", "return", "self", "[", "\"cmin\"", "]" ]
[ 202, 4 ]
[ 216, 27 ]
python
en
['en', 'error', 'th']
False
Marker.color
(self)
Sets themarkercolor. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to `marker.cmin` and `marker.cmax` if set. The 'color' property is a color and may be specified as: ...
Sets themarkercolor. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to `marker.cmin` and `marker.cmax` if set. The 'color' property is a color and may be specified as: ...
def color(self): """ Sets themarkercolor. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to `marker.cmin` and `marker.cmax` if set. The 'color' property is a colo...
[ "def", "color", "(", "self", ")", ":", "return", "self", "[", "\"color\"", "]" ]
[ 225, 4 ]
[ 281, 28 ]
python
en
['en', 'error', 'th']
False
Marker.coloraxis
(self)
Sets a reference to a shared color axis. References to these shared color axes are "coloraxis", "coloraxis2", "coloraxis3", etc. Settings for these shared color axes are set in the layout, under `layout.coloraxis`, `layout.coloraxis2`, etc. Note that multiple color scales can be...
Sets a reference to a shared color axis. References to these shared color axes are "coloraxis", "coloraxis2", "coloraxis3", etc. Settings for these shared color axes are set in the layout, under `layout.coloraxis`, `layout.coloraxis2`, etc. Note that multiple color scales can be...
def coloraxis(self): """ Sets a reference to a shared color axis. References to these shared color axes are "coloraxis", "coloraxis2", "coloraxis3", etc. Settings for these shared color axes are set in the layout, under `layout.coloraxis`, `layout.coloraxis2`, etc. Note t...
[ "def", "coloraxis", "(", "self", ")", ":", "return", "self", "[", "\"coloraxis\"", "]" ]
[ 290, 4 ]
[ 308, 32 ]
python
en
['en', 'error', 'th']
False
Marker.colorbar
(self)
The 'colorbar' property is an instance of ColorBar that may be specified as: - An instance of :class:`plotly.graph_objs.scattermapbox.marker.ColorBar` - A dict of string/value properties that will be passed to the ColorBar constructor Supported dict prop...
The 'colorbar' property is an instance of ColorBar that may be specified as: - An instance of :class:`plotly.graph_objs.scattermapbox.marker.ColorBar` - A dict of string/value properties that will be passed to the ColorBar constructor Supported dict prop...
def colorbar(self): """ The 'colorbar' property is an instance of ColorBar that may be specified as: - An instance of :class:`plotly.graph_objs.scattermapbox.marker.ColorBar` - A dict of string/value properties that will be passed to the ColorBar constructor ...
[ "def", "colorbar", "(", "self", ")", ":", "return", "self", "[", "\"colorbar\"", "]" ]
[ 317, 4 ]
[ 544, 31 ]
python
en
['en', 'error', 'th']
False
Marker.colorscale
(self)
Sets the colorscale. Has an effect only if in `marker.color`is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, or named color string. At minimum, a mapping for the lowest (0) and highest (1) v...
Sets the colorscale. Has an effect only if in `marker.color`is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, or named color string. At minimum, a mapping for the lowest (0) and highest (1) v...
def colorscale(self): """ Sets the colorscale. Has an effect only if in `marker.color`is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsv, or named color string. At minimum, a mapping for ...
[ "def", "colorscale", "(", "self", ")", ":", "return", "self", "[", "\"colorscale\"", "]" ]
[ 553, 4 ]
[ 597, 33 ]
python
en
['en', 'error', 'th']
False
Marker.colorsrc
(self)
Sets the source reference on Chart Studio Cloud for color . The 'colorsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str
Sets the source reference on Chart Studio Cloud for color . The 'colorsrc' property must be specified as a string or as a plotly.grid_objs.Column object
def colorsrc(self): """ Sets the source reference on Chart Studio Cloud for color . The 'colorsrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["colorsrc"]
[ "def", "colorsrc", "(", "self", ")", ":", "return", "self", "[", "\"colorsrc\"", "]" ]
[ 606, 4 ]
[ 617, 31 ]
python
en
['en', 'error', 'th']
False
Marker.opacity
(self)
Sets the marker opacity. The 'opacity' property is a number and may be specified as: - An int or float in the interval [0, 1] - A tuple, list, or one-dimensional numpy array of the above Returns ------- int|float|numpy.ndarray
Sets the marker opacity. The 'opacity' property is a number and may be specified as: - An int or float in the interval [0, 1] - A tuple, list, or one-dimensional numpy array of the above
def opacity(self): """ Sets the marker opacity. The 'opacity' property is a number and may be specified as: - An int or float in the interval [0, 1] - A tuple, list, or one-dimensional numpy array of the above Returns ------- int|float|numpy.ndar...
[ "def", "opacity", "(", "self", ")", ":", "return", "self", "[", "\"opacity\"", "]" ]
[ 626, 4 ]
[ 638, 30 ]
python
en
['en', 'error', 'th']
False
Marker.opacitysrc
(self)
Sets the source reference on Chart Studio Cloud for opacity . The 'opacitysrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str
Sets the source reference on Chart Studio Cloud for opacity . The 'opacitysrc' property must be specified as a string or as a plotly.grid_objs.Column object
def opacitysrc(self): """ Sets the source reference on Chart Studio Cloud for opacity . The 'opacitysrc' property must be specified as a string or as a plotly.grid_objs.Column object Returns ------- str """ return self["opacitysrc"]
[ "def", "opacitysrc", "(", "self", ")", ":", "return", "self", "[", "\"opacitysrc\"", "]" ]
[ 647, 4 ]
[ 658, 33 ]
python
en
['en', 'error', 'th']
False
Marker.reversescale
(self)
Reverses the color mapping if true. Has an effect only if in `marker.color`is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. The 'reversescale' property must be specified ...
Reverses the color mapping if true. Has an effect only if in `marker.color`is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. The 'reversescale' property must be specified ...
def reversescale(self): """ Reverses the color mapping if true. Has an effect only if in `marker.color`is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. The 'revers...
[ "def", "reversescale", "(", "self", ")", ":", "return", "self", "[", "\"reversescale\"", "]" ]
[ 667, 4 ]
[ 681, 35 ]
python
en
['en', 'error', 'th']
False
Marker.showscale
(self)
Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color`is set to a numerical array. The 'showscale' property must be specified as a bool (either True, or False) Returns ------- bool
Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color`is set to a numerical array. The 'showscale' property must be specified as a bool (either True, or False)
def showscale(self): """ Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color`is set to a numerical array. The 'showscale' property must be specified as a bool (either True, or False) Returns ------...
[ "def", "showscale", "(", "self", ")", ":", "return", "self", "[", "\"showscale\"", "]" ]
[ 690, 4 ]
[ 703, 32 ]
python
en
['en', 'error', 'th']
False
Marker.size
(self)
Sets the marker size (in px). The 'size' property is a number and may be specified as: - An int or float in the interval [0, inf] - A tuple, list, or one-dimensional numpy array of the above Returns ------- int|float|numpy.ndarray
Sets the marker size (in px). The 'size' property is a number and may be specified as: - An int or float in the interval [0, inf] - A tuple, list, or one-dimensional numpy array of the above
def size(self): """ Sets the marker size (in px). The 'size' property is a number and may be specified as: - An int or float in the interval [0, inf] - A tuple, list, or one-dimensional numpy array of the above Returns ------- int|float|numpy.nda...
[ "def", "size", "(", "self", ")", ":", "return", "self", "[", "\"size\"", "]" ]
[ 712, 4 ]
[ 724, 27 ]
python
en
['en', 'error', 'th']
False
Marker.sizemin
(self)
Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. The 'sizemin' property is a number and may be specified as: - An int or float in the interval [0, inf] Returns ------- in...
Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. The 'sizemin' property is a number and may be specified as: - An int or float in the interval [0, inf]
def sizemin(self): """ Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. The 'sizemin' property is a number and may be specified as: - An int or float in the interval [0, inf] Retu...
[ "def", "sizemin", "(", "self", ")", ":", "return", "self", "[", "\"sizemin\"", "]" ]
[ 733, 4 ]
[ 746, 30 ]
python
en
['en', 'error', 'th']
False
Marker.sizemode
(self)
Has an effect only if `marker.size` is set to a numerical array. Sets the rule for which the data in `size` is converted to pixels. The 'sizemode' property is an enumeration that may be specified as: - One of the following enumeration values: ['diameter', ...
Has an effect only if `marker.size` is set to a numerical array. Sets the rule for which the data in `size` is converted to pixels. The 'sizemode' property is an enumeration that may be specified as: - One of the following enumeration values: ['diameter', ...
def sizemode(self): """ Has an effect only if `marker.size` is set to a numerical array. Sets the rule for which the data in `size` is converted to pixels. The 'sizemode' property is an enumeration that may be specified as: - One of the following enumeration values...
[ "def", "sizemode", "(", "self", ")", ":", "return", "self", "[", "\"sizemode\"", "]" ]
[ 755, 4 ]
[ 769, 31 ]
python
en
['en', 'error', 'th']
False