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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
Baxis.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\"",
"]"
] | [
54,
4
] | [
107,
28
] | python | en | ['en', 'error', 'th'] | False |
Baxis.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\"",
"]"
] | [
116,
4
] | [
145,
28
] | python | en | ['en', 'error', 'th'] | False |
Baxis.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\"",
"]"
] | [
154,
4
] | [
170,
37
] | python | en | ['en', 'error', 'th'] | False |
Baxis.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\"",
"]"
] | [
179,
4
] | [
229,
32
] | python | en | ['en', 'error', 'th'] | False |
Baxis.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\"",
"]"
] | [
238,
4
] | [
249,
32
] | python | en | ['en', 'error', 'th'] | False |
Baxis.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\"",
"]"
] | [
258,
4
] | [
278,
34
] | python | en | ['en', 'error', 'th'] | False |
Baxis.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\"",
"]"
] | [
287,
4
] | [
304,
28
] | python | en | ['en', 'error', 'th'] | False |
Baxis.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\"",
"]"
] | [
313,
4
] | [
363,
32
] | python | en | ['en', 'error', 'th'] | False |
Baxis.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\"",
"]"
] | [
372,
4
] | [
383,
32
] | python | en | ['en', 'error', 'th'] | False |
Baxis.min | (self) |
The minimum value visible on this axis. The maximum is
determined by the sum minus the minimum values of the other two
axes. The full view corresponds to all the minima set to zero.
The 'min' property is a number and may be specified as:
- An int or float in the interval ... |
The minimum value visible on this axis. The maximum is
determined by the sum minus the minimum values of the other two
axes. The full view corresponds to all the minima set to zero.
The 'min' property is a number and may be specified as:
- An int or float in the interval ... | def min(self):
"""
The minimum value visible on this axis. The maximum is
determined by the sum minus the minimum values of the other two
axes. The full view corresponds to all the minima set to zero.
The 'min' property is a number and may be specified as:
- An int... | [
"def",
"min",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"min\"",
"]"
] | [
392,
4
] | [
405,
26
] | python | en | ['en', 'error', 'th'] | False |
Baxis.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\"",
"]"
] | [
414,
4
] | [
429,
29
] | python | en | ['en', 'error', 'th'] | False |
Baxis.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\"",
"]"
] | [
438,
4
] | [
449,
40
] | python | en | ['en', 'error', 'th'] | False |
Baxis.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\"",
"]"
] | [
458,
4
] | [
473,
35
] | python | en | ['en', 'error', 'th'] | False |
Baxis.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\"",
"]"
] | [
482,
4
] | [
494,
31
] | python | en | ['en', 'error', 'th'] | False |
Baxis.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\"",
"]"
] | [
503,
4
] | [
514,
31
] | python | en | ['en', 'error', 'th'] | False |
Baxis.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\"",
"]"
] | [
523,
4
] | [
534,
37
] | python | en | ['en', 'error', 'th'] | False |
Baxis.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\"",
"]"
] | [
543,
4
] | [
558,
37
] | python | en | ['en', 'error', 'th'] | False |
Baxis.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\"",
"]"
] | [
567,
4
] | [
579,
37
] | python | en | ['en', 'error', 'th'] | False |
Baxis.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\"",
"]"
] | [
588,
4
] | [
606,
28
] | python | en | ['en', 'error', 'th'] | False |
Baxis.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\"",
"]"
] | [
615,
4
] | [
630,
32
] | python | en | ['en', 'error', 'th'] | False |
Baxis.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\"",
"]"
] | [
639,
4
] | [
689,
32
] | python | en | ['en', 'error', 'th'] | False |
Baxis.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.ternary.baxis.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.ternary.baxis.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.ternary.baxis.Tickfont`
- A dict of string/value properties that will be passed
... | [
"def",
"tickfont",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"tickfont\"",
"]"
] | [
698,
4
] | [
735,
31
] | python | en | ['en', 'error', 'th'] | False |
Baxis.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\"",
"]"
] | [
744,
4
] | [
764,
33
] | python | en | ['en', 'error', 'th'] | False |
Baxis.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.ternary.baxis.Tickformatstop
- A list or tuple of dicts of string/value properties that
will be passed to the Tic... |
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.ternary.baxis.Tickformatstop
- A list or tuple of dicts of string/value properties that
will be passed to the Tic... | 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.ternary.baxis.Tickformatstop
- A list or tuple of dicts of string/value properties that... | [
"def",
"tickformatstops",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"tickformatstops\"",
"]"
] | [
773,
4
] | [
821,
38
] | python | en | ['en', 'error', 'th'] | False |
Baxis.tickformatstopdefaults | (self) |
When used in a template (as
layout.template.layout.ternary.baxis.tickformatstopdefaults),
sets the default property values to use for elements of
layout.ternary.baxis.tickformatstops
The 'tickformatstopdefaults' property is an instance of Tickformatstop
that may be ... |
When used in a template (as
layout.template.layout.ternary.baxis.tickformatstopdefaults),
sets the default property values to use for elements of
layout.ternary.baxis.tickformatstops
The 'tickformatstopdefaults' property is an instance of Tickformatstop
that may be ... | def tickformatstopdefaults(self):
"""
When used in a template (as
layout.template.layout.ternary.baxis.tickformatstopdefaults),
sets the default property values to use for elements of
layout.ternary.baxis.tickformatstops
The 'tickformatstopdefaults' property is an in... | [
"def",
"tickformatstopdefaults",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"tickformatstopdefaults\"",
"]"
] | [
830,
4
] | [
849,
45
] | python | en | ['en', 'error', 'th'] | False |
Baxis.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\"",
"]"
] | [
858,
4
] | [
869,
30
] | python | en | ['en', 'error', 'th'] | False |
Baxis.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\"",
"]"
] | [
878,
4
] | [
896,
31
] | python | en | ['en', 'error', 'th'] | False |
Baxis.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\"",
"]"
] | [
905,
4
] | [
917,
33
] | python | en | ['en', 'error', 'th'] | False |
Baxis.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\"",
"]"
] | [
926,
4
] | [
940,
28
] | python | en | ['en', 'error', 'th'] | False |
Baxis.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\"",
"]"
] | [
949,
4
] | [
961,
33
] | python | en | ['en', 'error', 'th'] | False |
Baxis.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\"",
"]"
] | [
970,
4
] | [
983,
31
] | python | en | ['en', 'error', 'th'] | False |
Baxis.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\"",
"]"
] | [
992,
4
] | [
1003,
34
] | python | en | ['en', 'error', 'th'] | False |
Baxis.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\"",
"]"
] | [
1012,
4
] | [
1024,
31
] | python | en | ['en', 'error', 'th'] | False |
Baxis.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\"",
"]"
] | [
1033,
4
] | [
1044,
34
] | python | en | ['en', 'error', 'th'] | False |
Baxis.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\"",
"]"
] | [
1053,
4
] | [
1064,
32
] | python | en | ['en', 'error', 'th'] | False |
Baxis.title | (self) |
The 'title' property is an instance of Title
that may be specified as:
- An instance of :class:`plotly.graph_objs.layout.ternary.baxis.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.ternary.baxis.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.ternary.baxis.Title`
- A dict of string/value properties that will be passed
to the Title constructor
Sup... | [
"def",
"title",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"title\"",
"]"
] | [
1073,
4
] | [
1098,
28
] | python | en | ['en', 'error', 'th'] | False |
Baxis.titlefont | (self) |
Deprecated: Please use layout.ternary.baxis.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 inst... |
Deprecated: Please use layout.ternary.baxis.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 inst... | def titlefont(self):
"""
Deprecated: Please use layout.ternary.baxis.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 s... | [
"def",
"titlefont",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"titlefont\"",
"]"
] | [
1107,
4
] | [
1146,
32
] | python | en | ['en', 'error', 'th'] | False |
Baxis.uirevision | (self) |
Controls persistence of user-driven changes in axis `min`, and
`title` if in `editable: true` configuration. Defaults to
`ternary<N>.uirevision`.
The 'uirevision' property accepts values of any type
Returns
-------
Any
|
Controls persistence of user-driven changes in axis `min`, and
`title` if in `editable: true` configuration. Defaults to
`ternary<N>.uirevision`.
The 'uirevision' property accepts values of any type | def uirevision(self):
"""
Controls persistence of user-driven changes in axis `min`, and
`title` if in `editable: true` configuration. Defaults to
`ternary<N>.uirevision`.
The 'uirevision' property accepts values of any type
Returns
-------
Any
... | [
"def",
"uirevision",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"uirevision\"",
"]"
] | [
1155,
4
] | [
1167,
33
] | python | en | ['en', 'error', 'th'] | False |
Baxis.__init__ | (
self,
arg=None,
color=None,
dtick=None,
exponentformat=None,
gridcolor=None,
gridwidth=None,
hoverformat=None,
layer=None,
linecolor=None,
linewidth=None,
min=None,
nticks=None,
separatethousands=None,
... |
Construct a new Baxis object
Parameters
----------
arg
dict of properties compatible with this constructor or
an instance of
:class:`plotly.graph_objs.layout.ternary.Baxis`
color
Sets default for all colors associated with... |
Construct a new Baxis object
Parameters
----------
arg
dict of properties compatible with this constructor or
an instance of
:class:`plotly.graph_objs.layout.ternary.Baxis`
color
Sets default for all colors associated with... | def __init__(
self,
arg=None,
color=None,
dtick=None,
exponentformat=None,
gridcolor=None,
gridwidth=None,
hoverformat=None,
layer=None,
linecolor=None,
linewidth=None,
min=None,
nticks=None,
separatethousand... | [
"def",
"__init__",
"(",
"self",
",",
"arg",
"=",
"None",
",",
"color",
"=",
"None",
",",
"dtick",
"=",
"None",
",",
"exponentformat",
"=",
"None",
",",
"gridcolor",
"=",
"None",
",",
"gridwidth",
"=",
"None",
",",
"hoverformat",
"=",
"None",
",",
"la... | [
1365,
4
] | [
1793,
34
] | python | en | ['en', 'error', 'th'] | False |
Unselected.marker | (self) |
The 'marker' property is an instance of Marker
that may be specified as:
- An instance of :class:`plotly.graph_objs.splom.unselected.Marker`
- A dict of string/value properties that will be passed
to the Marker constructor
Supported dict properties:
... |
The 'marker' property is an instance of Marker
that may be specified as:
- An instance of :class:`plotly.graph_objs.splom.unselected.Marker`
- A dict of string/value properties that will be passed
to the Marker constructor
Supported dict properties:
... | def marker(self):
"""
The 'marker' property is an instance of Marker
that may be specified as:
- An instance of :class:`plotly.graph_objs.splom.unselected.Marker`
- A dict of string/value properties that will be passed
to the Marker constructor
Su... | [
"def",
"marker",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"marker\"",
"]"
] | [
15,
4
] | [
39,
29
] | python | en | ['en', 'error', 'th'] | False |
Unselected.__init__ | (self, arg=None, marker=None, **kwargs) |
Construct a new Unselected object
Parameters
----------
arg
dict of properties compatible with this constructor or
an instance of
:class:`plotly.graph_objs.splom.Unselected`
marker
:class:`plotly.graph_objects.splom.unsele... |
Construct a new Unselected object
Parameters
----------
arg
dict of properties compatible with this constructor or
an instance of
:class:`plotly.graph_objs.splom.Unselected`
marker
:class:`plotly.graph_objects.splom.unsele... | def __init__(self, arg=None, marker=None, **kwargs):
"""
Construct a new Unselected object
Parameters
----------
arg
dict of properties compatible with this constructor or
an instance of
:class:`plotly.graph_objs.splom.Unselected`
... | [
"def",
"__init__",
"(",
"self",
",",
"arg",
"=",
"None",
",",
"marker",
"=",
"None",
",",
"*",
"*",
"kwargs",
")",
":",
"super",
"(",
"Unselected",
",",
"self",
")",
".",
"__init__",
"(",
"\"unselected\"",
")",
"if",
"\"_parent\"",
"in",
"kwargs",
":... | [
55,
4
] | [
113,
34
] | python | en | ['en', 'error', 'th'] | False |
Title.font | (self) |
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 :class:`plotly.graph_objs.layout.ternary.baxis.title.Font`
... |
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 :class:`plotly.graph_objs.layout.ternary.baxis.title.Font`
... | def font(self):
"""
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 :class:`plotly.graph_objs.layout.tern... | [
"def",
"font",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"font\"",
"]"
] | [
15,
4
] | [
53,
27
] | python | en | ['en', 'error', 'th'] | False |
Title.text | (self) |
Sets the title of this axis. Note that before the existence of
`title.text`, the title's contents used to be defined as the
`title` attribute itself. This behavior has been deprecated.
The 'text' property is a string and must be specified as:
- A string
- A numb... |
Sets the title of this axis. Note that before the existence of
`title.text`, the title's contents used to be defined as the
`title` attribute itself. This behavior has been deprecated.
The 'text' property is a string and must be specified as:
- A string
- A numb... | def text(self):
"""
Sets the title of this axis. Note that before the existence of
`title.text`, the title's contents used to be defined as the
`title` attribute itself. This behavior has been deprecated.
The 'text' property is a string and must be specified as:
- ... | [
"def",
"text",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"text\"",
"]"
] | [
62,
4
] | [
76,
27
] | python | en | ['en', 'error', 'th'] | False |
Title.__init__ | (self, arg=None, font=None, text=None, **kwargs) |
Construct a new Title object
Parameters
----------
arg
dict of properties compatible with this constructor or
an instance of
:class:`plotly.graph_objs.layout.ternary.baxis.Title`
font
Sets this axis' title font. Note that ... |
Construct a new Title object
Parameters
----------
arg
dict of properties compatible with this constructor or
an instance of
:class:`plotly.graph_objs.layout.ternary.baxis.Title`
font
Sets this axis' title font. Note that ... | def __init__(self, arg=None, font=None, text=None, **kwargs):
"""
Construct a new Title object
Parameters
----------
arg
dict of properties compatible with this constructor or
an instance of
:class:`plotly.graph_objs.layout.ternary.bax... | [
"def",
"__init__",
"(",
"self",
",",
"arg",
"=",
"None",
",",
"font",
"=",
"None",
",",
"text",
"=",
"None",
",",
"*",
"*",
"kwargs",
")",
":",
"super",
"(",
"Title",
",",
"self",
")",
".",
"__init__",
"(",
"\"title\"",
")",
"if",
"\"_parent\"",
... | [
98,
4
] | [
166,
34
] | python | en | ['en', 'error', 'th'] | False |
SetEnvVar | (env_var, value) | Sets the env variable to 'value'; unsets it when 'value' is None. | Sets the env variable to 'value'; unsets it when 'value' is None. | def SetEnvVar(env_var, value):
"""Sets the env variable to 'value'; unsets it when 'value' is None."""
if value is not None:
environ[env_var] = value
elif env_var in environ:
del environ[env_var] | [
"def",
"SetEnvVar",
"(",
"env_var",
",",
"value",
")",
":",
"if",
"value",
"is",
"not",
"None",
":",
"environ",
"[",
"env_var",
"]",
"=",
"value",
"elif",
"env_var",
"in",
"environ",
":",
"del",
"environ",
"[",
"env_var",
"]"
] | [
54,
0
] | [
60,
24
] | python | en | ['en', 'en', 'en'] | True |
GetFlag | (flag) | Runs gtest_env_var_test_ and returns its output. | Runs gtest_env_var_test_ and returns its output. | def GetFlag(flag):
"""Runs gtest_env_var_test_ and returns its output."""
args = [COMMAND]
if flag is not None:
args += [flag]
return gtest_test_utils.Subprocess(args, env=environ).output | [
"def",
"GetFlag",
"(",
"flag",
")",
":",
"args",
"=",
"[",
"COMMAND",
"]",
"if",
"flag",
"is",
"not",
"None",
":",
"args",
"+=",
"[",
"flag",
"]",
"return",
"gtest_test_utils",
".",
"Subprocess",
"(",
"args",
",",
"env",
"=",
"environ",
")",
".",
"... | [
63,
0
] | [
69,
62
] | python | en | ['en', 'da', 'en'] | True |
TestFlag | (flag, test_val, default_val) | Verifies that the given flag is affected by the corresponding env var. | Verifies that the given flag is affected by the corresponding env var. | def TestFlag(flag, test_val, default_val):
"""Verifies that the given flag is affected by the corresponding env var."""
env_var = 'GTEST_' + flag.upper()
SetEnvVar(env_var, test_val)
AssertEq(test_val, GetFlag(flag))
SetEnvVar(env_var, None)
AssertEq(default_val, GetFlag(flag)) | [
"def",
"TestFlag",
"(",
"flag",
",",
"test_val",
",",
"default_val",
")",
":",
"env_var",
"=",
"'GTEST_'",
"+",
"flag",
".",
"upper",
"(",
")",
"SetEnvVar",
"(",
"env_var",
",",
"test_val",
")",
"AssertEq",
"(",
"test_val",
",",
"GetFlag",
"(",
"flag",
... | [
72,
0
] | [
79,
38
] | python | en | ['en', 'en', 'en'] | True |
GTestEnvVarTest.testEnvVarAffectsFlag | (self) | Tests that environment variable should affect the corresponding flag. | Tests that environment variable should affect the corresponding flag. | def testEnvVarAffectsFlag(self):
"""Tests that environment variable should affect the corresponding flag."""
TestFlag('break_on_failure', '1', '0')
TestFlag('color', 'yes', 'auto')
TestFlag('filter', 'FooTest.Bar', '*')
SetEnvVar('XML_OUTPUT_FILE', None) # For 'output' test
TestFlag('output', '... | [
"def",
"testEnvVarAffectsFlag",
"(",
"self",
")",
":",
"TestFlag",
"(",
"'break_on_failure'",
",",
"'1'",
",",
"'0'",
")",
"TestFlag",
"(",
"'color'",
",",
"'yes'",
",",
"'auto'",
")",
"TestFlag",
"(",
"'filter'",
",",
"'FooTest.Bar'",
",",
"'*'",
")",
"Se... | [
83,
2
] | [
99,
47
] | python | en | ['en', 'en', 'en'] | True |
GTestEnvVarTest.testXmlOutputFile | (self) | Tests that $XML_OUTPUT_FILE affects the output flag. | Tests that $XML_OUTPUT_FILE affects the output flag. | def testXmlOutputFile(self):
"""Tests that $XML_OUTPUT_FILE affects the output flag."""
SetEnvVar('GTEST_OUTPUT', None)
SetEnvVar('XML_OUTPUT_FILE', 'tmp/bar.xml')
AssertEq('xml:tmp/bar.xml', GetFlag('output')) | [
"def",
"testXmlOutputFile",
"(",
"self",
")",
":",
"SetEnvVar",
"(",
"'GTEST_OUTPUT'",
",",
"None",
")",
"SetEnvVar",
"(",
"'XML_OUTPUT_FILE'",
",",
"'tmp/bar.xml'",
")",
"AssertEq",
"(",
"'xml:tmp/bar.xml'",
",",
"GetFlag",
"(",
"'output'",
")",
")"
] | [
101,
2
] | [
106,
50
] | python | en | ['en', 'en', 'en'] | True |
GTestEnvVarTest.testXmlOutputFileOverride | (self) | Tests that $XML_OUTPUT_FILE is overridden by $GTEST_OUTPUT | Tests that $XML_OUTPUT_FILE is overridden by $GTEST_OUTPUT | def testXmlOutputFileOverride(self):
"""Tests that $XML_OUTPUT_FILE is overridden by $GTEST_OUTPUT"""
SetEnvVar('GTEST_OUTPUT', 'xml:tmp/foo.xml')
SetEnvVar('XML_OUTPUT_FILE', 'tmp/bar.xml')
AssertEq('xml:tmp/foo.xml', GetFlag('output')) | [
"def",
"testXmlOutputFileOverride",
"(",
"self",
")",
":",
"SetEnvVar",
"(",
"'GTEST_OUTPUT'",
",",
"'xml:tmp/foo.xml'",
")",
"SetEnvVar",
"(",
"'XML_OUTPUT_FILE'",
",",
"'tmp/bar.xml'",
")",
"AssertEq",
"(",
"'xml:tmp/foo.xml'",
",",
"GetFlag",
"(",
"'output'",
")"... | [
108,
2
] | [
113,
50
] | python | en | ['en', 'en', 'en'] | True |
Settings.__init__ | (self, values: Mapping[str, object] = None) | Initialize a Settings object.
Args:
values: An optional dictionary of settings
| Initialize a Settings object. | def __init__(self, values: Mapping[str, object] = None):
"""Initialize a Settings object.
Args:
values: An optional dictionary of settings
"""
self._values = {}
if values:
self._values.update(values) | [
"def",
"__init__",
"(",
"self",
",",
"values",
":",
"Mapping",
"[",
"str",
",",
"object",
"]",
"=",
"None",
")",
":",
"self",
".",
"_values",
"=",
"{",
"}",
"if",
"values",
":",
"self",
".",
"_values",
".",
"update",
"(",
"values",
")"
] | [
10,
4
] | [
18,
39
] | python | en | ['en', 'en', 'en'] | True |
Settings.get_value | (self, *var_names, default=None) | Fetch a setting.
Args:
var_names: A list of variable name alternatives
default: The default value to return if none are defined
| Fetch a setting. | def get_value(self, *var_names, default=None):
"""Fetch a setting.
Args:
var_names: A list of variable name alternatives
default: The default value to return if none are defined
"""
for k in var_names:
if k in self._values:
return self... | [
"def",
"get_value",
"(",
"self",
",",
"*",
"var_names",
",",
"default",
"=",
"None",
")",
":",
"for",
"k",
"in",
"var_names",
":",
"if",
"k",
"in",
"self",
".",
"_values",
":",
"return",
"self",
".",
"_values",
"[",
"k",
"]",
"return",
"default"
] | [
20,
4
] | [
30,
22
] | python | en | ['en', 'cy', 'en'] | True |
Settings.set_value | (self, var_name: str, value) | Add a setting.
Args:
var_name: The name of the setting
value: The value to assign
| Add a setting. | def set_value(self, var_name: str, value):
"""Add a setting.
Args:
var_name: The name of the setting
value: The value to assign
"""
if not isinstance(var_name, str):
raise TypeError("Setting name must be a string")
if not var_name:
... | [
"def",
"set_value",
"(",
"self",
",",
"var_name",
":",
"str",
",",
"value",
")",
":",
"if",
"not",
"isinstance",
"(",
"var_name",
",",
"str",
")",
":",
"raise",
"TypeError",
"(",
"\"Setting name must be a string\"",
")",
"if",
"not",
"var_name",
":",
"rais... | [
32,
4
] | [
43,
38
] | python | en | ['en', 'ny', 'en'] | True |
Settings.set_default | (self, var_name: str, value) | Add a setting if not currently defined.
Args:
var_name: The name of the setting
value: The value to assign
| Add a setting if not currently defined. | def set_default(self, var_name: str, value):
"""Add a setting if not currently defined.
Args:
var_name: The name of the setting
value: The value to assign
"""
if var_name not in self:
self.set_value(var_name, value) | [
"def",
"set_default",
"(",
"self",
",",
"var_name",
":",
"str",
",",
"value",
")",
":",
"if",
"var_name",
"not",
"in",
"self",
":",
"self",
".",
"set_value",
"(",
"var_name",
",",
"value",
")"
] | [
45,
4
] | [
53,
43
] | python | en | ['en', 'en', 'en'] | True |
Settings.clear_value | (self, var_name: str) | Remove a setting.
Args:
var_name: The name of the setting
| Remove a setting. | def clear_value(self, var_name: str):
"""Remove a setting.
Args:
var_name: The name of the setting
"""
if var_name in self._values:
del self._values[var_name] | [
"def",
"clear_value",
"(",
"self",
",",
"var_name",
":",
"str",
")",
":",
"if",
"var_name",
"in",
"self",
".",
"_values",
":",
"del",
"self",
".",
"_values",
"[",
"var_name",
"]"
] | [
55,
4
] | [
62,
38
] | python | en | ['en', 'it', 'en'] | True |
Settings.__contains__ | (self, index) | Define 'in' operator. | Define 'in' operator. | def __contains__(self, index):
"""Define 'in' operator."""
return index in self._values | [
"def",
"__contains__",
"(",
"self",
",",
"index",
")",
":",
"return",
"index",
"in",
"self",
".",
"_values"
] | [
64,
4
] | [
66,
36
] | python | it | ['en', 'it', 'it'] | True |
Settings.__iter__ | (self) | Iterate settings keys. | Iterate settings keys. | def __iter__(self):
"""Iterate settings keys."""
return iter(self._values) | [
"def",
"__iter__",
"(",
"self",
")",
":",
"return",
"iter",
"(",
"self",
".",
"_values",
")"
] | [
68,
4
] | [
70,
33
] | python | en | ['en', 'ms', 'en'] | True |
Settings.__setitem__ | (self, index, value) | Implement update operator for array index. | Implement update operator for array index. | def __setitem__(self, index, value):
"""Implement update operator for array index."""
self.set_value(index, value) | [
"def",
"__setitem__",
"(",
"self",
",",
"index",
",",
"value",
")",
":",
"self",
".",
"set_value",
"(",
"index",
",",
"value",
")"
] | [
72,
4
] | [
74,
36
] | python | en | ['en', 'en', 'en'] | True |
Settings.__delitem__ | (self, index) | Implement del operator for array index. | Implement del operator for array index. | def __delitem__(self, index):
"""Implement del operator for array index."""
self.clear_value(index) | [
"def",
"__delitem__",
"(",
"self",
",",
"index",
")",
":",
"self",
".",
"clear_value",
"(",
"index",
")"
] | [
76,
4
] | [
78,
31
] | python | da | ['da', 'en', 'it'] | False |
Settings.__len__ | (self) | Fetch the length of the mapping. | Fetch the length of the mapping. | def __len__(self):
"""Fetch the length of the mapping."""
return len(self._values) | [
"def",
"__len__",
"(",
"self",
")",
":",
"return",
"len",
"(",
"self",
".",
"_values",
")"
] | [
80,
4
] | [
82,
32
] | python | en | ['en', 'en', 'en'] | True |
Settings.__bool__ | (self) | Convert settings to a boolean. | Convert settings to a boolean. | def __bool__(self):
"""Convert settings to a boolean."""
return True | [
"def",
"__bool__",
"(",
"self",
")",
":",
"return",
"True"
] | [
84,
4
] | [
86,
19
] | python | en | ['en', 'en', 'en'] | True |
Settings.copy | (self) | Produce a copy of the settings instance. | Produce a copy of the settings instance. | def copy(self) -> BaseSettings:
"""Produce a copy of the settings instance."""
return Settings(self._values) | [
"def",
"copy",
"(",
"self",
")",
"->",
"BaseSettings",
":",
"return",
"Settings",
"(",
"self",
".",
"_values",
")"
] | [
88,
4
] | [
90,
37
] | python | en | ['en', 'en', 'en'] | True |
Settings.extend | (self, other: Mapping[str, object]) | Merge another settings instance to produce a new instance. | Merge another settings instance to produce a new instance. | def extend(self, other: Mapping[str, object]) -> BaseSettings:
"""Merge another settings instance to produce a new instance."""
vals = self._values.copy()
vals.update(other)
return Settings(vals) | [
"def",
"extend",
"(",
"self",
",",
"other",
":",
"Mapping",
"[",
"str",
",",
"object",
"]",
")",
"->",
"BaseSettings",
":",
"vals",
"=",
"self",
".",
"_values",
".",
"copy",
"(",
")",
"vals",
".",
"update",
"(",
"other",
")",
"return",
"Settings",
... | [
92,
4
] | [
96,
29
] | python | en | ['en', 'en', 'en'] | True |
time_to_tuple | (seconds, *divisors) |
Helper function. Creates a tuple of even dividends given a range
of divisors.
Args:
seconds (int): Number of seconds to format
*divisors (int): a sequence of numbers of integer dividends. The
number of seconds will be integer-divided by the first number in
this sequ... |
Helper function. Creates a tuple of even dividends given a range
of divisors. | def time_to_tuple(seconds, *divisors):
"""
Helper function. Creates a tuple of even dividends given a range
of divisors.
Args:
seconds (int): Number of seconds to format
*divisors (int): a sequence of numbers of integer dividends. The
number of seconds will be integer-divide... | [
"def",
"time_to_tuple",
"(",
"seconds",
",",
"*",
"divisors",
")",
":",
"results",
"=",
"[",
"]",
"seconds",
"=",
"int",
"(",
"seconds",
")",
"for",
"divisor",
"in",
"divisors",
":",
"results",
".",
"append",
"(",
"seconds",
"//",
"divisor",
")",
"seco... | [
58,
0
] | [
81,
25
] | python | en | ['en', 'error', 'th'] | False |
gametime_to_realtime | (format=False, **kwargs) |
This method helps to figure out the real-world time it will take until an
in-game time has passed. E.g. if an event should take place a month later
in-game, you will be able to find the number of real-world seconds this
corresponds to (hint: Interval events deal with real life seconds).
Kwargs:
... |
This method helps to figure out the real-world time it will take until an
in-game time has passed. E.g. if an event should take place a month later
in-game, you will be able to find the number of real-world seconds this
corresponds to (hint: Interval events deal with real life seconds). | def gametime_to_realtime(format=False, **kwargs):
"""
This method helps to figure out the real-world time it will take until an
in-game time has passed. E.g. if an event should take place a month later
in-game, you will be able to find the number of real-world seconds this
corresponds to (hint: Inte... | [
"def",
"gametime_to_realtime",
"(",
"format",
"=",
"False",
",",
"*",
"*",
"kwargs",
")",
":",
"# Dynamically creates the list of units based on kwarg names and UNITs list",
"rtime",
"=",
"0",
"for",
"name",
",",
"value",
"in",
"kwargs",
".",
"items",
"(",
")",
":... | [
84,
0
] | [
119,
16
] | python | en | ['en', 'error', 'th'] | False |
realtime_to_gametime | (secs=0, mins=0, hrs=0, days=0, weeks=0,
months=0, yrs=0, format=False) |
This method calculates how much in-game time a real-world time
interval would correspond to. This is usually a lot less
interesting than the other way around.
Kwargs:
times (int): The various components of the time.
format (bool): Formatting the output.
Returns:
time (floa... |
This method calculates how much in-game time a real-world time
interval would correspond to. This is usually a lot less
interesting than the other way around. | def realtime_to_gametime(secs=0, mins=0, hrs=0, days=0, weeks=0,
months=0, yrs=0, format=False):
"""
This method calculates how much in-game time a real-world time
interval would correspond to. This is usually a lot less
interesting than the other way around.
Kwargs:
... | [
"def",
"realtime_to_gametime",
"(",
"secs",
"=",
"0",
",",
"mins",
"=",
"0",
",",
"hrs",
"=",
"0",
",",
"days",
"=",
"0",
",",
"weeks",
"=",
"0",
",",
"months",
"=",
"0",
",",
"yrs",
"=",
"0",
",",
"format",
"=",
"False",
")",
":",
"gtime",
"... | [
122,
0
] | [
149,
16
] | python | en | ['en', 'error', 'th'] | False |
custom_gametime | (absolute=False) |
Return the custom game time as a tuple of units, as defined in settings.
Args:
absolute (bool, optional): return the relative or absolute time.
Returns:
The tuple describing the game time. The length of the tuple
is related to the number of unique units defined in the
set... |
Return the custom game time as a tuple of units, as defined in settings. | def custom_gametime(absolute=False):
"""
Return the custom game time as a tuple of units, as defined in settings.
Args:
absolute (bool, optional): return the relative or absolute time.
Returns:
The tuple describing the game time. The length of the tuple
is related to the numbe... | [
"def",
"custom_gametime",
"(",
"absolute",
"=",
"False",
")",
":",
"current",
"=",
"gametime",
".",
"gametime",
"(",
"absolute",
"=",
"absolute",
")",
"units",
"=",
"sorted",
"(",
"set",
"(",
"UNITS",
".",
"values",
"(",
")",
")",
",",
"reverse",
"=",
... | [
152,
0
] | [
169,
41
] | python | en | ['en', 'error', 'th'] | False |
real_seconds_until | (**kwargs) |
Return the real seconds until game time.
If the game time is 5:00, TIME_FACTOR is set to 2 and you ask
the number of seconds until it's 5:10, then this function should
return 300 (5 minutes).
Args:
times (str: int): the time units.
Example:
real_seconds_until(hour=5, min=10, ... |
Return the real seconds until game time. | def real_seconds_until(**kwargs):
"""
Return the real seconds until game time.
If the game time is 5:00, TIME_FACTOR is set to 2 and you ask
the number of seconds until it's 5:10, then this function should
return 300 (5 minutes).
Args:
times (str: int): the time units.
Example:
... | [
"def",
"real_seconds_until",
"(",
"*",
"*",
"kwargs",
")",
":",
"current",
"=",
"gametime",
".",
"gametime",
"(",
"absolute",
"=",
"True",
")",
"units",
"=",
"sorted",
"(",
"set",
"(",
"UNITS",
".",
"values",
"(",
")",
")",
",",
"reverse",
"=",
"True... | [
172,
0
] | [
230,
45
] | python | en | ['en', 'error', 'th'] | False |
schedule | (callback, repeat=False, **kwargs) |
Call the callback when the game time is up.
Args:
callback (function): The callback function that will be called. This
must be a top-level function since the script will be persistent.
repeat (bool, optional): Should the callback be called regularly?
day, month, etc (str: i... |
Call the callback when the game time is up. | def schedule(callback, repeat=False, **kwargs):
"""
Call the callback when the game time is up.
Args:
callback (function): The callback function that will be called. This
must be a top-level function since the script will be persistent.
repeat (bool, optional): Should the callba... | [
"def",
"schedule",
"(",
"callback",
",",
"repeat",
"=",
"False",
",",
"*",
"*",
"kwargs",
")",
":",
"seconds",
"=",
"real_seconds_until",
"(",
"*",
"*",
"kwargs",
")",
"script",
"=",
"create_script",
"(",
"\"evennia.contrib.custom_gametime.GametimeScript\"",
","... | [
233,
0
] | [
266,
17
] | python | en | ['en', 'error', 'th'] | False |
GametimeScript.at_script_creation | (self) | The script is created. | The script is created. | def at_script_creation(self):
"""The script is created."""
self.key = "unknown scr"
self.interval = 100
self.start_delay = True
self.persistent = True | [
"def",
"at_script_creation",
"(",
"self",
")",
":",
"self",
".",
"key",
"=",
"\"unknown scr\"",
"self",
".",
"interval",
"=",
"100",
"self",
".",
"start_delay",
"=",
"True",
"self",
".",
"persistent",
"=",
"True"
] | [
275,
4
] | [
280,
30
] | python | en | ['en', 'en', 'en'] | True |
GametimeScript.at_repeat | (self) | Call the callback and reset interval. | Call the callback and reset interval. | def at_repeat(self):
"""Call the callback and reset interval."""
callback = self.db.callback
if callback:
callback()
seconds = real_seconds_until(**self.db.gametime)
self.restart(interval=seconds) | [
"def",
"at_repeat",
"(",
"self",
")",
":",
"callback",
"=",
"self",
".",
"db",
".",
"callback",
"if",
"callback",
":",
"callback",
"(",
")",
"seconds",
"=",
"real_seconds_until",
"(",
"*",
"*",
"self",
".",
"db",
".",
"gametime",
")",
"self",
".",
"r... | [
282,
4
] | [
289,
38
] | python | en | ['en', 'en', 'en'] | True |
TestClassifierOnGenerator.test_accuracy | (self) |
Test the accuracy of the classifier trained on previous and current utterances.
This should be very close to 100%, because this classifier was used to label the
styles of this dataset to begin with.
|
Test the accuracy of the classifier trained on previous and current utterances. | def test_accuracy(self):
"""
Test the accuracy of the classifier trained on previous and current utterances.
This should be very close to 100%, because this classifier was used to label the
styles of this dataset to begin with.
"""
_, test = testing_utils.eval_model(
... | [
"def",
"test_accuracy",
"(",
"self",
")",
":",
"_",
",",
"test",
"=",
"testing_utils",
".",
"eval_model",
"(",
"opt",
"=",
"{",
"'batchsize'",
":",
"4",
",",
"'fp16'",
":",
"False",
",",
"'num_examples'",
":",
"16",
",",
"'model_file'",
":",
"'zoo:style_... | [
43,
4
] | [
64,
64
] | python | en | ['en', 'error', 'th'] | False |
TestStyleGen.test_perplexities | (self) |
Test perplexities of style-controlled generation models in the zoo.
|
Test perplexities of style-controlled generation models in the zoo.
| def test_perplexities(self):
"""
Test perplexities of style-controlled generation models in the zoo.
"""
test_cases = [('c75_labeled_dialogue_generator', 1.0, 7.664)]
for model_name, style_frac, desired_ppl in test_cases:
_, test = testing_utils.eval_model(
... | [
"def",
"test_perplexities",
"(",
"self",
")",
":",
"test_cases",
"=",
"[",
"(",
"'c75_labeled_dialogue_generator'",
",",
"1.0",
",",
"7.664",
")",
"]",
"for",
"model_name",
",",
"style_frac",
",",
"desired_ppl",
"in",
"test_cases",
":",
"_",
",",
"test",
"="... | [
68,
4
] | [
88,
73
] | python | en | ['en', 'error', 'th'] | False |
Scatterpolargl.connectgaps | (self) |
Determines whether or not gaps (i.e. {nan} or missing values)
in the provided data arrays are connected.
The 'connectgaps' property must be specified as a bool
(either True, or False)
Returns
-------
bool
|
Determines whether or not gaps (i.e. {nan} or missing values)
in the provided data arrays are connected.
The 'connectgaps' property must be specified as a bool
(either True, or False) | def connectgaps(self):
"""
Determines whether or not gaps (i.e. {nan} or missing values)
in the provided data arrays are connected.
The 'connectgaps' property must be specified as a bool
(either True, or False)
Returns
-------
bool
"""
... | [
"def",
"connectgaps",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"connectgaps\"",
"]"
] | [
64,
4
] | [
76,
34
] | python | en | ['en', 'error', 'th'] | False |
Scatterpolargl.customdata | (self) |
Assigns extra data each datum. This may be useful when
listening to hover, click and selection events. Note that,
"scatter" traces also appends customdata items in the markers
DOM elements
The 'customdata' property is an array that may be specified as a tuple,
list,... |
Assigns extra data each datum. This may be useful when
listening to hover, click and selection events. Note that,
"scatter" traces also appends customdata items in the markers
DOM elements
The 'customdata' property is an array that may be specified as a tuple,
list,... | def customdata(self):
"""
Assigns extra data each datum. This may be useful when
listening to hover, click and selection events. Note that,
"scatter" traces also appends customdata items in the markers
DOM elements
The 'customdata' property is an array that may be sp... | [
"def",
"customdata",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"customdata\"",
"]"
] | [
85,
4
] | [
99,
33
] | python | en | ['en', 'error', 'th'] | False |
Scatterpolargl.customdatasrc | (self) |
Sets the source reference on Chart Studio Cloud for customdata
.
The 'customdatasrc' 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 customdata
.
The 'customdatasrc' property must be specified as a string or
as a plotly.grid_objs.Column object | def customdatasrc(self):
"""
Sets the source reference on Chart Studio Cloud for customdata
.
The 'customdatasrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
"""
return self["cust... | [
"def",
"customdatasrc",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"customdatasrc\"",
"]"
] | [
108,
4
] | [
120,
36
] | python | en | ['en', 'error', 'th'] | False |
Scatterpolargl.dr | (self) |
Sets the r coordinate step.
The 'dr' property is a number and may be specified as:
- An int or float
Returns
-------
int|float
|
Sets the r coordinate step.
The 'dr' property is a number and may be specified as:
- An int or float | def dr(self):
"""
Sets the r coordinate step.
The 'dr' property is a number and may be specified as:
- An int or float
Returns
-------
int|float
"""
return self["dr"] | [
"def",
"dr",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"dr\"",
"]"
] | [
129,
4
] | [
140,
25
] | python | en | ['en', 'error', 'th'] | False |
Scatterpolargl.dtheta | (self) |
Sets the theta coordinate step. By default, the `dtheta` step
equals the subplot's period divided by the length of the `r`
coordinates.
The 'dtheta' property is a number and may be specified as:
- An int or float
Returns
-------
int|float
|
Sets the theta coordinate step. By default, the `dtheta` step
equals the subplot's period divided by the length of the `r`
coordinates.
The 'dtheta' property is a number and may be specified as:
- An int or float | def dtheta(self):
"""
Sets the theta coordinate step. By default, the `dtheta` step
equals the subplot's period divided by the length of the `r`
coordinates.
The 'dtheta' property is a number and may be specified as:
- An int or float
Returns
-----... | [
"def",
"dtheta",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"dtheta\"",
"]"
] | [
149,
4
] | [
162,
29
] | python | en | ['en', 'error', 'th'] | False |
Scatterpolargl.fill | (self) |
Sets the area to fill with a solid color. Defaults to "none"
unless this trace is stacked, then it gets "tonexty"
("tonextx") if `orientation` is "v" ("h") Use with `fillcolor`
if not "none". "tozerox" and "tozeroy" fill to x=0 and y=0
respectively. "tonextx" and "tonexty" fill ... |
Sets the area to fill with a solid color. Defaults to "none"
unless this trace is stacked, then it gets "tonexty"
("tonextx") if `orientation` is "v" ("h") Use with `fillcolor`
if not "none". "tozerox" and "tozeroy" fill to x=0 and y=0
respectively. "tonextx" and "tonexty" fill ... | def fill(self):
"""
Sets the area to fill with a solid color. Defaults to "none"
unless this trace is stacked, then it gets "tonexty"
("tonextx") if `orientation` is "v" ("h") Use with `fillcolor`
if not "none". "tozerox" and "tozeroy" fill to x=0 and y=0
respectively. "t... | [
"def",
"fill",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"fill\"",
"]"
] | [
171,
4
] | [
202,
27
] | python | en | ['en', 'error', 'th'] | False |
Scatterpolargl.fillcolor | (self) |
Sets the fill color. Defaults to a half-transparent variant of
the line color, marker color, or marker line color, whichever
is available.
The 'fillcolor' property is a color and may be specified as:
- A hex string (e.g. '#ff0000')
- An rgb/rgba string (e.g. 'rg... |
Sets the fill color. Defaults to a half-transparent variant of
the line color, marker color, or marker line color, whichever
is available.
The 'fillcolor' property is a color and may be specified as:
- A hex string (e.g. '#ff0000')
- An rgb/rgba string (e.g. 'rg... | def fillcolor(self):
"""
Sets the fill color. Defaults to a half-transparent variant of
the line color, marker color, or marker line color, whichever
is available.
The 'fillcolor' property is a color and may be specified as:
- A hex string (e.g. '#ff0000')
... | [
"def",
"fillcolor",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"fillcolor\"",
"]"
] | [
211,
4
] | [
263,
32
] | python | en | ['en', 'error', 'th'] | False |
Scatterpolargl.hoverinfo | (self) |
Determines which trace information appear on hover. If `none`
or `skip` are set, no information is displayed upon hovering.
But, if `none` is set, click and hover events are still fired.
The 'hoverinfo' property is a flaglist and may be specified
as a string containing:
... |
Determines which trace information appear on hover. If `none`
or `skip` are set, no information is displayed upon hovering.
But, if `none` is set, click and hover events are still fired.
The 'hoverinfo' property is a flaglist and may be specified
as a string containing:
... | def hoverinfo(self):
"""
Determines which trace information appear on hover. If `none`
or `skip` are set, no information is displayed upon hovering.
But, if `none` is set, click and hover events are still fired.
The 'hoverinfo' property is a flaglist and may be specified
... | [
"def",
"hoverinfo",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"hoverinfo\"",
"]"
] | [
272,
4
] | [
289,
32
] | python | en | ['en', 'error', 'th'] | False |
Scatterpolargl.hoverinfosrc | (self) |
Sets the source reference on Chart Studio Cloud for hoverinfo
.
The 'hoverinfosrc' 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 hoverinfo
.
The 'hoverinfosrc' property must be specified as a string or
as a plotly.grid_objs.Column object | def hoverinfosrc(self):
"""
Sets the source reference on Chart Studio Cloud for hoverinfo
.
The 'hoverinfosrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
"""
return self["hoverin... | [
"def",
"hoverinfosrc",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"hoverinfosrc\"",
"]"
] | [
298,
4
] | [
310,
35
] | python | en | ['en', 'error', 'th'] | False |
Scatterpolargl.hoverlabel | (self) |
The 'hoverlabel' property is an instance of Hoverlabel
that may be specified as:
- An instance of :class:`plotly.graph_objs.scatterpolargl.Hoverlabel`
- A dict of string/value properties that will be passed
to the Hoverlabel constructor
Supported dict pr... |
The 'hoverlabel' property is an instance of Hoverlabel
that may be specified as:
- An instance of :class:`plotly.graph_objs.scatterpolargl.Hoverlabel`
- A dict of string/value properties that will be passed
to the Hoverlabel constructor
Supported dict pr... | def hoverlabel(self):
"""
The 'hoverlabel' property is an instance of Hoverlabel
that may be specified as:
- An instance of :class:`plotly.graph_objs.scatterpolargl.Hoverlabel`
- A dict of string/value properties that will be passed
to the Hoverlabel constructor
... | [
"def",
"hoverlabel",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"hoverlabel\"",
"]"
] | [
319,
4
] | [
369,
33
] | python | en | ['en', 'error', 'th'] | False |
Scatterpolargl.hovertemplate | (self) |
Template string used for rendering the information that appear
on hover box. Note that this will override `hoverinfo`.
Variables are inserted using %{variable}, for example "y:
%{y}". Numbers are formatted using d3-format's syntax
%{variable:d3-format}, for example "Price: %{y:$... |
Template string used for rendering the information that appear
on hover box. Note that this will override `hoverinfo`.
Variables are inserted using %{variable}, for example "y:
%{y}". Numbers are formatted using d3-format's syntax
%{variable:d3-format}, for example "Price: %{y:$... | def hovertemplate(self):
"""
Template string used for rendering the information that appear
on hover box. Note that this will override `hoverinfo`.
Variables are inserted using %{variable}, for example "y:
%{y}". Numbers are formatted using d3-format's syntax
%{variable:d... | [
"def",
"hovertemplate",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"hovertemplate\"",
"]"
] | [
378,
4
] | [
410,
36
] | python | en | ['en', 'error', 'th'] | False |
Scatterpolargl.hovertemplatesrc | (self) |
Sets the source reference on Chart Studio Cloud for
hovertemplate .
The 'hovertemplatesrc' 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
hovertemplate .
The 'hovertemplatesrc' property must be specified as a string or
as a plotly.grid_objs.Column object | def hovertemplatesrc(self):
"""
Sets the source reference on Chart Studio Cloud for
hovertemplate .
The 'hovertemplatesrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
"""
return se... | [
"def",
"hovertemplatesrc",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"hovertemplatesrc\"",
"]"
] | [
419,
4
] | [
431,
39
] | python | en | ['en', 'error', 'th'] | False |
Scatterpolargl.hovertext | (self) |
Sets hover text elements associated with each (x,y) pair. If a
single string, the same string appears over all the data
points. If an array of string, the items are mapped in order to
the this trace's (x,y) coordinates. To be seen, trace
`hoverinfo` must contain a "text" flag.
... |
Sets hover text elements associated with each (x,y) pair. If a
single string, the same string appears over all the data
points. If an array of string, the items are mapped in order to
the this trace's (x,y) coordinates. To be seen, trace
`hoverinfo` must contain a "text" flag.
... | def hovertext(self):
"""
Sets hover text elements associated with each (x,y) pair. If a
single string, the same string appears over all the data
points. If an array of string, the items are mapped in order to
the this trace's (x,y) coordinates. To be seen, trace
`hoverinf... | [
"def",
"hovertext",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"hovertext\"",
"]"
] | [
440,
4
] | [
457,
32
] | python | en | ['en', 'error', 'th'] | False |
Scatterpolargl.hovertextsrc | (self) |
Sets the source reference on Chart Studio Cloud for hovertext
.
The 'hovertextsrc' 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 hovertext
.
The 'hovertextsrc' property must be specified as a string or
as a plotly.grid_objs.Column object | def hovertextsrc(self):
"""
Sets the source reference on Chart Studio Cloud for hovertext
.
The 'hovertextsrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
"""
return self["hoverte... | [
"def",
"hovertextsrc",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"hovertextsrc\"",
"]"
] | [
466,
4
] | [
478,
35
] | python | en | ['en', 'error', 'th'] | False |
Scatterpolargl.ids | (self) |
Assigns id labels to each datum. These ids for object constancy
of data points during animation. Should be an array of strings,
not numbers or any other type.
The 'ids' property is an array that may be specified as a tuple,
list, numpy array, or pandas Series
Retur... |
Assigns id labels to each datum. These ids for object constancy
of data points during animation. Should be an array of strings,
not numbers or any other type.
The 'ids' property is an array that may be specified as a tuple,
list, numpy array, or pandas Series | def ids(self):
"""
Assigns id labels to each datum. These ids for object constancy
of data points during animation. Should be an array of strings,
not numbers or any other type.
The 'ids' property is an array that may be specified as a tuple,
list, numpy array, or pa... | [
"def",
"ids",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"ids\"",
"]"
] | [
487,
4
] | [
500,
26
] | python | en | ['en', 'error', 'th'] | False |
Scatterpolargl.idssrc | (self) |
Sets the source reference on Chart Studio Cloud for ids .
The 'idssrc' 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 ids .
The 'idssrc' property must be specified as a string or
as a plotly.grid_objs.Column object | def idssrc(self):
"""
Sets the source reference on Chart Studio Cloud for ids .
The 'idssrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
"""
return self["idssrc"] | [
"def",
"idssrc",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"idssrc\"",
"]"
] | [
509,
4
] | [
520,
29
] | python | en | ['en', 'error', 'th'] | False |
Scatterpolargl.legendgroup | (self) |
Sets the legend group for this trace. Traces part of the same
legend group hide/show at the same time when toggling legend
items.
The 'legendgroup' property is a string and must be specified as:
- A string
- A number that will be converted to a string
R... |
Sets the legend group for this trace. Traces part of the same
legend group hide/show at the same time when toggling legend
items.
The 'legendgroup' property is a string and must be specified as:
- A string
- A number that will be converted to a string | def legendgroup(self):
"""
Sets the legend group for this trace. Traces part of the same
legend group hide/show at the same time when toggling legend
items.
The 'legendgroup' property is a string and must be specified as:
- A string
- A number that will b... | [
"def",
"legendgroup",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"legendgroup\"",
"]"
] | [
529,
4
] | [
543,
34
] | python | en | ['en', 'error', 'th'] | False |
Scatterpolargl.line | (self) |
The 'line' property is an instance of Line
that may be specified as:
- An instance of :class:`plotly.graph_objs.scatterpolargl.Line`
- A dict of string/value properties that will be passed
to the Line constructor
Supported dict properties:
... |
The 'line' property is an instance of Line
that may be specified as:
- An instance of :class:`plotly.graph_objs.scatterpolargl.Line`
- A dict of string/value properties that will be passed
to the Line constructor
Supported dict properties:
... | def line(self):
"""
The 'line' property is an instance of Line
that may be specified as:
- An instance of :class:`plotly.graph_objs.scatterpolargl.Line`
- A dict of string/value properties that will be passed
to the Line constructor
Supported dict... | [
"def",
"line",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"line\"",
"]"
] | [
552,
4
] | [
576,
27
] | python | en | ['en', 'error', 'th'] | False |
Scatterpolargl.marker | (self) |
The 'marker' property is an instance of Marker
that may be specified as:
- An instance of :class:`plotly.graph_objs.scatterpolargl.Marker`
- A dict of string/value properties that will be passed
to the Marker constructor
Supported dict properties:
... |
The 'marker' property is an instance of Marker
that may be specified as:
- An instance of :class:`plotly.graph_objs.scatterpolargl.Marker`
- A dict of string/value properties that will be passed
to the Marker constructor
Supported dict properties:
... | def marker(self):
"""
The 'marker' property is an instance of Marker
that may be specified as:
- An instance of :class:`plotly.graph_objs.scatterpolargl.Marker`
- A dict of string/value properties that will be passed
to the Marker constructor
Supp... | [
"def",
"marker",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"marker\"",
"]"
] | [
585,
4
] | [
724,
29
] | python | en | ['en', 'error', 'th'] | False |
Scatterpolargl.meta | (self) |
Assigns extra meta information associated with this trace that
can be used in various text attributes. Attributes such as
trace `name`, graph, axis and colorbar `title.text`, annotation
`text` `rangeselector`, `updatemenues` and `sliders` `label`
text all support `meta`. To acce... |
Assigns extra meta information associated with this trace that
can be used in various text attributes. Attributes such as
trace `name`, graph, axis and colorbar `title.text`, annotation
`text` `rangeselector`, `updatemenues` and `sliders` `label`
text all support `meta`. To acce... | def meta(self):
"""
Assigns extra meta information associated with this trace that
can be used in various text attributes. Attributes such as
trace `name`, graph, axis and colorbar `title.text`, annotation
`text` `rangeselector`, `updatemenues` and `sliders` `label`
text ... | [
"def",
"meta",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"meta\"",
"]"
] | [
733,
4
] | [
752,
27
] | python | en | ['en', 'error', 'th'] | False |
Scatterpolargl.metasrc | (self) |
Sets the source reference on Chart Studio Cloud for meta .
The 'metasrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
|
Sets the source reference on Chart Studio Cloud for meta .
The 'metasrc' property must be specified as a string or
as a plotly.grid_objs.Column object | def metasrc(self):
"""
Sets the source reference on Chart Studio Cloud for meta .
The 'metasrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
"""
return self["metasrc"] | [
"def",
"metasrc",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"metasrc\"",
"]"
] | [
761,
4
] | [
772,
30
] | python | en | ['en', 'error', 'th'] | False |
Scatterpolargl.mode | (self) |
Determines the drawing mode for this scatter trace. If the
provided `mode` includes "text" then the `text` elements appear
at the coordinates. Otherwise, the `text` elements appear on
hover. If there are less than 20 points and the trace is not
stacked then the default is "lines... |
Determines the drawing mode for this scatter trace. If the
provided `mode` includes "text" then the `text` elements appear
at the coordinates. Otherwise, the `text` elements appear on
hover. If there are less than 20 points and the trace is not
stacked then the default is "lines... | def mode(self):
"""
Determines the drawing mode for this scatter trace. If the
provided `mode` includes "text" then the `text` elements appear
at the coordinates. Otherwise, the `text` elements appear on
hover. If there are less than 20 points and the trace is not
stacked... | [
"def",
"mode",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"mode\"",
"]"
] | [
781,
4
] | [
800,
27
] | python | en | ['en', 'error', 'th'] | False |
Scatterpolargl.name | (self) |
Sets the trace name. The trace name appear as the legend item
and on hover.
The 'name' property is a string and must be specified as:
- A string
- A number that will be converted to a string
Returns
-------
str
|
Sets the trace name. The trace name appear as the legend item
and on hover.
The 'name' property is a string and must be specified as:
- A string
- A number that will be converted to a string | def name(self):
"""
Sets the trace name. The trace name appear as the legend item
and on hover.
The 'name' property is a string and must be specified as:
- A string
- A number that will be converted to a string
Returns
-------
str
... | [
"def",
"name",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"name\"",
"]"
] | [
809,
4
] | [
822,
27
] | python | en | ['en', 'error', 'th'] | False |
Scatterpolargl.opacity | (self) |
Sets the opacity of the trace.
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 opacity of the trace.
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 opacity of the trace.
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\"",
"]"
] | [
831,
4
] | [
842,
30
] | python | en | ['en', 'error', 'th'] | False |
Scatterpolargl.r | (self) |
Sets the radial coordinates
The 'r' property is an array that may be specified as a tuple,
list, numpy array, or pandas Series
Returns
-------
numpy.ndarray
|
Sets the radial coordinates
The 'r' property is an array that may be specified as a tuple,
list, numpy array, or pandas Series | def r(self):
"""
Sets the radial coordinates
The 'r' property is an array that may be specified as a tuple,
list, numpy array, or pandas Series
Returns
-------
numpy.ndarray
"""
return self["r"] | [
"def",
"r",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"r\"",
"]"
] | [
851,
4
] | [
862,
24
] | python | en | ['en', 'error', 'th'] | False |
Scatterpolargl.r0 | (self) |
Alternate to `r`. Builds a linear space of r coordinates. Use
with `dr` where `r0` is the starting coordinate and `dr` the
step.
The 'r0' property accepts values of any type
Returns
-------
Any
|
Alternate to `r`. Builds a linear space of r coordinates. Use
with `dr` where `r0` is the starting coordinate and `dr` the
step.
The 'r0' property accepts values of any type | def r0(self):
"""
Alternate to `r`. Builds a linear space of r coordinates. Use
with `dr` where `r0` is the starting coordinate and `dr` the
step.
The 'r0' property accepts values of any type
Returns
-------
Any
"""
return self["r0"] | [
"def",
"r0",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"r0\"",
"]"
] | [
871,
4
] | [
883,
25
] | python | en | ['en', 'error', 'th'] | False |
Scatterpolargl.rsrc | (self) |
Sets the source reference on Chart Studio Cloud for r .
The 'rsrc' 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 r .
The 'rsrc' property must be specified as a string or
as a plotly.grid_objs.Column object | def rsrc(self):
"""
Sets the source reference on Chart Studio Cloud for r .
The 'rsrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
"""
return self["rsrc"] | [
"def",
"rsrc",
"(",
"self",
")",
":",
"return",
"self",
"[",
"\"rsrc\"",
"]"
] | [
892,
4
] | [
903,
27
] | python | en | ['en', 'error', 'th'] | False |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.